added support for python 3.13

This commit is contained in:
Tobias Wellnitz, DH1TW 2025-03-02 00:07:00 +01:00
parent ac444fa36b
commit 940c0f072c
6 changed files with 73 additions and 66 deletions

View file

@ -3,7 +3,7 @@ name: Linux
on: [push, pull_request]
jobs:
test_linux:
test_linux_legacy:
# Ubuntu 20.04 is still required for python 3.6; this doesn't work on Ubuntu 22.04 anymore
runs-on: "ubuntu-20.04"
name: "Ubuntu 20.04 - Python ${{ matrix.python-version }}"
@ -48,7 +48,7 @@ jobs:
sleep $[ ( $RANDOM % 10 ) + 1 ]s
pytest ./test
test_linux_ubuntu_22:
test_linux:
runs-on: "ubuntu-22.04"
name: "Ubuntu 22.04 - Python ${{ matrix.python-version }}"
env:
@ -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.8", "pypy3.9", "pypy3.10"]
redis-version: [6]
steps:
@ -121,7 +121,7 @@ jobs:
name: "MacOS 12 - Python ${{ matrix.python-version }}"
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.8", "pypy3.9", "pypy3.10"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.8", "pypy3.9", "pypy3.10"]
redis-version: [6]
steps:
@ -165,7 +165,7 @@ jobs:
strategy:
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: "actions/checkout@v3"

View file

@ -1,6 +1,13 @@
Changelog
---------
PyHamtools 0.11.0
================
02. March 2025
* added support for Python 3.13
PyHamtools 0.10.0
================

View file

@ -1,3 +1,3 @@
VERSION = (0, 10, 0)
VERSION = (0, 11, 0)
__release__ = ''.join(['-.'[type(x) == int]+str(x) for x in VERSION])[1:]
__version__ = '.'.join((str(VERSION[0]), str(VERSION[1])))

View file

@ -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

View file

@ -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
}

View file

@ -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,
}