From 67306d00e197d5a674fc87fdfdd1167489b4fae4 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 7 Oct 2022 14:55:15 -0400 Subject: [PATCH 1/5] chore: include Python 3.11 classifier --- pyproject.toml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8842712c..ec45992d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,6 +44,7 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: Software Development :: Testing", ] [project.optional-dependencies] @@ -97,15 +98,3 @@ enable_error_code = [ "ignore-without-code", "redundant-expr", "truthy-bool" ] [[tool.mypy.overrides]] module = [ "argcomplete", "colorlog.*", "py", "tox.*" ] ignore_missing_imports = true - -[tool.check-manifest] -ignore = [ - "action.yml", - "docs/**", - "noxfile.py", - "requirements-conda-test.txt", - "requirements-dev.txt", - "requirements-test.txt", - "*.md", - ".*", -] From 7038802224a9e2fdfc2d19df02180f69cef62ff1 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 7 Oct 2022 15:23:34 -0400 Subject: [PATCH 2/5] fixup! chore: include Python 3.11 classifier --- setup.cfg => .flake8 | 0 .github/workflows/ci.yml | 2 +- .pre-commit-config.yaml | 6 ------ MANIFEST.in | 3 --- 4 files changed, 1 insertion(+), 10 deletions(-) rename setup.cfg => .flake8 (100%) delete mode 100644 MANIFEST.in diff --git a/setup.cfg b/.flake8 similarity index 100% rename from setup.cfg rename to .flake8 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cfd2f00..0a6a14a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index edd1c703..2946c767 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -91,9 +91,3 @@ repos: - id: rst-backticks - id: rst-directive-colons - id: rst-inline-touching-normal - - - repo: https://github.com/mgedmin/check-manifest - rev: "0.48" - hooks: - - id: check-manifest - stages: [manual] diff --git a/MANIFEST.in b/MANIFEST.in deleted file mode 100644 index e147a272..00000000 --- a/MANIFEST.in +++ /dev/null @@ -1,3 +0,0 @@ -recursive-include nox *.jinja2 -include nox/py.typed .github/action_helper.py -recursive-include tests *.py From 6bd3de01b503bdbe7714c1c35c46e067cfcf8d3e Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 7 Oct 2022 15:28:01 -0400 Subject: [PATCH 3/5] ci: skip mamba on 3.11 Signed-off-by: Henry Schreiner --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a6a14a8..cd3d070e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Set up Miniconda uses: conda-incubator/setup-miniconda@v2 + if: matrix.python-version != '3.11-dev' with: auto-update-conda: true python-version: ${{ matrix.python-version }} From 968b2db8cb8503dcaa110a3e9798529fa84c1151 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 7 Oct 2022 15:35:02 -0400 Subject: [PATCH 4/5] fixup! ci: skip mamba on 3.11 --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd3d070e..1ab9834c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,10 @@ jobs: python -m pip install --disable-pip-version-check . - name: Run tests on ${{ matrix.os }} run: nox --non-interactive --error-on-missing-interpreter --session "tests-${{ matrix.python-version }}" -- --full-trace + if: matrix.python-version != '3.11-dev' + - name: Run tests on ${{ matrix.os }} + if: matrix.python-version == '3.11-dev' + run: nox --non-interactive --error-on-missing-interpreter --session "tests-3.11" -- --full-trace lint: runs-on: ubuntu-latest steps: From 3834d0b8367f272f11c5119457f3fbd413dcae2f Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 7 Oct 2022 15:53:29 -0400 Subject: [PATCH 5/5] fixup! fixup! ci: skip mamba on 3.11 --- noxfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 154a1002..fc4f71b6 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"]) +@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11"]) def tests(session: nox.Session) -> None: """Run test suite with pytest.""" session.create_tmp() # Fixes permission errors on Windows