Skip to content

Commit

Permalink
chore: include Python 3.11 classifier & testing (#655)
Browse files Browse the repository at this point in the history
* chore: include Python 3.11 classifier

* fixup! chore: include Python 3.11 classifier

* ci: skip mamba on 3.11

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

* fixup! ci: skip mamba on 3.11

* fixup! fixup! ci: skip mamba on 3.11

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii authored Oct 8, 2022
1 parent 15013bd commit c670327
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 23 deletions.
File renamed without changes.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -26,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:
Expand Down
6 changes: 0 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
3 changes: 0 additions & 3 deletions MANIFEST.in

This file was deleted.

2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 1 addition & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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",
".*",
]

0 comments on commit c670327

Please sign in to comment.