Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish PyPI

on:
release:
types: [published]

jobs:
publish-pypi:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
permissions:
id-token: write # trusted publishing
environment:
name: pypi
url: https://pypi.org/p/threddsclient
steps:
- name: Checkout Repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Set up Python
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: "3.x"
- name: Setup Packages
run: pip install -U build twine
- name: Run Build
run: python3 -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0

8 changes: 3 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,17 @@ jobs:
matrix:
os: [ubuntu-latest]
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
test-case: [tests]
include:
- os: ubuntu-20.04
python-version: "3.6"
test-case: tests
- os: ubuntu-latest
python-version: "3.10"
python-version: "3.13"
test-case: linting
steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 4 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ Changes
`Unreleased <https://github.com/bird-house/threddsclient/tree/master>`_
==========================================================================================

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

.. _changes_0.4.6:

Expand Down
6 changes: 4 additions & 2 deletions requirements-sys.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
pip>=23; python_version>="3.8"
setuptools>=65.5.1; python_version>="3.8"
packaging>=22
pip>=25
setuptools==75.3.2; python_version == "3.8"
setuptools>=78.1.1; python_version >= "3.9"
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Scientific/Engineering :: Atmospheric Science',
]
Expand All @@ -37,10 +39,12 @@
classifiers=classifiers,
author='Birdhouse',
email='',
url='https://github.com/bird-house/threddsclient',
download_url='https://github.com/bird-house/threddsclient',
license='Apache 2.0',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=reqs,
python_requires=">=3.8,<3.13",
python_requires=">=3.8,<4",
)