From 4538ef1b7409006a0d42f5f7d389dc0863b8acc4 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 21 Dec 2023 11:14:49 -0500 Subject: [PATCH 01/39] move linter dependencies to pyproject.toml --- pyproject.toml | 4 ++++ tox.ini | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3e56976..cb55989 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,6 +36,10 @@ dependencies = [ "stevedore", ] +[project.optional-dependencies] +linter = [ + "flake8", +] # https://github.com/pypa/setuptools_scm/ [tool.setuptools_scm] write_to = "virtualenvwrapper/version.py" diff --git a/tox.ini b/tox.ini index ab01679..8305b6a 100644 --- a/tox.ini +++ b/tox.ini @@ -20,7 +20,7 @@ setenv = FAIL_FAST = true [testenv:style] -deps = flake8 +deps = .[linter] commands = flake8 virtualenvwrapper docs/source/conf.py [testenv:zsh] From 8d01e819aa822b237f23ebbab690e7d2d304ac9e Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 21 Dec 2023 11:15:05 -0500 Subject: [PATCH 02/39] move build dependencies to pyproject.toml --- pyproject.toml | 6 ++++++ tox.ini | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cb55989..9da53ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,6 +40,12 @@ dependencies = [ linter = [ "flake8", ] +build = [ + "build", + "twine", + "check-python-versions", +] + # https://github.com/pypa/setuptools_scm/ [tool.setuptools_scm] write_to = "virtualenvwrapper/version.py" diff --git a/tox.ini b/tox.ini index 8305b6a..10187c2 100644 --- a/tox.ini +++ b/tox.ini @@ -38,10 +38,7 @@ commands = sphinx-build -W -j auto -b linkcheck -d docs/build/doctrees docs/source docs/build/linkcheck [testenv:pkglint] -deps= - build - twine - check-python-versions +deps=.[build] commands= python -m build twine check dist/*.tar.gz dist/*.whl From 4052c58d66fbc3d1b757e6f80bfad29820aec32d Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 21 Dec 2023 11:15:20 -0500 Subject: [PATCH 03/39] fix the way packages are built in the public workflow --- .github/workflows/python-publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index 3a33b00..07cd061 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -24,10 +24,10 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel twine pbr + pip install .[build] - name: Build sdist and wheel run: | - python setup.py sdist bdist_wheel + python -m build - name: Publish distribution to PyPI # This condition prevents PRs from being published as part of # the test job. From 0ef778b1450fd7edd44df0ba680406bf29e1bfd8 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 21 Dec 2023 11:19:45 -0500 Subject: [PATCH 04/39] test python 3.12 on macos --- .github/workflows/test.yml | 1 + .mergify.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fdf092d..74b0237 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -77,6 +77,7 @@ jobs: - 3.9 - "3.10" - "3.11" + - "3.12" steps: - uses: actions/checkout@v4 diff --git a/.mergify.yml b/.mergify.yml index 390f4eb..d898af4 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -81,6 +81,7 @@ pull_request_rules: - "check-success=Test macOS (3.9)" - "check-success=Test macOS (3.10)" - "check-success=Test macOS (3.11)" + - "check-success=Test macOS (3.12)" - "check-success=Test Ubuntu (3.8)" - "check-success=Test Ubuntu (3.9)" - "check-success=Test Ubuntu (3.10)" From 9856c87aff74e6c9b6647faf2ee37f9cb2e31bef Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 21 Dec 2023 12:10:22 -0500 Subject: [PATCH 05/39] update release notes for 6.0.0.0a5 --- docs/source/history.rst | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/source/history.rst b/docs/source/history.rst index 0d46a23..9d3e0cc 100644 --- a/docs/source/history.rst +++ b/docs/source/history.rst @@ -1,11 +1,18 @@ CHANGES ======= -Unreleased ----------- +6.0.0.0a5 +--------- * add a --version option to the hook loader * modernize packaging +* docs: update requirements for build on rtd +* docs: add read the docs configuration file +* Changed workon's env switching to use OR not $? by @Nealium (pull request #59) +* Fix issues for python 3.12 by @parona-source (pull request #68) +* Fix shell completion on FreeBSD by @bendikro (pull request #86) +* add python 3.12 to test matrix +* Improve error message for IOErrors by @kerel-fs (pull request #81) 6.0.0.0a1 --------- From 54ee48a6d267ffc91da4bc3fd8e88a877a8a7d43 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 27 Dec 2023 12:37:29 -0500 Subject: [PATCH 06/39] update test declaration in readme --- README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.txt b/README.txt index 415130e..6cd1554 100644 --- a/README.txt +++ b/README.txt @@ -61,7 +61,7 @@ we will link to it from this page. Python Versions =============== -virtualenvwrapper is tested under Python 3.8 - 3.11. +virtualenvwrapper is tested under Python 3.8 - 3.12 on macOS and Linux. ======= Support From d25845365351d63ea3e485dbf9dee0bd30133127 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sat, 27 Jan 2024 14:43:32 -0500 Subject: [PATCH 07/39] source project_dir/.virtualenvwrapper/postactivate during activation --- virtualenvwrapper/project.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/virtualenvwrapper/project.py b/virtualenvwrapper/project.py index 51ec50b..c0f6439 100644 --- a/virtualenvwrapper/project.py +++ b/virtualenvwrapper/project.py @@ -58,4 +58,9 @@ def post_activate_source(args): -a "$VIRTUALENVWRAPPER_PROJECT_CD" = 1 ] && \ virtualenvwrapper_cd \ "$(cat \"$VIRTUAL_ENV/$VIRTUALENVWRAPPER_PROJECT_FILENAME\")" +if [ -f "$VIRTUAL_ENV/$VIRTUALENVWRAPPER_PROJECT_FILENAME" ]; then + if [ -f "$(cat \"$VIRTUAL_ENV/$VIRTUALENVWRAPPER_PROJECT_FILENAME\")/.virtualenvwrapper/postactivate" ]; then + source "$(cat \"$VIRTUAL_ENV/$VIRTUALENVWRAPPER_PROJECT_FILENAME\")/.virtualenvwrapper/postactivate" + fi +fi """ From 427c4665d7de8e0edbf0732fb69f3bf381db5372 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sat, 27 Jan 2024 14:44:36 -0500 Subject: [PATCH 08/39] source project-dir/.virtualenvwrapper/predeactivate when deactivating --- pyproject.toml | 1 + virtualenvwrapper/project.py | 12 +++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9da53ba..8223276 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,6 +93,7 @@ project = "virtualenvwrapper.project:post_activate_source" user_scripts = "virtualenvwrapper.user_scripts:post_activate_source" [project.entry-points."virtualenvwrapper.pre_deactivate_source"] +project = "virtualenvwrapper.project:pre_deactivate_source" user_scripts = "virtualenvwrapper.user_scripts:pre_deactivate_source" [project.entry-points."virtualenvwrapper.post_deactivate_source"] diff --git a/virtualenvwrapper/project.py b/virtualenvwrapper/project.py index c0f6439..a255081 100644 --- a/virtualenvwrapper/project.py +++ b/virtualenvwrapper/project.py @@ -8,7 +8,7 @@ import logging import os -from virtualenvwrapper.user_scripts import make_hook, run_global, PERMISSIONS +from virtualenvwrapper.user_scripts import PERMISSIONS, make_hook, run_global log = logging.getLogger(__name__) @@ -64,3 +64,13 @@ def post_activate_source(args): fi fi """ + + +def pre_deactivate_source(args): + return """ +if [ -f "$VIRTUAL_ENV/$VIRTUALENVWRAPPER_PROJECT_FILENAME" ]; then + if [ -f "$(cat \"$VIRTUAL_ENV/$VIRTUALENVWRAPPER_PROJECT_FILENAME\")/.virtualenvwrapper/predeactivate" ]; then + source "$(cat \"$VIRTUAL_ENV/$VIRTUALENVWRAPPER_PROJECT_FILENAME\")/.virtualenvwrapper/predeactivate" + fi +fi +""" From 6302c43f48b4dd208e5d940b618089ad0ca1d765 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sat, 27 Jan 2024 14:44:56 -0500 Subject: [PATCH 09/39] document project hook directories --- docs/source/projects.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/source/projects.rst b/docs/source/projects.rst index d5f6e63..d8e5c84 100644 --- a/docs/source/projects.rst +++ b/docs/source/projects.rst @@ -31,6 +31,22 @@ site, combine the :ref:`templates-bitbucket` and $ mkproject -t bitbucket -t django my_site +Project Hook Files +================== + +The project directory can include additional hook files for the +`postactivate` and `predeactivate` hooks. Placing hook scripts in the +project hook directory, `.virtualenvwrapper`, allows them to be +checked into version control and shared more easily. + +When the :ref:`scripts-postactivate` hook runs, it looks for +`.virtualenvwrapper/postactivate` within the project directory and if +it is found it sources the file. + +When the :ref:`scripts-predeactivate` hook runs, it looks for +`.virtualenvwrapper/predeactivate` within the project directory and if +it is found it sources the file. + .. seealso:: * :ref:`extensions-templates` From 4fa1041eea7b3dc5a571d866fb620c0b965b23a1 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sat, 27 Jan 2024 14:52:48 -0500 Subject: [PATCH 10/39] add test for project hook scripts --- tests/test_project.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tests/test_project.sh b/tests/test_project.sh index 6f2c576..10cb53e 100755 --- a/tests/test_project.sh +++ b/tests/test_project.sh @@ -52,4 +52,24 @@ test_virtualenvwrapper_verify_project_home_missing_dir() { PROJECT_HOME="$old_home" } +test_virtualenvwrapper_postactivate_hook() { + load_wrappers + mkproject "test_project_hook" + mkdir .virtualenvwrapper + echo "export TEST_PROJECT_HOOK_VAR=true" > .virtualenvwrapper/postactivate + echo "unset TEST_PROJECT_HOOK_VAR" > .virtualenvwrapper/predeactivate + deactivate + + # Variable should not be set to start + assertSame "${TEST_PROJECT_HOOK_VAR}" "" + + # Activating the env should set it + workon "test_project_hook" + assertSame "true" "${TEST_PROJECT_HOOK_VAR}" + + # Deactivating should unset it + deactivate + assertSame "" "${TEST_PROJECT_HOOK_VAR}" +} + . "$test_dir/shunit2" From 707921dabd62c7b6cb41e0c05d012e6772a3ad79 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sat, 27 Jan 2024 14:54:20 -0500 Subject: [PATCH 11/39] add release note --- docs/source/history.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/source/history.rst b/docs/source/history.rst index 9d3e0cc..368d8d8 100644 --- a/docs/source/history.rst +++ b/docs/source/history.rst @@ -1,6 +1,12 @@ CHANGES ======= +Next +---- + +* Look for `./.virtualenvwrapper/postactivate` and + `./.virtualenvwrapper/predeactivate` hook scripts. + 6.0.0.0a5 --------- From e07db6a74af286c8b909d2931f1dea0dd3ad3a80 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sat, 27 Jan 2024 14:58:44 -0500 Subject: [PATCH 12/39] configure linter to allow longer lines --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index 10187c2..5c4abe9 100644 --- a/tox.ini +++ b/tox.ini @@ -23,6 +23,9 @@ setenv = deps = .[linter] commands = flake8 virtualenvwrapper docs/source/conf.py +[flake8] +max-line-length = 200 + [testenv:zsh] setenv = USING_TOX = 1 From f482fab287b4c7dee1f1beeb5ed5859e56a16096 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sun, 28 Jan 2024 16:21:33 -0500 Subject: [PATCH 13/39] remove link to broken amazon.com page --- docs/source/design.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/source/design.rst b/docs/source/design.rst index d5eb387..c77e704 100644 --- a/docs/source/design.rst +++ b/docs/source/design.rst @@ -163,14 +163,12 @@ what virtualenvwrapper is doing, it's a natural fit. .. seealso:: - * `Advanced Programming in the UNIX Environment`_ by W. Richard + * *Advanced Programming in the UNIX Environment* by W. Richard Stevens & Stephen A. Rago * `Fork (operating system)`_ on Wikipedia * `Environment variable`_ on Wikipedia * `Linux implementation of fork()`_ -.. _Advanced Programming in the UNIX Environment: https://www.amazon.com/gp/product/0321637739/ref=as_li_ss_tl?ie=UTF8&camp=1789&creative=390957&creativeASIN=0321637739&linkCode=as2&tag=hellflynet-20 - .. _Fork (operating system): https://en.wikipedia.org/wiki/Fork_(operating_system) .. _Environment variable: https://en.wikipedia.org/wiki/Environment_variable From 4bb9bcd3a7cb8695638c2c8c808ce3ff993a3051 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sun, 28 Jan 2024 16:21:50 -0500 Subject: [PATCH 14/39] prepare 6.1.0 release details --- docs/source/history.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/source/history.rst b/docs/source/history.rst index 368d8d8..df6b5cf 100644 --- a/docs/source/history.rst +++ b/docs/source/history.rst @@ -1,11 +1,12 @@ CHANGES ======= -Next ----- +6.1.0 +----- * Look for `./.virtualenvwrapper/postactivate` and - `./.virtualenvwrapper/predeactivate` hook scripts. + `./.virtualenvwrapper/predeactivate` hook scripts. Same effect as + :ref:`scripts-postactivate` and :ref:`scripts-predeactivate`. 6.0.0.0a5 --------- From b5e0ad9cef8117eb3c62d312e4b3d54e4903db1f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Mar 2024 19:48:27 +0000 Subject: [PATCH 15/39] Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.11 to 1.8.12. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.11...v1.8.12) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index 07cd061..7d3475b 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -32,7 +32,7 @@ jobs: # This condition prevents PRs from being published as part of # the test job. if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.8.11 + uses: pypa/gh-action-pypi-publish@v1.8.12 with: password: ${{ secrets.PYPI_API_TOKEN }} verbose: true From 12367768ed6d4df6e988dff4d016a57e86fa57bb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Mar 2024 19:44:15 +0000 Subject: [PATCH 16/39] Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.12 to 1.8.14. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.12...v1.8.14) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index 7d3475b..e2a6bb2 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -32,7 +32,7 @@ jobs: # This condition prevents PRs from being published as part of # the test job. if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.8.12 + uses: pypa/gh-action-pypi-publish@v1.8.14 with: password: ${{ secrets.PYPI_API_TOKEN }} verbose: true From f5592c822958a7acdfc53360435769ce52da027c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 20:00:01 +0000 Subject: [PATCH 17/39] Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.14 to 1.9.0. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.14...v1.9.0) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index e2a6bb2..759d0be 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -32,7 +32,7 @@ jobs: # This condition prevents PRs from being published as part of # the test job. if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.8.14 + uses: pypa/gh-action-pypi-publish@v1.9.0 with: password: ${{ secrets.PYPI_API_TOKEN }} verbose: true From cd45c41cfe8c7e4d643e6cb92bb9b4b454924f9c Mon Sep 17 00:00:00 2001 From: Benjamin Mundt Date: Thu, 11 Jul 2024 12:33:04 -0400 Subject: [PATCH 18/39] make sure virtualenvwrapper_cd always tries to do something, even when it cannot infer the current shell --- virtualenvwrapper.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/virtualenvwrapper.sh b/virtualenvwrapper.sh index 66f0f07..4ed4de8 100644 --- a/virtualenvwrapper.sh +++ b/virtualenvwrapper.sh @@ -117,12 +117,11 @@ fi # cd because we are trying to change the state of the current shell, # so we use "builtin". function virtualenvwrapper_cd { - if [ -n "${BASH:-}" ] - then - builtin \cd "$@" - elif [ -n "${ZSH_VERSION:-}" ] + if [ -n "${ZSH_VERSION:-}" ] then builtin \cd -q "$@" + else + builtin \cd "$@" fi } From 5130800aa08bae35f023d5dcfe1093761b100357 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Sep 2024 19:46:20 +0000 Subject: [PATCH 19/39] Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.0 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.9.0 to 1.10.0. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.9.0...v1.10.0) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index 759d0be..f5aeddc 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -32,7 +32,7 @@ jobs: # This condition prevents PRs from being published as part of # the test job. if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.9.0 + uses: pypa/gh-action-pypi-publish@v1.10.0 with: password: ${{ secrets.PYPI_API_TOKEN }} verbose: true From db4903f0536c5093559c7b8a9847faf82748565f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 19:21:12 +0000 Subject: [PATCH 20/39] Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.1 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.10.0 to 1.10.1. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.0...v1.10.1) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index f5aeddc..a63174e 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -32,7 +32,7 @@ jobs: # This condition prevents PRs from being published as part of # the test job. if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.10.0 + uses: pypa/gh-action-pypi-publish@v1.10.1 with: password: ${{ secrets.PYPI_API_TOKEN }} verbose: true From 699d78610695b6bc18fd18f2270b668a221afac4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Sep 2024 19:51:33 +0000 Subject: [PATCH 21/39] Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.2 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.10.1 to 1.10.2. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.1...v1.10.2) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index a63174e..d002043 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -32,7 +32,7 @@ jobs: # This condition prevents PRs from being published as part of # the test job. if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.10.1 + uses: pypa/gh-action-pypi-publish@v1.10.2 with: password: ${{ secrets.PYPI_API_TOKEN }} verbose: true From 7f54a54a4919fcddbc2467689f96960515a28957 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sun, 13 Oct 2024 17:11:15 -0400 Subject: [PATCH 22/39] remove hyperlink to msys project page Sourceforge returns 403 during our documentation build if we use a real hyperlink with the link-checker enabled. Replace the hyperlink with inline text to the same URL. --- docs/source/install.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/source/install.rst b/docs/source/install.rst index c7429dd..8b05549 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -54,10 +54,9 @@ or:: export MSYS_HOME=C:\msys\1.0 source /usr/local/bin/virtualenvwrapper.sh -Depending on your MSYS setup, you may need to install the `MSYS mktemp -binary`_ in the ``MSYS_HOME/bin`` folder. - -.. _MSYS mktemp binary: https://sourceforge.net/projects/mingw/files/MSYS/ +Depending on your MSYS setup, you may need to install the MSYS mktemp binary +(``https://sourceforge.net/projects/mingw/files/MSYS/``) in the +``MSYS_HOME/bin`` folder. PowerShell ---------- From f0d683fce3e3938b4366e0c4c921b0a593c08d5e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 19:36:56 +0000 Subject: [PATCH 23/39] Bump pypa/gh-action-pypi-publish from 1.10.2 to 1.10.3 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.10.2 to 1.10.3. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.2...v1.10.3) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index d002043..d1ef8f5 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -32,7 +32,7 @@ jobs: # This condition prevents PRs from being published as part of # the test job. if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.10.2 + uses: pypa/gh-action-pypi-publish@v1.10.3 with: password: ${{ secrets.PYPI_API_TOKEN }} verbose: true From 97b7043f94ff465528e4baa5d981d101d9d8c894 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sun, 13 Oct 2024 17:25:12 -0400 Subject: [PATCH 24/39] move linkcheck out of main doc build Running linkcheck from github actions causes too many issues with rate limiting or bot-protected sites. Disable it. --- tox.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tox.ini b/tox.ini index 5c4abe9..f4ce1b6 100644 --- a/tox.ini +++ b/tox.ini @@ -38,6 +38,11 @@ deps = -r{toxinidir}/docs/requirements.txt commands = sphinx-build -W -j auto -b html -d docs/build/doctrees docs/source docs/build/html + +[testenv:linkcheck] +deps = + -r{toxinidir}/docs/requirements.txt +commands = sphinx-build -W -j auto -b linkcheck -d docs/build/doctrees docs/source docs/build/linkcheck [testenv:pkglint] From 6313fd37a728cca85f6a2320c52dacc5d200b30c Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Sun, 13 Oct 2024 17:26:03 -0400 Subject: [PATCH 25/39] Revert "remove hyperlink to msys project page" This reverts commit 7f54a54a4919fcddbc2467689f96960515a28957. --- docs/source/install.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/source/install.rst b/docs/source/install.rst index 8b05549..c7429dd 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -54,9 +54,10 @@ or:: export MSYS_HOME=C:\msys\1.0 source /usr/local/bin/virtualenvwrapper.sh -Depending on your MSYS setup, you may need to install the MSYS mktemp binary -(``https://sourceforge.net/projects/mingw/files/MSYS/``) in the -``MSYS_HOME/bin`` folder. +Depending on your MSYS setup, you may need to install the `MSYS mktemp +binary`_ in the ``MSYS_HOME/bin`` folder. + +.. _MSYS mktemp binary: https://sourceforge.net/projects/mingw/files/MSYS/ PowerShell ---------- From a90627ff95f7b6a11bb0aa2969c678ea50ab498f Mon Sep 17 00:00:00 2001 From: LaosLos Date: Sun, 13 Oct 2024 15:39:12 +0200 Subject: [PATCH 26/39] Update mkvirtualenv help to document -p/--python option --- virtualenvwrapper.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/virtualenvwrapper.sh b/virtualenvwrapper.sh index 66f0f07..2fc749d 100644 --- a/virtualenvwrapper.sh +++ b/virtualenvwrapper.sh @@ -391,6 +391,12 @@ function virtualenvwrapper_mkvirtualenv_help { echo echo " Provide a pip requirements file to install a base set of packages" echo " into the new environment." + echo + echo " -p python_interpreter, --python=python_interpreter" + echo + echo " The Python interpreter to use for the new environment." + echo " This can be specified as -p python3.8 or --python=/path/to/python" + echo echo; echo 'virtualenv help:'; echo; From 389ae9b74acdcbefdc44ae1ca7358b240ee312fc Mon Sep 17 00:00:00 2001 From: LaosLos Date: Sun, 13 Oct 2024 16:50:25 +0200 Subject: [PATCH 27/39] Add additional line to mkvirtualenv help --- virtualenvwrapper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtualenvwrapper.sh b/virtualenvwrapper.sh index 2fc749d..7527c64 100644 --- a/virtualenvwrapper.sh +++ b/virtualenvwrapper.sh @@ -375,7 +375,7 @@ function virtualenvwrapper_verify_active_environment { # Help text for mkvirtualenv function virtualenvwrapper_mkvirtualenv_help { - echo "Usage: mkvirtualenv [-a project_path] [-i package] [-r requirements_file] [virtualenv options] env_name" + echo "Usage: mkvirtualenv [-a project_path] [-i package] [-r requirements_file] [-p python_interpreter] [virtualenv options] env_name" echo echo " -a project_path" echo From 6d2f60371e30e29bbe79d4d98a55e71644f16e49 Mon Sep 17 00:00:00 2001 From: LaosLos Date: Sun, 13 Oct 2024 20:17:05 +0200 Subject: [PATCH 28/39] Update broken MSYS link in installation documentation --- docs/source/install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/install.rst b/docs/source/install.rst index c7429dd..4af1f06 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -57,7 +57,7 @@ or:: Depending on your MSYS setup, you may need to install the `MSYS mktemp binary`_ in the ``MSYS_HOME/bin`` folder. -.. _MSYS mktemp binary: https://sourceforge.net/projects/mingw/files/MSYS/ +.. _MSYS mktemp binary: https://sourceforge.net/projects/mingw/files/MSYS/Extension/mktemp/ PowerShell ---------- From 5f6734aa3e864701b00af6c7e1675db256a0e10c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Nov 2024 19:15:56 +0000 Subject: [PATCH 29/39] Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.11.0 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.10.3 to 1.11.0. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.3...v1.11.0) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index d1ef8f5..fcdda6e 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -32,7 +32,7 @@ jobs: # This condition prevents PRs from being published as part of # the test job. if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.10.3 + uses: pypa/gh-action-pypi-publish@v1.11.0 with: password: ${{ secrets.PYPI_API_TOKEN }} verbose: true From 07b347a3b423ae975cc8eb0b98e736bf509aa1a6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Nov 2024 19:20:34 +0000 Subject: [PATCH 30/39] Bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.11.0 to 1.12.2. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.11.0...v1.12.2) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index fcdda6e..cf55fbb 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -32,7 +32,7 @@ jobs: # This condition prevents PRs from being published as part of # the test job. if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.11.0 + uses: pypa/gh-action-pypi-publish@v1.12.2 with: password: ${{ secrets.PYPI_API_TOKEN }} verbose: true From 8191aea2e6e095906b827323855c90c3b3838fe4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 19:12:33 +0000 Subject: [PATCH 31/39] Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.12.2 to 1.12.3. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.2...v1.12.3) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index cf55fbb..a9ba732 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -32,7 +32,7 @@ jobs: # This condition prevents PRs from being published as part of # the test job. if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.12.2 + uses: pypa/gh-action-pypi-publish@v1.12.3 with: password: ${{ secrets.PYPI_API_TOKEN }} verbose: true From e3d247c37d46ec474979ce43074488246289760c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 27 Jan 2025 19:04:20 +0000 Subject: [PATCH 32/39] Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.12.3 to 1.12.4. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.3...v1.12.4) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index a9ba732..7012340 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -32,7 +32,7 @@ jobs: # This condition prevents PRs from being published as part of # the test job. if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.12.3 + uses: pypa/gh-action-pypi-publish@v1.12.4 with: password: ${{ secrets.PYPI_API_TOKEN }} verbose: true From fc044b3a18e755ddcfe442d51d709b270c97e7ff Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Mon, 31 Mar 2025 10:50:28 -0400 Subject: [PATCH 33/39] Explicitly configure readthedocs conf.py path RTD made a change that now requires it: https://about.readthedocs.com/blog/2024/12/deprecate-config-files-without-sphinx-or-mkdocs-config/ --- .readthedocs.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 67875cf..fba7a7d 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,5 +1,8 @@ version: 2 +sphinx: + configuration: docs/source/conf.py + build: os: "ubuntu-20.04" tools: From 23c86d94bac9ed3a2c7af9d13865867b28feb6e2 Mon Sep 17 00:00:00 2001 From: "FeRD (Frank Dana)" Date: Mon, 24 Mar 2025 16:14:45 -0400 Subject: [PATCH 34/39] Set VIRTUALENVWRAPPER_SCRIPT portably - `${.sh.file}` was ksh syntax, but ksh support was dropped in commit d7365499b3fd442e92200e481c7a3711981ab78e - Instead of testing only for certain specific shells (and excluding all others), use `$BASH_SOURCE` if it's set, otherwise fall back to `$0` which should work with more shells (hopefully). Fixes #105 --- virtualenvwrapper.sh | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/virtualenvwrapper.sh b/virtualenvwrapper.sh index 4fa589e..26a9452 100644 --- a/virtualenvwrapper.sh +++ b/virtualenvwrapper.sh @@ -96,14 +96,11 @@ export VIRTUALENVWRAPPER_WORKON_CD=${VIRTUALENVWRAPPER_WORKON_CD:-1} # Remember where we are running from. if [ -z "${VIRTUALENVWRAPPER_SCRIPT:-}" ] then - if [ -n "$BASH" ] + if [ -n "${BASH_SOURCE:-}" ] then export VIRTUALENVWRAPPER_SCRIPT="$BASH_SOURCE" - elif [ -n "$ZSH_VERSION" ] - then - export VIRTUALENVWRAPPER_SCRIPT="$0" else - export VIRTUALENVWRAPPER_SCRIPT="${.sh.file}" + export VIRTUALENVWRAPPER_SCRIPT="$0" fi fi @@ -430,7 +427,7 @@ function mkvirtualenv { i=0 tst="-lt" fi - while [ $i $tst $# ] + while test $i $tst $# do a="${in_args[$i]}" # echo "arg $i : $a" @@ -712,7 +709,7 @@ function workon { tst="-lt" fi typeset cd_after_activate=$VIRTUALENVWRAPPER_WORKON_CD - while [ $i $tst $# ] + while test $i $tst $# do a="${in_args[$i]}" case "$a" in @@ -1111,7 +1108,7 @@ function mkproject { i=0 tst="-lt" fi - while [ $i $tst $# ] + while test $i $tst $# do a="${in_args[$i]}" case "$a" in @@ -1218,7 +1215,7 @@ function mktmpenv { tst="-lt" fi typeset cd_after_activate=$VIRTUALENVWRAPPER_WORKON_CD - while [ $i $tst $# ] + while test $i $tst $# do a="${in_args[$i]}" case "$a" in From 6d1bfb5a80363cda6e89f9b0fa39539c185439d2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Aug 2025 03:50:36 +0000 Subject: [PATCH 35/39] Bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- .github/workflows/test.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index 7012340..132e9ba 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 - name: Set up Python diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 74b0237..49486ac 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: - "3.12" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 @@ -48,7 +48,7 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 @@ -80,7 +80,7 @@ jobs: - "3.12" steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 @@ -109,7 +109,7 @@ jobs: - pkglint steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 @@ -133,7 +133,7 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: fetch-depth: 0 From cd3bc56508f098fb6b7b7b18859132b9278eca5c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Sep 2025 19:36:15 +0000 Subject: [PATCH 36/39] Bump actions/setup-python from 5 to 6 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- .github/workflows/test.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index 132e9ba..0ad4420 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -18,7 +18,7 @@ jobs: with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.x' - name: Install dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 49486ac..1e3d568 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ jobs: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -53,7 +53,7 @@ jobs: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.11" @@ -85,7 +85,7 @@ jobs: fetch-depth: 0 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} @@ -114,7 +114,7 @@ jobs: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.11" @@ -138,7 +138,7 @@ jobs: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: # Pin this to the same version used on in .readthedocs.yaml python-version: "3.11" From cba132ba45af8130a7f02a5789c43b780e364a68 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Sep 2025 19:37:50 +0000 Subject: [PATCH 37/39] Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.12.4 to 1.13.0. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.12.4...v1.13.0) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-version: 1.13.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index 132e9ba..2606dc6 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -32,7 +32,7 @@ jobs: # This condition prevents PRs from being published as part of # the test job. if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.12.4 + uses: pypa/gh-action-pypi-publish@v1.13.0 with: password: ${{ secrets.PYPI_API_TOKEN }} verbose: true From 289ec2f18c8eededa1fa31c66de96a0afc6d901f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Nov 2025 19:25:04 +0000 Subject: [PATCH 38/39] Bump actions/checkout from 5 to 6 Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- .github/workflows/test.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index 6ecbd85..71ad980 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 - name: Set up Python diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1e3d568..aeee5e8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: - "3.12" steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 @@ -48,7 +48,7 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 @@ -80,7 +80,7 @@ jobs: - "3.12" steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 @@ -109,7 +109,7 @@ jobs: - pkglint steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 @@ -133,7 +133,7 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 From 1b188f547939bd70b83ee0ec25e555355e9c05c6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2026 20:05:30 +0000 Subject: [PATCH 39/39] Bump pypa/gh-action-pypi-publish from 1.13.0 to 1.14.0 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.13.0 to 1.14.0. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.13.0...v1.14.0) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-version: 1.14.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/python-publish.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index 71ad980..1080258 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -32,7 +32,7 @@ jobs: # This condition prevents PRs from being published as part of # the test job. if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.13.0 + uses: pypa/gh-action-pypi-publish@v1.14.0 with: password: ${{ secrets.PYPI_API_TOKEN }} verbose: true