Skip to content

Commit

Permalink
Per SPEC 0, bump min python to 3.11 (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson authored Dec 2, 2024
2 parents a90fb37 + 712888b commit 66783ff
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ jobs:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@d68193b68216da64eafaa618f53c59f5d271c56e # v1.14.0
with:
envs: |
- linux: py310-xdist
- linux: py311-xdist-cov
- linux: py311-xdist
- linux: py312-xdist-cov
coverage: codecov
- linux: py312-xdist
- linux: py313-xdist
roman_datamodels:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ jobs:
if: (github.repository == 'spacetelescope/rad' && (github.event_name == 'schedule' || github.event_name == 'push' || github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'Weekly CI')))
with:
envs: |
- macos: py310-xdist
- linux: py312-devdeps-xdist
- linux: py310-oldestdeps-xdist
- macos: py311-xdist
- linux: py313-devdeps-xdist
- linux: py311-oldestdeps-xdist
1 change: 1 addition & 0 deletions changes/520.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bump min Python to 3.11 per SPEC 0.
7 changes: 1 addition & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,11 @@
import datetime
import os
import sys
import tomllib
from pathlib import Path

# Ensure documentation examples are deterministically random.
import numpy

if sys.version_info < (3, 11):
import tomli as tomllib
else:
import tomllib

from importlib_metadata import distribution

try:
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "rad"
description = "Roman Attribute Dictionary"
requires-python = ">=3.10"
requires-python = ">=3.11"
authors = [
{ name = "STScI", email = "help@stsci.edu" },
]
Expand Down Expand Up @@ -41,7 +41,6 @@ docs = [
"graphviz",
"matplotlib",
"docutils",
"tomli; python_version <\"3.11\"",
"importlib-metadata",
"towncrier",
]
Expand Down

0 comments on commit 66783ff

Please sign in to comment.