cfengine 0.3.0__tar.gz → 0.3.1__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.
Files changed (35) hide show
  1. {cfengine-0.3.0 → cfengine-0.3.1}/.github/dependabot.yml +8 -0
  2. {cfengine-0.3.0 → cfengine-0.3.1}/.github/workflows/black-check.yml +3 -0
  3. {cfengine-0.3.0 → cfengine-0.3.1}/.github/workflows/black-format.yml +4 -0
  4. cfengine-0.3.1/.github/workflows/pypi-publish.yml +50 -0
  5. {cfengine-0.3.0 → cfengine-0.3.1}/.github/workflows/tests.yml +4 -1
  6. {cfengine-0.3.0 → cfengine-0.3.1}/PKG-INFO +1 -2
  7. {cfengine-0.3.0 → cfengine-0.3.1}/pyproject.toml +0 -1
  8. {cfengine-0.3.0 → cfengine-0.3.1}/src/cfengine.egg-info/PKG-INFO +1 -2
  9. cfengine-0.3.0/.github/workflows/pypi-publish.yml +0 -34
  10. {cfengine-0.3.0 → cfengine-0.3.1}/.gitignore +0 -0
  11. {cfengine-0.3.0 → cfengine-0.3.1}/.python-version +0 -0
  12. {cfengine-0.3.0 → cfengine-0.3.1}/HACKING.md +0 -0
  13. {cfengine-0.3.0 → cfengine-0.3.1}/LICENSE +0 -0
  14. {cfengine-0.3.0 → cfengine-0.3.1}/README.md +0 -0
  15. {cfengine-0.3.0 → cfengine-0.3.1}/main.py +0 -0
  16. {cfengine-0.3.0 → cfengine-0.3.1}/setup.cfg +0 -0
  17. {cfengine-0.3.0 → cfengine-0.3.1}/src/cfengine.egg-info/SOURCES.txt +0 -0
  18. {cfengine-0.3.0 → cfengine-0.3.1}/src/cfengine.egg-info/dependency_links.txt +0 -0
  19. {cfengine-0.3.0 → cfengine-0.3.1}/src/cfengine.egg-info/entry_points.txt +0 -0
  20. {cfengine-0.3.0 → cfengine-0.3.1}/src/cfengine.egg-info/requires.txt +0 -0
  21. {cfengine-0.3.0 → cfengine-0.3.1}/src/cfengine.egg-info/top_level.txt +0 -0
  22. {cfengine-0.3.0 → cfengine-0.3.1}/src/cfengine_cli/__init__.py +0 -0
  23. {cfengine-0.3.0 → cfengine-0.3.1}/src/cfengine_cli/__main__.py +0 -0
  24. {cfengine-0.3.0 → cfengine-0.3.1}/src/cfengine_cli/commands.py +0 -0
  25. {cfengine-0.3.0 → cfengine-0.3.1}/src/cfengine_cli/main.py +0 -0
  26. {cfengine-0.3.0 → cfengine-0.3.1}/src/cfengine_cli/paths.py +0 -0
  27. {cfengine-0.3.0 → cfengine-0.3.1}/src/cfengine_cli/shell.py +0 -0
  28. {cfengine-0.3.0 → cfengine-0.3.1}/src/cfengine_cli/utils.py +0 -0
  29. {cfengine-0.3.0 → cfengine-0.3.1}/src/cfengine_cli/version.py +0 -0
  30. {cfengine-0.3.0 → cfengine-0.3.1}/tests/__init__.py +0 -0
  31. {cfengine-0.3.0 → cfengine-0.3.1}/tests/docker/001-docker-install-test.sh +0 -0
  32. {cfengine-0.3.0 → cfengine-0.3.1}/tests/docker/Dockerfile +0 -0
  33. {cfengine-0.3.0 → cfengine-0.3.1}/tests/shell/001-help.sh +0 -0
  34. {cfengine-0.3.0 → cfengine-0.3.1}/tests/test_deps.py +0 -0
  35. {cfengine-0.3.0 → cfengine-0.3.1}/uv.lock +0 -0
@@ -7,3 +7,11 @@ updates:
7
7
  directory: "/"
8
8
  schedule:
9
9
  interval: "weekly"
10
+ prefix: "pip"
11
+ - package-ecosystem: "github-actions"
12
+ directory: "/"
13
+ schedule:
14
+ interval: "weekly"
15
+ reviewers:
16
+ - "olehermanse"
17
+ prefix: "GitHub Actions"
@@ -9,6 +9,9 @@ on:
9
9
  pull_request:
10
10
  branches: [main]
