Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Per SPEC 0, bump min python to 3.11 #520

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading