diff --git a/.copier-answers.yml b/.copier-answers.yml index 334f112..22615cb 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: v2.0.3 +_commit: v2.0.4 _src_path: gh:lincc-frameworks/python-project-template author_email: lincc-frameworks-team@lists.lsst.org author_name: LINCC Frameworks @@ -19,7 +19,6 @@ project_license: BSD project_name: hats_cloudtests project_organization: astronomy-commons python_versions: -- '3.9' - '3.10' - '3.11' - '3.12' diff --git a/.github/workflows/asv-main.yml b/.github/workflows/asv-main.yml index 32c25cf..477ba59 100644 --- a/.github/workflows/asv-main.yml +++ b/.github/workflows/asv-main.yml @@ -8,7 +8,7 @@ on: branches: [ main ] env: - PYTHON_VERSION: "3.10" + PYTHON_VERSION: "3.11" ASV_VERSION: "0.6.4" WORKING_DIR: ${{github.workspace}}/benchmarks diff --git a/.github/workflows/asv-nightly.yml b/.github/workflows/asv-nightly.yml index 28b270a..ad6d162 100644 --- a/.github/workflows/asv-nightly.yml +++ b/.github/workflows/asv-nightly.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: env: - PYTHON_VERSION: "3.10" + PYTHON_VERSION: "3.11" ASV_VERSION: "0.6.4" WORKING_DIR: ${{github.workspace}}/benchmarks NIGHTLY_HASH_FILE: nightly-hash diff --git a/.github/workflows/asv-pr.yml b/.github/workflows/asv-pr.yml index 4499eb9..e78bf42 100644 --- a/.github/workflows/asv-pr.yml +++ b/.github/workflows/asv-pr.yml @@ -15,7 +15,7 @@ concurrency: cancel-in-progress: true env: - PYTHON_VERSION: "3.10" + PYTHON_VERSION: "3.11" ASV_VERSION: "0.6.4" WORKING_DIR: ${{github.workspace}}/benchmarks ARTIFACTS_DIR: ${{github.workspace}}/artifacts diff --git a/.github/workflows/pre-commit-ci.yml b/.github/workflows/pre-commit-ci.yml index 54cebb1..22d0f01 100644 --- a/.github/workflows/pre-commit-ci.yml +++ b/.github/workflows/pre-commit-ci.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | sudo apt-get update diff --git a/.github/workflows/smoke-test.yml b/.github/workflows/smoke-test.yml index 482f4b5..5c3d6f4 100644 --- a/.github/workflows/smoke-test.yml +++ b/.github/workflows/smoke-test.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/testing-and-coverage.yml b/.github/workflows/testing-and-coverage.yml index 9bc987e..5505131 100644 --- a/.github/workflows/testing-and-coverage.yml +++ b/.github/workflows/testing-and-coverage.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b17c341..df7163c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,7 +18,7 @@ repos: description: Clear output from Jupyter notebooks. files: \.ipynb$ exclude: ^docs/pre_executed - stages: [commit] + stages: [pre-commit] language: system entry: jupyter nbconvert --clear-output # Prevents committing directly branches named 'main' and 'master'. @@ -94,7 +94,7 @@ repos: # supported by your project here, or alternatively use # pre-commit's default_language_version, see # https://pre-commit.com/#top_level-default_language_version - language_version: python3.10 + language_version: python3.11 # Run unit tests, verify that they pass. Note that coverage is run against # the ./src directory here because that is what will be committed. In the # github workflow script, the coverage is run against the installed package diff --git a/benchmarks/asv.conf.json b/benchmarks/asv.conf.json index 700b358..96bac51 100644 --- a/benchmarks/asv.conf.json +++ b/benchmarks/asv.conf.json @@ -36,7 +36,7 @@ // The Pythons you'd like to test against. If not provided, defaults // to the current version of Python used to run `asv`. "pythons": [ - "3.10" + "3.11" ], // The matrix of dependencies to test. Each key is the name of a // package (in PyPI) and the values are version numbers. An empty diff --git a/pyproject.toml b/pyproject.toml index 4f49fe8..28da5c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ classifiers = [ "Programming Language :: Python", ] dynamic = ["version"] -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = [ # lsdb, hats, and hats-import are built from source via requirements.txt "adlfs", @@ -53,7 +53,7 @@ markers = [ ] [tool.black] line-length = 110 -target-version = ["py39"] +target-version = ["py310"] [tool.isort] profile = "black" @@ -61,7 +61,7 @@ line_length = 110 [tool.ruff] line-length = 110 -target-version = "py39" +target-version = "py310" [tool.ruff.lint] select = [ diff --git a/src/.pylintrc b/src/.pylintrc index 7bd3e03..41043cf 100644 --- a/src/.pylintrc +++ b/src/.pylintrc @@ -87,7 +87,7 @@ persistent=yes # Minimum Python version to use for version dependent checks. Will default to # the version used to run pylint. -py-version=3.9 +py-version=3.10 # Discover python modules and packages in the file system subtree. recursive=no diff --git a/tests/.pylintrc b/tests/.pylintrc index b5afc24..8c79f98 100644 --- a/tests/.pylintrc +++ b/tests/.pylintrc @@ -87,7 +87,7 @@ persistent=yes # Minimum Python version to use for version dependent checks. Will default to # the version used to run pylint. -py-version=3.9 +py-version=3.10 # Discover python modules and packages in the file system subtree. recursive=no