Skip to content

Commit d7a6c70

Browse files
authored
Merge pull request #208 from TGSAI/enh/python3.11
Support Python 3.11
2 parents 17dff51 + ba17ea6 commit d7a6c70

File tree

7 files changed

+753
-1336
lines changed

7 files changed

+753
-1336
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Python
2020
uses: actions/setup-python@v3
2121
with:
22-
python-version: "3.10"
22+
python-version: "3.11"
2323

2424
- name: Upgrade pip
2525
run: |

.github/workflows/tests.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,20 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
include:
15-
- { python: "3.10", os: "ubuntu-latest", session: "pre-commit" }
16-
- { python: "3.10", os: "ubuntu-latest", session: "safety" }
15+
- { python: "3.11", os: "ubuntu-latest", session: "pre-commit" }
16+
- { python: "3.11", os: "ubuntu-latest", session: "safety" }
1717
# - { python: "3.10", os: "ubuntu-latest", session: "mypy" }
1818
# - { python: "3.9", os: "ubuntu-latest", session: "mypy" }
1919
# - { python: "3.8", os: "ubuntu-latest", session: "mypy" }
20+
- { python: "3.11", os: "ubuntu-latest", session: "tests" }
2021
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
2122
- { python: "3.9", os: "ubuntu-latest", session: "tests" }
2223
- { python: "3.8", os: "ubuntu-latest", session: "tests" }
23-
- { python: "3.10", os: "windows-latest", session: "tests" }
24-
- { python: "3.10", os: "macos-latest", session: "tests" }
24+
- { python: "3.11", os: "windows-latest", session: "tests" }
25+
- { python: "3.11", os: "macos-latest", session: "tests" }
2526
# - { python: "3.10", os: "ubuntu-latest", session: "typeguard" }
2627
# - { python: "3.10", os: "ubuntu-latest", session: "xdoctest" }
27-
- { python: "3.10", os: "ubuntu-latest", session: "docs-build" }
28+
- { python: "3.11", os: "ubuntu-latest", session: "docs-build" }
2829

2930
env:
3031
NOXSESSION: ${{ matrix.session }}
@@ -117,7 +118,7 @@ jobs:
117118
- name: Set up Python
118119
uses: actions/setup-python@v3
119120
with:
120-
python-version: "3.10"
121+
python-version: "3.11"
121122

122123
- name: Upgrade pip
123124
run: |

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ repos:
5454
entry: pyupgrade
5555
language: system
5656
types: [python]
57-
args: [--py37-plus]
57+
args: [--py38-plus]
5858
- id: trailing-whitespace
5959
name: Trim Trailing Whitespace
6060
entry: trailing-whitespace-fixer

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2
22
build:
33
os: ubuntu-20.04
44
tools:
5-
python: "3.10"
5+
python: "3.11"
66
sphinx:
77
configuration: docs/conf.py
88
formats: all

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424

2525
package = "mdio"
26-
python_versions = ["3.10", "3.9", "3.8"]
26+
python_versions = ["3.11", "3.10", "3.9", "3.8"]
2727
nox.needs_version = ">= 2022.1.7"
2828
nox.options.sessions = (
2929
"pre-commit",

poetry.lock

Lines changed: 740 additions & 1324 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ keywords = ["mdio", "multidimio", "seismic", "wind", "data"]
2424
Changelog = "https://github.com/TGSAI/mdio-python/releases"
2525

2626
[tool.poetry.dependencies]
27-
python = ">=3.8,<3.11"
27+
python = ">=3.8,<3.12"
2828
click = "^8.1.3"
2929
click-params = "^0.3.0"
3030
zarr = "^2.12.0"
@@ -38,7 +38,7 @@ bokeh = {version = "^2.4.3", optional = true}
3838
s3fs = {version = ">=2022.7.0", optional = true}
3939
gcsfs = {version = ">=2022.7.0", optional = true}
4040
adlfs = {version = ">=2022.7.0", optional = true}
41-
zfpy = {version = "^1.0.0", optional = true}
41+
#zfpy = {version = "^1.0.0", optional = true}
4242

4343
[tool.poetry.extras]
4444
distributed = ["distributed", "bokeh"]

0 commit comments

Comments
 (0)