Skip to content

Added support for python 3.10, 3.11 and 3.12. #315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Trying to fix virtualenv distutils not found issue
  • Loading branch information
Sylvain MARIE committed Oct 10, 2023
commit 268bbe2c817d24e38dd0858f4a78b2fd1b8f7d49
5 changes: 5 additions & 0 deletions .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ jobs:
python-version: 3.12
architecture: x64

- name: pin virtualenv==20.15.1 in old python versions
# pinned to keep compatibility with old versions, see https://github.com/MatteoH2O1999/setup-python/issues/28#issuecomment-1745613621
if: contains(fromJson('["2.7", "3.5", "3.6"]'), ${{ matrix.nox_session.python }})
run: sed -i "s/virtualenv/virtualenv==20.15.1/g" noxfile-requirements.txt

- name: Install noxfile requirements
run: pip install -r noxfile-requirements.txt

Expand Down
3 changes: 1 addition & 2 deletions noxfile-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
virtualenv;python_version>='3.7' # Use latest virtualenv in latest python versions.
virtualenv==20.15.1;python_version<'3.7' # pinned to keep compatibility with old versions, see https://github.com/MatteoH2O1999/setup-python/issues/28#issuecomment-1745613621
virtualenv
nox
toml
makefun
Expand Down