diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index a7d98277..06aaa12d 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -39,5 +39,5 @@ jobs: python-version: 3.9 - uses: ./ with: - python-versions: "3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, pypy-2.7, pypy-3.7, pypy-3.8, pypy-3.9-v7.3.9" + python-versions: "3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, pypy-2.7, pypy-3.7, pypy-3.8, pypy-3.9-v7.3.9" - run: nox --non-interactive --error-on-missing-interpreter --session github_actions_all_tests diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5be101ae..0c4235a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,13 +17,14 @@ jobs: strategy: matrix: os: [ubuntu-20.04, windows-latest, macos-latest] - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Set up Miniconda uses: conda-incubator/setup-miniconda@v2 with: diff --git a/action.yml b/action.yml index 6b230160..d33a60b9 100644 --- a/action.yml +++ b/action.yml @@ -4,7 +4,7 @@ inputs: python-versions: description: "comma-separated list of python versions to install" required: false - default: "3.7, 3.8, 3.9, 3.10, 3.11, 3.12, pypy-3.7, pypy-3.8, pypy-3.9" + default: "3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13, pypy-3.7, pypy-3.8, pypy-3.9" branding: icon: package color: blue diff --git a/noxfile.py b/noxfile.py index 3ebed4b6..3cd4773d 100644 --- a/noxfile.py +++ b/noxfile.py @@ -31,7 +31,7 @@ nox.options.sessions.append("conda_tests") -@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]) +@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]) def tests(session: nox.Session) -> None: """Run test suite with pytest.""" session.create_tmp() # Fixes permission errors on Windows @@ -138,6 +138,7 @@ def _check_python_version(session: nox.Session) -> None: "3.10", "3.11", "3.12", + "3.13", "pypy3.7", "pypy3.8", "pypy3.9", @@ -158,6 +159,7 @@ def github_actions_default_tests(session: nox.Session) -> None: "3.10", "3.11", "3.12", + "3.13", "pypy3.7", "pypy3.8", "pypy3.9", diff --git a/tests/test_virtualenv.py b/tests/test_virtualenv.py index 3a02a7de..4c95b5de 100644 --- a/tests/test_virtualenv.py +++ b/tests/test_virtualenv.py @@ -175,16 +175,16 @@ def test_condaenv_create_with_params(make_conda): @pytest.mark.skipif(not HAS_CONDA, reason="Missing conda command.") def test_condaenv_create_interpreter(make_conda): - venv, dir_ = make_conda(interpreter="3.7") + venv, dir_ = make_conda(interpreter="3.8") venv.create() if IS_WINDOWS: assert dir_.join("python.exe").check() - assert dir_.join("python37.dll").check() - assert dir_.join("python37.pdb").check() + assert dir_.join("python38.dll").check() + assert dir_.join("python38.pdb").check() assert not dir_.join("python37.exe").check() else: assert dir_.join("bin", "python").check() - assert dir_.join("bin", "python3.7").check() + assert dir_.join("bin", "python3.8").check() @pytest.mark.skipif(not HAS_CONDA, reason="Missing conda command.")