Skip to content

Commit

Permalink
Adding support for Python v3.11 (john-science#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-science authored Nov 12, 2022
1 parent daf0545 commit 039e52f
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/black.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
# use workaround due to: https://github.com/psf/black/issues/2079#issuecomment-812359146
jobs:
check-formatting:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ on:
jobs:
build:

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.10"
- name: Update package index
run: sudo apt-get update
- name: Install PIP Packages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unittests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
jobs:
build:

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
python: ["3.6", "3.7", "3.8", "3.9", "3.10"]
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion mazelib/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "0.9.13"
__version__ = "0.9.14"

from .mazelib import Maze
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# this file is redundant if you are installing using setup.py
numpy >= 1.13.1, <= 1.22.1
cython >= 0.27.0, <= 0.29.27
numpy >= 1.13.1, <= 1.23.4
cython >= 0.27.0, <= 0.29.32
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Natural Language :: English",
],
python_requires=">=3.4, <3.11 ",
python_requires=">=3.4, <3.12",
license="GPLv3",
long_description="A Python library for creating and solving mazes.",
long_description_content_type="text/markdown",
Expand All @@ -108,7 +109,7 @@
ext_modules=ext_modules_list,
platforms="any",
test_suite="test",
setup_requires=["numpy>=1.13.1,<=1.22.1"],
install_requires=["cython>=0.27.0,<=0.29.27", "numpy>=1.13.1,<=1.22.1"],
setup_requires=["numpy>=1.13.1,<=1.23.4"],
install_requires=["cython>=0.27.0,<=0.29.32", "numpy>=1.13.1,<=1.23.4"],
zip_safe=False,
)

0 comments on commit 039e52f

Please sign in to comment.