From c0e9f66d3ccbd7729ddde671507ece3859c28704 Mon Sep 17 00:00:00 2001 From: Cecilia Stevens <63068179+ceciliastevens@users.noreply.github.com> Date: Wed, 18 Dec 2024 10:59:57 -0500 Subject: [PATCH 1/4] prep release and end support for 3.8 --- .github/workflows/build.yml | 2 +- .github/workflows/docs.yml | 2 +- CHANGELOG.md | 10 ++++++++++ CONTRIBUTING.md | 2 +- setup.py | 5 ++--- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 506cee55f..5cad2fbc8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: [3.7, 3.8, 3.9, "3.10", 3.11] + python: [3.9, "3.10", 3.11] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c52474674..6a3c10078 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v1 with: - python-version: '3.8' + python-version: '3.11' - name: Install tox run: pip install tox==3.24.1 - name: Build docs diff --git a/CHANGELOG.md b/CHANGELOG.md index 51ae8c1e6..db325deaf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 The intended audience of this file is for py42 consumers -- as such, changes that don't affect how a consumer would use the library (e.g. adding unit tests, updating documentation, etc) are not captured here. +## 1.27.3 - 2024-12-18 + +## Removed + +- Ended support for python 3.8, which is end-of-life. + +## Changed + +- Added configuration to prefix the user-agent. + ## 1.27.2 - 2024-11-27 ### Fixed diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a04e1cd6e..05d4c1c80 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -94,7 +94,7 @@ point to your virtual environment, and you should be ready to go! ## Run a full build -We use [tox](https://tox.readthedocs.io/en/latest/#) to run our build against Python 3.6, 3.7, and 3.8. When run locally, `tox` will run only against the version of python that your virtual envrionment is running, but all versions will be validated against when you [open a PR](#opening-a-pr). +We use [tox](https://tox.readthedocs.io/en/latest/#) to run our build against Python 3.9, 3.10, and 3.11. When run locally, `tox` will run only against the version of python that your virtual envrionment is running, but all versions will be validated against when you [open a PR](#opening-a-pr). To run all the unit tests, do a test build of the documentation, and check that the code meets all style requirements, simply run: diff --git a/setup.py b/setup.py index 6912bb415..dfd0d8fe1 100644 --- a/setup.py +++ b/setup.py @@ -55,10 +55,9 @@ "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: Implementation :: CPython", ], ) From 449e3de0c291c7c521f62d6b22be4f3b491cd7b2 Mon Sep 17 00:00:00 2001 From: Cecilia Stevens <63068179+ceciliastevens@users.noreply.github.com> Date: Wed, 18 Dec 2024 11:03:30 -0500 Subject: [PATCH 2/4] bump sphinx version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index dfd0d8fe1..bd0413f65 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ "tox==3.24.0", ], "docs": [ - "sphinx==4.4.0", + "sphinx==8.1.3", "myst-parser==0.17.2", "sphinx_rtd_theme==1.0.0", "docutils == 0.16", From 9fccb766d09aedf0e221b308ef19326ba81855dd Mon Sep 17 00:00:00 2001 From: Cecilia Stevens <63068179+ceciliastevens@users.noreply.github.com> Date: Wed, 18 Dec 2024 11:17:03 -0500 Subject: [PATCH 3/4] fix docs errors --- docs/conf.py | 2 +- setup.py | 6 +++--- src/py42/__version__.py | 2 +- tox.ini | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 645067369..219eafa3b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -56,7 +56,7 @@ # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +#language = None # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. diff --git a/setup.py b/setup.py index bd0413f65..ce7f0c926 100644 --- a/setup.py +++ b/setup.py @@ -44,9 +44,9 @@ ], "docs": [ "sphinx==8.1.3", - "myst-parser==0.17.2", - "sphinx_rtd_theme==1.0.0", - "docutils == 0.16", + "myst-parser==4.0.0", + "sphinx_rtd_theme==3.0.2", + "docutils == 0.21.2", ], }, classifiers=[ diff --git a/src/py42/__version__.py b/src/py42/__version__.py index 2e7840be8..3b3b99dd6 100644 --- a/src/py42/__version__.py +++ b/src/py42/__version__.py @@ -1,3 +1,3 @@ # py42 -__version__ = "1.27.2" +__version__ = "1.27.3" diff --git a/tox.ini b/tox.ini index dc2ce202b..aad002bff 100644 --- a/tox.ini +++ b/tox.ini @@ -23,10 +23,10 @@ commands = [testenv:docs] deps = - sphinx == 4.4.0 - myst-parser == 0.17.2 - sphinx_rtd_theme == 1.0.0 - docutils == 0.16 + sphinx == 8.1.3 + myst-parser == 4.0.0 + sphinx_rtd_theme == 3.0.2 + docutils == 0.21.2 whitelist_externals = bash From e1a61c985a8964837d3a52a9d6070951492d588a Mon Sep 17 00:00:00 2001 From: Cecilia Stevens <63068179+ceciliastevens@users.noreply.github.com> Date: Wed, 18 Dec 2024 11:18:58 -0500 Subject: [PATCH 4/4] style --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 219eafa3b..d1653fa6a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -56,7 +56,7 @@ # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -#language = None +# language = None # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files.