Skip to content

Commit

Permalink
Added Python 3.11 (#1036)
Browse files Browse the repository at this point in the history
* add 3.11 as a version

* change python dep spec

* add fix for numba deprecation warning
  • Loading branch information
bdpedigo committed May 23, 2023
1 parent 12f5a82 commit 78c8757
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python_version: ["3.8", "3.9", "3.10"]
python_version: ["3.8", "3.9", "3.10", "3.11"]
fail-fast: false
steps:
- uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ And across the following **x86_64** versions of Python:
- 3.8
- 3.9
- 3.10
- 3.11

If you try to use `graspologic` for a different platform than the ones listed and notice any unexpected behavior,
please feel free to [raise an issue](https://github.com/microsoft/graspologic/issues/new). It's better for ourselves and our users
Expand Down
2 changes: 1 addition & 1 deletion graspologic/models/edge_swaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,4 +212,4 @@ def _edge_swap(
return adjacency, edge_list


_edge_swap_numba = nb.jit(_edge_swap)
_edge_swap_numba = nb.jit(_edge_swap, nopython=False)
5 changes: 3 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = graspologic
version = 3.1.0
version = 3.2.0

description = A set of python modules for graph statistics
long_description = file: README.md
Expand All @@ -20,11 +20,12 @@ classifiers =
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11

[options]
packages = find:
include_package_data = True
python_requires = >=3.8, <3.11
python_requires = >=3.8, <3.12
install_requires =
anytree>=2.8.0
beartype>=0.10.0
Expand Down

0 comments on commit 78c8757

Please sign in to comment.