Skip to content

Commit 7b84d0c

Browse files
authored
Merge pull request #18 from bird-house/python3.13
2 parents 6772e8b + 9465a4a commit 7b84d0c

File tree

5 files changed

+45
-9
lines changed

5 files changed

+45
-9
lines changed

.github/workflows/publish.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish PyPI
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish-pypi:
9+
if: startsWith(github.ref, 'refs/tags/')
10+
runs-on: ubuntu-latest
11+
permissions:
12+
id-token: write # trusted publishing
13+
environment:
14+
name: pypi
15+
url: https://pypi.org/p/threddsclient
16+
steps:
17+
- name: Checkout Repository
18+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
19+
- name: Set up Python
20+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
21+
with:
22+
python-version: "3.x"
23+
- name: Setup Packages
24+
run: pip install -U build twine
25+
- name: Run Build
26+
run: python3 -m build
27+
- name: Publish package distributions to PyPI
28+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
29+

.github/workflows/tests.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,17 @@ jobs:
3232
matrix:
3333
os: [ubuntu-latest]
3434
python-version:
35-
- "3.7"
3635
- "3.8"
3736
- "3.9"
3837
- "3.10"
3938
- "3.11"
4039
- "3.12"
40+
- "3.13"
41+
- "3.14"
4142
test-case: [tests]
4243
include:
43-
- os: ubuntu-20.04
44-
python-version: "3.6"
45-
test-case: tests
4644
- os: ubuntu-latest
47-
python-version: "3.10"
45+
python-version: "3.13"
4846
test-case: linting
4947
steps:
5048
- uses: actions/checkout@v3

CHANGES.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ Changes
55
`Unreleased <https://github.com/bird-house/threddsclient/tree/master>`_
66
==========================================================================================
77

8-
* Nothing new for the moment.
8+
* Add `url` and `download_url` to project setup for reference by PyPI package.
9+
* Add Python 3.13 and 3.14 to CI and project.
10+
* Update default Python 3.13 in CI for tests.
11+
* Remove Python 3.6 and 3.7 from CI.
912

1013
.. _changes_0.4.6:
1114

requirements-sys.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
pip>=23; python_version>="3.8"
2-
setuptools>=65.5.1; python_version>="3.8"
1+
packaging>=22
2+
pip>=25
3+
setuptools==75.3.2; python_version == "3.8"
4+
setuptools>=78.1.1; python_version >= "3.9"

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
'Programming Language :: Python :: 3.10',
2626
'Programming Language :: Python :: 3.11',
2727
'Programming Language :: Python :: 3.12',
28+
'Programming Language :: Python :: 3.13',
29+
'Programming Language :: Python :: 3.14',
2830
'Programming Language :: Python :: 3 :: Only',
2931
'Topic :: Scientific/Engineering :: Atmospheric Science',
3032
]
@@ -37,10 +39,12 @@
3739
classifiers=classifiers,
3840
author='Birdhouse',
3941
email='',
42+
url='https://github.com/bird-house/threddsclient',
43+
download_url='https://github.com/bird-house/threddsclient',
4044
license='Apache 2.0',
4145
packages=find_packages(),
4246
include_package_data=True,
4347
zip_safe=False,
4448
install_requires=reqs,
45-
python_requires=">=3.8,<3.13",
49+
python_requires=">=3.8,<4",
4650
)

0 commit comments

Comments
 (0)