Skip to content

Commit e3d899a

Browse files
authored
Move window of supported python versions. (#442)
* Move window of supported python versions. * Don't include 3.13 just yet.
1 parent cca790d commit e3d899a

15 files changed

+16
-18
lines changed

.copier-answers.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ project_license: BSD
2020
project_name: hats
2121
project_organization: astronomy-commons
2222
python_versions:
23-
- '3.9'
2423
- '3.10'
2524
- '3.11'
2625
- '3.12'

.github/workflows/asv-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches: [ main ]
99

1010
env:
11-
PYTHON_VERSION: "3.10"
11+
PYTHON_VERSION: "3.11"
1212
ASV_VERSION: "0.6.4"
1313
WORKING_DIR: ${{github.workspace}}/benchmarks
1414

.github/workflows/asv-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_dispatch:
1010

1111
env:
12-
PYTHON_VERSION: "3.10"
12+
PYTHON_VERSION: "3.11"
1313
ASV_VERSION: "0.6.4"
1414
WORKING_DIR: ${{github.workspace}}/benchmarks
1515
NIGHTLY_HASH_FILE: nightly-hash

.github/workflows/asv-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
env:
18-
PYTHON_VERSION: "3.10"
18+
PYTHON_VERSION: "3.11"
1919
ASV_VERSION: "0.6.4"
2020
WORKING_DIR: ${{github.workspace}}/benchmarks
2121
ARTIFACTS_DIR: ${{github.workspace}}/artifacts

.github/workflows/build-documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020

2121
steps:
2222
- uses: actions/checkout@v4
23-
- name: Set up Python 3.10
23+
- name: Set up Python 3.11
2424
uses: actions/setup-python@v5
2525
with:
26-
python-version: '3.10'
26+
python-version: '3.11'
2727
- name: Install dependencies
2828
run: |
2929
sudo apt-get update

.github/workflows/pre-commit-ci.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@v5
2121
with:
22-
python-version: '3.10'
22+
python-version: '3.11'
2323
- name: Install dependencies
2424
run: |
2525
sudo apt-get update

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Python
2727
uses: actions/setup-python@v5
2828
with:
29-
python-version: '3.10'
29+
python-version: '3.11'
3030
- name: Install dependencies
3131
run: |
3232
python -m pip install --upgrade pip

.github/workflows/smoke-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
python-version: ['3.9', '3.10', '3.11', '3.12']
23+
python-version: ['3.10', '3.11', '3.12']
2424

2525
steps:
2626
- uses: actions/checkout@v4

.github/workflows/testing-and-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python-version: ['3.9', '3.10', '3.11', '3.12']
18+
python-version: ['3.10', '3.11', '3.12']
1919

2020
steps:
2121
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ repos:
9494
# supported by your project here, or alternatively use
9595
# pre-commit's default_language_version, see
9696
# https://pre-commit.com/#top_level-default_language_version
97-
language_version: python3.10
97+
language_version: python3.11
9898
# Make sure Sphinx can build the documentation while explicitly omitting
9999
# notebooks from the docs, so users don't have to wait through the execution
100100
# of each notebook or each commit. By default, these will be checked in the

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version: 2
88
build:
99
os: ubuntu-22.04
1010
tools:
11-
python: "3.10"
11+
python: "3.11"
1212

1313
# Build documentation in the docs/ directory with Sphinx
1414
sphinx:

benchmarks/asv.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
// The Pythons you'd like to test against. If not provided, defaults
3838
// to the current version of Python used to run `asv`.
3939
"pythons": [
40-
"3.10"
40+
"3.11"
4141
],
4242
// The matrix of dependencies to test. Each key is the name of a
4343
// package (in PyPI) and the values are version numbers. An empty

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ classifiers = [
1616
"Programming Language :: Python",
1717
]
1818
dynamic = ["version"]
19-
20-
requires-python = ">=3.9"
19+
requires-python = ">=3.10"
2120
dependencies = [
2221
"aiohttp", # http filesystem support
2322
"astropy",
@@ -81,7 +80,7 @@ line_length = 110
8180

8281
[tool.ruff]
8382
line-length = 110
84-
target-version = "py39"
83+
target-version = "py310"
8584

8685
[tool.ruff.lint]
8786
select = [

src/.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ persistent=yes
8787

8888
# Minimum Python version to use for version dependent checks. Will default to
8989
# the version used to run pylint.
90-
py-version=3.9
90+
py-version=3.10
9191

9292
# Discover python modules and packages in the file system subtree.
9393
recursive=no

tests/.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ persistent=yes
8787

8888
# Minimum Python version to use for version dependent checks. Will default to
8989
# the version used to run pylint.
90-
py-version=3.9
90+
py-version=3.10
9191

9292
# Discover python modules and packages in the file system subtree.
9393
recursive=no

0 commit comments

Comments
 (0)