Skip to content

Commit

Permalink
Require python 3.10+, up from 3.9+ (#841)
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio authored Jan 20, 2025
1 parent 74f64ef commit 3ea3392
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ jobs:
# we test integration with. We can test against only one version and
# that would be fine.
#
- python-version: "3.9"
go-version: "1.20"
- python-version: "3.10"
go-version: "1.21"
go-version: "1.20"
- python-version: "3.11"
go-version: "1.21"
- python-version: "3.12"
go-version: "1.21"
go-version: "1.22"
- python-version: "3.13"
go-version: "1.23"

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repos:
hooks:
- id: pyupgrade
args:
- --py39-plus
- --py310-plus

# Autoformat: Python code
- repo: https://github.com/PyCQA/isort
Expand Down
2 changes: 1 addition & 1 deletion dask-gateway-server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def run(self):
package_data=package_data,
install_requires=install_requires,
extras_require=extras_require,
python_requires=">=3.9",
python_requires=">=3.10",
entry_points={
"console_scripts": [
"dask-gateway-server = dask_gateway_server.app:main",
Expand Down
2 changes: 1 addition & 1 deletion dask-gateway/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
package_data={"dask_gateway": ["*.yaml"]},
install_requires=install_requires,
extras_require=extras_require,
python_requires=">=3.9",
python_requires=">=3.10",
zip_safe=False,
)
4 changes: 4 additions & 0 deletions docs/source/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Breaking changes

- Requires Python 3.10+, up from 3.9

### 2024.1.0

([full changelog](https://github.com/dask/dask-gateway/compare/2023.9.0...2024.1.0))
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ profile = "black"
[tool.black]
line-length = 88
target_version = [
"py39",
"py310",
"py311",
"py312",
"py313",
]


Expand Down

0 comments on commit 3ea3392

Please sign in to comment.