Skip to content

Commit c69b108

Browse files
authored
ci: migrate ubuntu-latest to ubuntu-24.04 (#29)
* ci: migrate ubuntu-latest to ubuntu-24.04 * feat: update to 3.9 * ci: update mypy to 1.13
1 parent c1b67d9 commit c69b108

File tree

7 files changed

+932
-641
lines changed

7 files changed

+932
-641
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @nh13

.github/workflows/pythonpackage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: Python package
22

33
on: [push]
44
env:
5-
POETRY_VERSION: 1.0
5+
POETRY_VERSION: 1.8.3
66

77
jobs:
88
testing:
9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-24.04
1010
environment: github-actions-ci
1111
strategy:
1212
matrix:
13-
PYTHON_VERSION: [3.8]
13+
PYTHON_VERSION: [3.9]
1414
steps:
1515
- uses: actions/checkout@v2
1616

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
`pip install pyfgaws`
3939

40-
**Requires python 3.8**
40+
**Requires python 3.9**
4141

4242
# Getting Setup
4343

conda-requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Setup python version and poetry
2-
python=3.8.2
3-
poetry=1.0.5
2+
python=3.9
3+
poetry=1.8.3

poetry.lock

Lines changed: 920 additions & 630 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyfgaws/batch/api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from mypy_boto3_batch.type_defs import KeyValuePairTypeDef # noqa
2929
from mypy_boto3_batch.type_defs import NodeOverridesTypeDef # noqa
3030
from mypy_boto3_batch.type_defs import ResourceRequirementTypeDef # noqa
31-
from mypy_boto3_batch.type_defs import RetryStrategyTypeDef # noqa
31+
from mypy_boto3_batch.type_defs import RetryStrategyOutputTypeDef # noqa
3232
from mypy_boto3_batch.type_defs import SubmitJobResponseTypeDef # noqa
3333

3434
from pyfgaws.core import MINIMUM_DELAY
@@ -149,7 +149,7 @@ def __init__(
149149
parameters: Optional[Dict[str, str]] = None,
150150
container_overrides: Optional[ContainerOverridesTypeDef] = None,
151151
node_overrides: Optional[NodeOverridesTypeDef] = None,
152-
retry_strategy: Optional[RetryStrategyTypeDef] = None,
152+
retry_strategy: Optional[RetryStrategyOutputTypeDef] = None,
153153
timeout: Optional[JobTimeoutTypeDef] = None,
154154
logger: Optional[logging.Logger] = None,
155155
) -> None:
@@ -181,7 +181,7 @@ def __init__(
181181
container_overrides
182182
)
183183
self.node_overrides: Optional[NodeOverridesTypeDef] = node_overrides
184-
self.retry_strategy: Optional[RetryStrategyTypeDef] = retry_strategy
184+
self.retry_strategy: Optional[RetryStrategyOutputTypeDef] = retry_strategy
185185
self.timeout: Optional[JobTimeoutTypeDef] = timeout
186186

187187
# Add to container overrides

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ include = [
2626

2727

2828
[tool.poetry.dependencies]
29-
python = "^3.8"
29+
python = "^3.9"
3030
attrs = "^19.3.0"
3131
defopt = "^6.0"
3232
boto3 = "^1.13.18"
@@ -37,7 +37,7 @@ fgpyo = "^0.0.6"
3737

3838
[tool.poetry.dev-dependencies]
3939
pytest = "^5.4.2"
40-
mypy = "^0.770"
40+
mypy = ">=1.7.0"
4141
flake8 = "^3.8.1"
4242
black = "^23.1.0"
4343
pytest-cov = ">=2.8.1"

0 commit comments

Comments
 (0)