c2cciutils 1.9.0.dev42__tar.gz → 1.9.0.dev50__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/PKG-INFO +5 -7
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/README.md +4 -4
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/scripts/docker_logs.py +2 -2
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/pyproject.toml +4 -6
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/LICENSE +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/__init__.py +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/applications-versions.yaml +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/branches.graphql +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/commits.graphql +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/configuration.py +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/default_branch.graphql +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/env.py +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/schema.json +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/scripts/__init__.py +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/scripts/env.py +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/scripts/k8s/__init__.py +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/scripts/k8s/db.py +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/scripts/k8s/install.py +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/scripts/k8s/logs.py +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/scripts/k8s/wait.py +0 -0
- {c2cciutils-1.9.0.dev42 → c2cciutils-1.9.0.dev50}/c2cciutils/scripts/main.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: c2cciutils
|
|
3
|
-
Version: 1.9.0.
|
|
3
|
+
Version: 1.9.0.dev50
|
|
4
4
|
Summary: Common utilities for Camptocamp CI
|
|
5
5
|
License: FreeBSD
|
|
6
6
|
License-File: LICENSE
|
|
@@ -15,8 +15,6 @@ Classifier: Operating System :: OS Independent
|
|
|
15
15
|
Classifier: Programming Language :: Python
|
|
16
16
|
Classifier: Programming Language :: Python :: 3
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
20
18
|
Classifier: Typing :: Typed
|
|
21
19
|
Requires-Dist: PyYAML (>=6,<7)
|
|
22
20
|
Requires-Dist: applications-download (>=1,<2)
|
|
@@ -118,11 +116,11 @@ To create a patch version you should just create tag.
|
|
|
118
116
|
|
|
119
117
|
In the CI we need to have the following secrets::
|
|
120
118
|
|
|
121
|
-
- `HAS_SECRETS` to be set to 'HAS_SECRETS', to avoid
|
|
119
|
+
- `HAS_SECRETS` to be set to 'HAS_SECRETS', to avoid errors from external
|
|
122
120
|
pull requests, already set globally on Camptocamp organization.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
|
|
122
|
+
The publishing is done by [tag-publish](https://github.com/camptocamp/tag-publish) with the workflow
|
|
123
|
+
`GITHUB_TOKEN`, it doesn't require any additional secret.
|
|
126
124
|
|
|
127
125
|
## Use locally, in the projects that use c2cciutils
|
|
128
126
|
|
|
@@ -90,11 +90,11 @@ To create a patch version you should just create tag.
|
|
|
90
90
|
|
|
91
91
|
In the CI we need to have the following secrets::
|
|
92
92
|
|
|
93
|
-
- `HAS_SECRETS` to be set to 'HAS_SECRETS', to avoid
|
|
93
|
+
- `HAS_SECRETS` to be set to 'HAS_SECRETS', to avoid errors from external
|
|
94
94
|
pull requests, already set globally on Camptocamp organization.
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
|
|
96
|
+
The publishing is done by [tag-publish](https://github.com/camptocamp/tag-publish) with the workflow
|
|
97
|
+
`GITHUB_TOKEN`, it doesn't require any additional secret.
|
|
98
98
|
|
|
99
99
|
## Use locally, in the projects that use c2cciutils
|
|
100
100
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Copyright (c) 2020-2026, Camptocamp SA
|
|
3
3
|
|
|
4
4
|
import argparse
|
|
5
|
-
import datetime
|
|
5
|
+
import datetime as dt
|
|
6
6
|
import subprocess # nosec
|
|
7
7
|
import sys
|
|
8
8
|
from pathlib import Path
|
|
@@ -37,7 +37,7 @@ def main() -> None:
|
|
|
37
37
|
timestamp_args = [f"--since={timestamp_file.read().strip()}Z"]
|
|
38
38
|
|
|
39
39
|
with timestamp_file_path.open("w", encoding="utf-8") as timestamp_file: # nosec
|
|
40
|
-
timestamp_file.write(
|
|
40
|
+
timestamp_file.write(dt.datetime.now(tz=dt.UTC).isoformat())
|
|
41
41
|
|
|
42
42
|
for name in (
|
|
43
43
|
subprocess.run( # noqa: S603,S607,RUF100
|
|
@@ -27,13 +27,13 @@ PyYAML = "6.0.3"
|
|
|
27
27
|
applications-download = "1.5.0"
|
|
28
28
|
|
|
29
29
|
[tool.poetry.group.dev.dependencies]
|
|
30
|
-
prospector = { version = "1.
|
|
30
|
+
prospector = { version = "1.20.0", extras = ["with-bandit", "with-mypy", "with-pyroma", "with-ruff", "with_ruff", "with_pyroma"] }
|
|
31
31
|
prospector-profile-duplicated = "1.12.0"
|
|
32
32
|
prospector-profile-utils = "1.27.0"
|
|
33
|
-
ruff = "0.
|
|
33
|
+
ruff = "0.17.2"
|
|
34
34
|
types-requests = "2.33.0.20261006"
|
|
35
35
|
types-pyyaml = "6.0.12.20260906"
|
|
36
|
-
pylint = "4.
|
|
36
|
+
pylint = "4.1.3"
|
|
37
37
|
|
|
38
38
|
[tool.poetry-dynamic-versioning]
|
|
39
39
|
enable = false
|
|
@@ -66,8 +66,6 @@ classifiers = [
|
|
|
66
66
|
'Programming Language :: Python',
|
|
67
67
|
'Programming Language :: Python :: 3',
|
|
68
68
|
'Programming Language :: Python :: 3.11',
|
|
69
|
-
'Programming Language :: Python :: 3.12',
|
|
70
|
-
'Programming Language :: Python :: 3.13',
|
|
71
69
|
'Typing :: Typed',
|
|
72
70
|
]
|
|
73
71
|
dynamic = ["dependencies"]
|
|
@@ -86,7 +84,7 @@ include = [
|
|
|
86
84
|
]
|
|
87
85
|
requires-python = ">=3.11"
|
|
88
86
|
dependencies = ["requests<3,>=2", "ruamel.yaml<1,>=0", "PyYAML<7,>=6", "applications-download<2,>=1"]
|
|
89
|
-
version = "1.9.0.
|
|
87
|
+
version = "1.9.0.dev50"
|
|
90
88
|
|
|
91
89
|
[project.urls]
|
|
92
90
|
repository = "https://github.com/camptocamp/c2cciutils"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|