Skip to content

Commit f94f626

Browse files
committed
removed support for python v3.9, renamed classname
1 parent 80f97b5 commit f94f626

File tree

6 files changed

+8
-9
lines changed

6 files changed

+8
-9
lines changed

.github/workflows/code_style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-22.04
1212
strategy:
1313
matrix:
14-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
14+
python-version: ['3.10', '3.11', '3.12', '3.13']
1515

1616
steps:
1717
- uses: actions/checkout@v2

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-22.04
1212
strategy:
1313
matrix:
14-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
14+
python-version: ['3.10', '3.11', '3.12', '3.13']
1515

1616
steps:
1717
- uses: actions/checkout@v2

datacrunch/containers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
EntrypointOverridesSettings,
88
VolumeMount,
99
SecretMount,
10-
SharedFilesystemMount,
10+
SharedFileSystemMount,
1111
ScratchMount,
1212
VolumeMountType,
1313
Container,

datacrunch/containers/containers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def __init__(self, size_in_mb: int):
191191

192192
@dataclass_json(undefined=Undefined.EXCLUDE)
193193
@dataclass
194-
class SharedFilesystemMount(VolumeMount):
194+
class SharedFileSystemMount(VolumeMount):
195195
"""Shared filesystem volume mount configuration.
196196
197197
A shared filesystem volume mount allows mounting a shared filesystem into the container.

examples/containers/container_deployments_example.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
HealthcheckSettings,
2323
ScratchMount,
2424
SecretMount,
25-
SharedFilesystemMount,
25+
SharedFileSystemMount,
2626
ContainerRegistrySettings,
2727
Deployment,
2828
ContainerDeploymentStatus,
@@ -106,8 +106,8 @@ def main() -> None:
106106
secret_name="my-fileset-secret" # This fileset secret must be created beforehand
107107
),
108108
# Optional: Mount an existing shared filesystem volume
109-
SharedFilesystemMount(
110-
mount_path="/sfs", volume_id="<id-of-the-sfs-volume>"),
109+
SharedFileSystemMount(
110+
mount_path="/sfs", volume_id="<ID-OF-THE-SFS-VOLUME>"),
111111
],
112112
env=[
113113
# Secret environment variables needed to be added beforehand

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
},
3131
classifiers=[
3232
"Programming Language :: Python :: 3",
33-
'Programming Language :: Python :: 3.9',
3433
'Programming Language :: Python :: 3.10',
3534
'Programming Language :: Python :: 3.11',
3635
'Programming Language :: Python :: 3.12',
@@ -41,5 +40,5 @@
4140
"Operating System :: OS Independent",
4241
"Natural Language :: English"
4342
],
44-
python_requires='>=3.9',
43+
python_requires='>=3.10',
4544
)

0 commit comments

Comments
 (0)