Skip to content

Commit

Permalink
Add support for Python 3.11 (#23)
Browse files Browse the repository at this point in the history
* Add support for Python 3.11

* Update pyproject.toml

* Remove support for Python 3.7
  • Loading branch information
bryant1410 authored Oct 26, 2022
1 parent 2b53a95 commit b10b823
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, '3.10']
python-version: [3.8, 3.9, '3.10', '3.11']
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install the latest Pip and Wheel
run: pip install --upgrade pip wheel
- name: Set up Poetry
uses: abatilo/[email protected]
with:
poetry-version: 1.1.11 # Previous versions give an error with Python 3.10.
uses: abatilo/actions-poetry@v2
- name: Check package setup
run: poetry check
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"
numpy = "*"

[tool.poetry.dev-dependencies]
Expand Down

0 comments on commit b10b823

Please sign in to comment.