Skip to content

Commit 69a10c5

Browse files
committed
py313
1 parent 1c75ac5 commit 69a10c5

11 files changed

Lines changed: 18 additions & 84 deletions

File tree

.copier-answers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ package_name: cloud-courier
1414
primary_author: Eli Fine
1515
pull_from_ecr: false
1616
python_ci_versions:
17-
- 3.12.7
17+
- 3.13.9
1818
python_package_registry: PyPI
19-
python_version: 3.12.7
19+
python_version: 3.13.9
2020
repo_name: cloud-courier
2121
repo_org_name: LabAutomationAndScreening
2222
ssh_port_number: 61335

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"ghcr.io/devcontainers/features/python:1.8.0": {
2222
// https://github.com/devcontainers/features/blob/main/src/python/devcontainer-feature.json
23-
"version": "3.12.7",
23+
"version": "3.13.9",
2424
"enableShared": true,
2525
"installTools": false,
2626
"optimize": true
@@ -78,5 +78,5 @@
7878
"initializeCommand": "sh .devcontainer/initialize-command.sh",
7979
"onCreateCommand": "sh .devcontainer/on-create-command.sh",
8080
"postStartCommand": "sh .devcontainer/post-start-command.sh"
81-
// Devcontainer context hash (do not manually edit this, it's managed by a pre-commit hook): bb54c7d2 # spellchecker:disable-line
81+
// Devcontainer context hash (do not manually edit this, it's managed by a pre-commit hook): 48063975 # spellchecker:disable-line
8282
}

.github/workflows/ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
contents: write # needed for mutex
5252
id-token: write # needed to assume OIDC roles (e.g. for downloading from CodeArtifact)
5353
with:
54-
python-version: 3.12.7
54+
python-version: 3.13.9
5555

5656
test:
5757
needs:
@@ -65,11 +65,11 @@ jobs:
6565

6666
python-version:
6767

68-
- 3.12.7
68+
- 3.13.9
6969

7070
include:
7171
- os: "ubuntu-24.04"
72-
python-version: "3.12.7"
72+
python-version: "3.13.9"
7373
JOB_MATCHING_DEV_ENV: true
7474

7575
runs-on: ${{ matrix.os }}
@@ -129,7 +129,7 @@ jobs:
129129
- windows-2025
130130
python-version:
131131

132-
- 3.12.7
132+
- 3.13.9
133133

134134
runs-on: ${{ matrix.os }}
135135
timeout-minutes: 8
@@ -166,7 +166,7 @@ jobs:
166166
matrix:
167167
python-version:
168168

169-
- 3.12.7
169+
- 3.13.9
170170

171171

172172
runs-on: ubuntu-24.04

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.12.7
1+
3.13.9

.readthedocs.yaml

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-24.04
1010
tools:
11-
python: "3.12"
11+
python: "3.13"
1212

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

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ authors = [
77

88
]
99
readme = "README.md"
10-
requires-python = ">=3.12.7"
10+
requires-python = ">=3.13.9"
1111
classifiers = [
1212
"Programming Language :: Python :: 3",
1313

14-
"Programming Language :: Python :: 3.12",
14+
"Programming Language :: Python :: 3.13",
1515

1616
]
1717
dependencies = [

ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ exclude = [
3232
line-length = 120
3333
indent-width = 4
3434

35-
target-version = "py312"
35+
target-version = "py313"
3636

3737
[lint]
3838
select = ["ALL"]

src/cloud_courier/load_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def _get_ssm_param_values(ssm_client: SSMClient, prefix: str) -> dict[str, str]:
3232
response = ssm_client.describe_parameters(
3333
ParameterFilters=[{"Key": "Name", "Option": "BeginsWith", "Values": [prefix]}],
3434
MaxResults=50, # AWS allows up to 50 results per call
35-
NextToken=next_token if next_token else "",
35+
NextToken=next_token or "",
3636
)
3737

3838
# Add parameters from this page

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def localstack_profile(mocker: MockerFixture) -> None:
2525

2626

2727
@pytest.fixture
28-
def flag_file_dir() -> Generator[str, None, None]:
28+
def flag_file_dir() -> Generator[str]:
2929
with tempfile.TemporaryDirectory() as temp_dir:
3030
yield temp_dir
3131

tests/unit/test_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class MainMixin:
6363
def _setup(
6464
self,
6565
mock_path_to_aws_credentials: None, # noqa: ARG002 # pytest.usefixture cannot be used on a fixturet
66-
flag_file_dir: Generator[str, None, None],
66+
flag_file_dir: Generator[str],
6767
):
6868
self.flag_file_dir = str(flag_file_dir)
6969

0 commit comments

Comments
 (0)