Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 88a11ba

Browse files
authored
Merge pull request #65 from catalyst-cooperative/dev
Update to allow Python 3.11
2 parents 3b15f34 + 308e821 commit 88a11ba

File tree

5 files changed

+14
-11
lines changed

5 files changed

+14
-11
lines changed

.github/workflows/tox-pytest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
python-version: ["3.8", "3.9", "3.10"]
10+
python-version: ["3.8", "3.9", "3.10", "3.11"]
1111
fail-fast: false
1212

1313
steps:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ repos:
3838
rev: 22.10.0
3939
hooks:
4040
- id: black
41-
language_version: python3.10
41+
language_version: python3.11
4242

4343
# Check for PEP8 non-compliance, code complexity, style, errors, etc:
4444
- repo: https://github.com/PyCQA/flake8

environment.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,14 @@ channels:
55
dependencies:
66
# Packages required for setting up the environment
77
- pip>=21,<23
8-
- python>=3.8,<3.11
9-
- setuptools<62
8+
- python>=3.8,<3.12
9+
- setuptools<66
1010

1111
# Packages that need or benefit from or provide binary conda packages
12-
- python-snappy>=0.6,<0.7 # Supports snappy compression in pyarrow/parquet
13-
- numba>=0.55.1,<0.56 # numba speeds up some kinds of math by 100x
12+
# - numba>=0.55.1,<0.57 # numba JITC, not yet Python 3.11 compatible
1413
- google-cloud-sdk>=388
1514

16-
# Jupyter packages:
15+
# Jupyter packages for interactive development / testing
1716
- jupyterlab>=3.2,<4
1817
- jupyter-resource-usage>=0.5,<0.7
1918
- nbconvert>=6,<7

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
[build-system]
2-
requires = ["setuptools<62", "pip>=21,<23", "wheel", "setuptools_scm"]
2+
requires = [
3+
"setuptools<66",
4+
"setuptools_scm[toml]>=3.5.0",
5+
]
36

47
[tool.setuptools_scm]
58

69
[tool.black]
710
line-length = 88
8-
target-version = ["py38", "py39", "py310"]
11+
target-version = ["py38", "py39", "py310", "py311"]
912
include = "\\.pyi?$"
1013

1114
[tool.isort]

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,19 @@
3636
"Programming Language :: Python :: 3.8",
3737
"Programming Language :: Python :: 3.9",
3838
"Programming Language :: Python :: 3.10",
39+
"Programming Language :: Python :: 3.11",
3940
"Topic :: Scientific/Engineering",
4041
],
4142
packages=find_packages("src"),
4243
package_dir={"": "src"},
4344
include_package_data=True,
4445
package_data={"": ["*.yml", "*.yaml"]},
4546
zip_safe=False,
46-
python_requires=">=3.8,<3.11",
47+
python_requires=">=3.8,<3.12",
4748
install_requires=[
4849
"gcsfs>=2021.7,<2022.11.1",
4950
"intake_parquet>=0.2.3,<0.3",
50-
"intake_sqlite>=0.1.2",
51+
"intake_sqlite>=0.2.0",
5152
"msgpack>=1,<2",
5253
],
5354
extras_require={

0 commit comments

Comments
 (0)