From 34ee2efed45bab7be9db79fe5797b3c6fd689ce6 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Thu, 24 Oct 2024 16:43:52 +0100 Subject: [PATCH 1/4] retire python 3.8 and add support for 3.13 --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 132d31f..28a59d7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] fail-fast: false name: Python ${{ matrix.python-version }} steps: From 3c10159d0fef203163e39dcb78fb6d1c890aa355 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Thu, 24 Oct 2024 16:50:59 +0100 Subject: [PATCH 2/4] inspect environment --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 28a59d7..0041f84 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,6 +38,8 @@ jobs: - run: python -V - name: Install 📦 run: pip install -e .[develop] + - name: Inspect environment + run: conda list - name: Lint with flake8 ⚙️ run: flake8 - name: Run tests From e13000a773bf5ab7a8e1f78be140123f8daba351 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Mon, 28 Oct 2024 12:10:29 +0000 Subject: [PATCH 3/4] pin webob and retire 3.8 --- environment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/environment.yml b/environment.yml index f2dc09b..ff71344 100644 --- a/environment.yml +++ b/environment.yml @@ -7,12 +7,12 @@ channels: dependencies: # installation - pip - - python>=3.8 + - python >=3.9 - requests - requests_cache - jinja2 - defusedxml - - webob + - webob >=1.8.9 # Python 3.13 support - myproxyclient >=2.1.1 # testing - flake8 From d57a389428763f64078954f8ca48565f139f8c35 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Mon, 28 Oct 2024 12:10:40 +0000 Subject: [PATCH 4/4] retire 3.8 --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index f44c3d5..6e0eb12 100644 --- a/setup.py +++ b/setup.py @@ -28,11 +28,11 @@ 'Topic :: Scientific/Engineering', "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers keywords='', @@ -42,7 +42,7 @@ download_url='https://github.com/ESGF/esgf-pyclient', license='BSD', # This qualifier can be used to selectively exclude Python versions - python_requires=">=3.8.0", + python_requires=">=3.9.0", packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, zip_safe=False,