11
11
 
12
+ permissions:
13
+ contents: read
14
+
12
15
  jobs:
13
16
  check:
14
17
  runs-on: ubuntu-22.04
@@ -1,5 +1,9 @@
1
1
  name: Automatically format with Black and submit PR
2
2
 
3
+ permissions:
4
+ contents: read
5
+ pull-requests: write
6
+
3
7
  on:
4
8
  push:
5
9
  branches:
@@ -0,0 +1,50 @@
1
+ # Taken from GH docs:
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ release-build:
9
+ runs-on: ubuntu-24.04
10
+
11
+ permissions:
12
+ contents: read
13
+
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ - uses: actions/setup-python@v5
18
+ with:
19
+ python-version: "3.x"
20
+
21
+ - name: Build release distributions
22
+ run: |
23
+ git fetch --all --tags
24
+ python -m pip install pip
25
+ pip install uv
26
+ uv lock --check
27
+ uv build
28
+
29
+ - name: Upload release-dists as artifact
30
+ uses: actions/upload-artifact@v4
31
+ with:
32
+ name: release-dists
33
+ path: dist/
34
+
35
+ pypi-publish:
36
+ runs-on: ubuntu-24.04
37
+ needs:
38
+ - release-build
39
+ permissions:
40
+ id-token: write
41
+
42
+ steps:
43
+ - name: Retrieve release distributions
44
+ uses: actions/download-artifact@v4
45
+ with:
46
+ name: release-dists
47
+ path: dist/
48
+
49
+ - name: Publish release distributions to PyPI
50
+ uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
@@ -9,13 +9,16 @@ on:
9
9
  pull_request:
10
10
  branches: [main]
11
11
 
12
+ permissions:
13
+ contents: read
14
+
12
15
  jobs:
13
16
  python_version:
14
17
  runs-on: ubuntu-22.04
15
18
  strategy:
16
19
  fail-fast: false
17
20
  matrix:
18
- python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
21
+ python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
19
22
 
20
23
  steps:
21
24
  - uses: actions/checkout@v3
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: cfengine
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Human-oriented CLI for interacting with CFEngine tools
5
5
  License: GNU GENERAL PUBLIC LICENSE
6
6
  Version 3, 29 June 2007
@@ -691,7 +691,6 @@ Classifier: Programming Language :: Python :: 3.10
691
691
  Classifier: Programming Language :: Python :: 3.11
692
692
  Classifier: Programming Language :: Python :: 3.12
693
693
  Classifier: Programming Language :: Python :: 3.13
694
- Classifier: Programming Language :: Python :: 3.14
695
694
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
696
695
  Requires-Python: >=3.9
697
696
  Description-Content-Type: text/markdown
@@ -28,7 +28,6 @@ classifiers = [
28
28
  "Programming Language :: Python :: 3.11",
29
29
  "Programming Language :: Python :: 3.12",
30
30
  "Programming Language :: Python :: 3.13",
31
- "Programming Language :: Python :: 3.14",
32
31
  "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
33
32
  ]
34
33
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: cfengine
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: Human-oriented CLI for interacting with CFEngine tools
5
5
  License: GNU GENERAL PUBLIC LICENSE
6
6
  Version 3, 29 June 2007
@@ -691,7 +691,6 @@ Classifier: Programming Language :: Python :: 3.10
691
691
  Classifier: Programming Language :: Python :: 3.11
692
692
  Classifier: Programming Language :: Python :: 3.12
693
693
  Classifier: Programming Language :: Python :: 3.13
694
- Classifier: Programming Language :: Python :: 3.14
695
694
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
696
695
  Requires-Python: >=3.9
697
696
  Description-Content-Type: text/markdown
@@ -1,34 +0,0 @@
1
- # This workflow will upload a Python Package using Twine when a release is created
2
- # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3
-
4
- name: Upload Python package to PyPi (pip)
5
-
6
- on:
7
- release:
8
- types: [published]
9
-
10
- jobs:
11
- deploy:
12
- runs-on: ubuntu-22.04
13
- permissions:
14
- contents: "read"
15
- id-token: "write"
16
-
17
- steps:
18
- - uses: actions/checkout@v3
19
- - name: Set up Python
20
- uses: actions/setup-python@v5
21
- with:
22
- python-version: "3.x"
23
- - name: Install dependencies
24
- run: |
25
- python -m pip install --upgrade pip
26
- pip install uv
27
- - name: Build
28
- run: |
29
- git fetch --all --tags
30
- uv lock --check
31
- uv build
32
- - name: Build and publish
33
- run: |
34
- uv publish
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