Skip to content

Commit

Permalink
Drop support for Python 3.10
Browse files Browse the repository at this point in the history
unittest.TestCase.enterContext() only became available in 3.11
  • Loading branch information
dhirving committed Dec 5, 2023
1 parent 5c4c1f3 commit 800032e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.11", "3.12"]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
cache: "pip"
cache-dependency-path: "setup.cfg"

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ classifiers = [
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
Expand All @@ -25,7 +24,7 @@ dependencies = [
"importlib_resources",
]
dynamic = ["version"]
requires-python = ">=3.10.0"
requires-python = ">=3.11.0"

[project.urls]
"Homepage" = "https://github.com/lsst/resources"
Expand Down

0 comments on commit 800032e

Please sign in to comment.