From ca3ace1f34ec317b28cd3366304c4d17736ae1ac Mon Sep 17 00:00:00 2001 From: "Tobias Wellnitz, DH1TW" Date: Sat, 1 Mar 2025 22:42:04 +0100 Subject: [PATCH] support 3.13 --- .github/workflows/test.yml | 2 +- setup.py | 2 +- test/test_callinfo.py | 22 +++++++++++----------- test/test_lookuplib_clublogxml.py | 10 +++++----- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bfa2430..a4695fe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,7 +56,7 @@ jobs: strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.7", "pypy3.8", "pypy3.9", "pypy3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.7", "pypy3.8", "pypy3.9", "pypy3.10"] redis-version: [6] steps: diff --git a/setup.py b/setup.py index 68ade0f..b12e880 100755 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ setup(name='pyhamtools', "requests>=2.21.0", "ephem>=4.1.3", "beautifulsoup4>=4.7.1", - "lxml>=4.8.0,<5.0.0", + "lxml>=5.0.0", "redis>=2.10.6", ], **kw diff --git a/test/test_callinfo.py b/test/test_callinfo.py index 2d20541..3c7c672 100644 --- a/test/test_callinfo.py +++ b/test/test_callinfo.py @@ -90,12 +90,12 @@ response_prefix_VK9DWX_clublog = { } response_prefix_VK9DLX_clublog = { - u'adif': 147, + u'adif': 189, u'continent': u'OC', - u'country': u'LORD HOWE ISLAND', - u'cqz': 30, - u'latitude': -31.6, - u'longitude': 159.1 + u'country': u'NORFOLK ISLAND', + u'cqz': 32, + u'latitude': -29.0, + u'longitude': 168.0 } response_prefix_TA7I_clublog = { @@ -126,13 +126,13 @@ response_prefix_V26K_clublog = { } response_prefix_VK9DLX_countryfile = { - u'adif': 147, + u'adif': 189, u'continent': u'OC', - u'country': u'Lord Howe Island', - u'cqz': 30, + u'country': u'Norfolk Island', + u'cqz': 32, u'ituz': 60, - u'latitude': -31.55, - u'longitude': 159.08 + u'latitude': -29.03, + u'longitude': 167.93 } response_prefix_VK9GMW_clublog = { @@ -195,7 +195,7 @@ response_Exception_VK9XO_with_start_date = { 'country': 'CHRISTMAS ISLAND', 'continent': 'OC', 'latitude': -10.48, - 'longitude': 105.71, + 'longitude': 105.62, 'cqz': 29 } diff --git a/test/test_lookuplib_clublogxml.py b/test/test_lookuplib_clublogxml.py index 5241729..3e32afb 100644 --- a/test/test_lookuplib_clublogxml.py +++ b/test/test_lookuplib_clublogxml.py @@ -25,8 +25,8 @@ response_Exception_KC6MM_1990 = { 'adif': 22, 'country': u'PALAU', 'continent': u'OC', - 'latitude': 9.50, - 'longitude': 138.20, + 'latitude': 9.52, + 'longitude': 138.21, 'cqz': 27, } @@ -34,8 +34,8 @@ response_Exception_KC6MM_1992 = { 'adif': 22, 'country': u'PALAU', 'continent': u'OC', - 'latitude': 9.50, - 'longitude': 138.20, + 'latitude': 9.52, + 'longitude': 138.21, 'cqz': 27, } @@ -53,7 +53,7 @@ response_Exception_VK9XO_with_start_date = { 'country': u'CHRISTMAS ISLAND', 'continent': u'OC', 'latitude': -10.48, - 'longitude': 105.71, + 'longitude': 105.62, 'cqz': 29, }