dockerfile-analyzer 0.4.4__tar.gz → 0.4.5__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 (23) hide show
  1. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/.github/workflows/CI.yml +20 -6
  2. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/Cargo.lock +1 -1
  3. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/Cargo.toml +1 -1
  4. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/PKG-INFO +6 -1
  5. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/pyproject.toml +6 -1
  6. dockerfile_analyzer-0.4.5/requirements-dev.txt +2 -0
  7. dockerfile_analyzer-0.4.4/requirements-dev.txt +0 -2
  8. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/.cargo/config.toml +0 -0
  9. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/.github/dependabot.yml +0 -0
  10. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/.gitignore +0 -0
  11. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/LICENSE +0 -0
  12. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/README.md +0 -0
  13. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/dockerfile_analyzer.pyi +0 -0
  14. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/example.py +0 -0
  15. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/py.typed +0 -0
  16. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/src/analyzer.rs +0 -0
  17. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/src/constants.rs +0 -0
  18. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/src/lib.rs +0 -0
  19. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/src/models.rs +0 -0
  20. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/src/parse_utils.rs +0 -0
  21. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/tests/fixtures/multistage.Dockerfile +0 -0
  22. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/tests/test_analyze_dockerfile.py +0 -0
  23. {dockerfile_analyzer-0.4.4 → dockerfile_analyzer-0.4.5}/tests/test_stages.py +0 -0
@@ -76,19 +76,27 @@ jobs:
76
76
  PYO3_PYTHON: python
77
77
 
78
78
  python-test:
79
- name: python test
79
+ name: python test (${{ matrix.python-version }})
80
80
  runs-on: ubuntu-latest
81
+ strategy:
82
+ fail-fast: false
83
+ matrix:
84
+ # Keep in sync with requires-python in pyproject.toml.
85
+ python-version: ["3.13", "3.14", "3.15"]
81
86
  steps:
82
87
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
83
- - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
88
+ - id: setup-python
89
+ uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
84
90
  with:
85
- # Keep in sync with requires-python in pyproject.toml.
86
- python-version: "3.14"
91
+ python-version: ${{ matrix.python-version }}
92
+ allow-prereleases: true
87
93
  - uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # master
88
94
  with:
89
95
  # A commit pin does not get the branch-name default of stable.
90
96
  toolchain: stable
91
97
  - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
98
+ with:
99
+ key: python-${{ steps.setup-python.outputs.python-version }}
92
100
  - name: Install dev dependencies
93
101
  run: |
94
102
  python -m venv .venv
@@ -188,7 +196,10 @@ jobs:
188
196
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
189
197
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
190
198
  with:
191
- python-version: 3.x
199
+ python-version: |
200
+ 3.x
201
+ 3.15
202
+ allow-prereleases: true
192
203
  architecture: ${{ matrix.platform.target }}
193
204
  - name: Build wheels
194
205
  uses: PyO3/maturin-action@v1
@@ -217,7 +228,10 @@ jobs:
217
228
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
218
229
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
219
230
  with:
220
- python-version: 3.x
231
+ python-version: |
232
+ 3.x
233
+ 3.15
234
+ allow-prereleases: true
221
235
  - name: Build wheels
222
236
  uses: PyO3/maturin-action@v1
223
237
  with:
@@ -14,7 +14,7 @@ dependencies = [
14
14
 
15
15
  [[package]]
16
16
  name = "dockerfile-analyzer"
17
- version = "0.4.4"
17
+ version = "0.4.5"
18
18
  dependencies = [
19
19
  "docker-image",
20
20
  "parse-dockerfile",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "dockerfile-analyzer"
3
- version = "0.4.4"
3
+ version = "0.4.5"
4
4
  edition = "2024"
5
5
  readme = "README.md"
6
6
 
@@ -1,8 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dockerfile-analyzer
3
- Version: 0.4.4
3
+ Version: 0.4.5
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: Programming Language :: Python :: 3 :: Only
8
+ Classifier: Programming Language :: Python :: 3.13
9
+ Classifier: Programming Language :: Python :: 3.14
10
+ Classifier: Programming Language :: Python :: 3.15
6
11
  License-File: LICENSE
7
12
  Summary: Analyzes Dockerfiles and provides comprehensive insights including stage information, base images, multistage build analysis, instruction statistics, environment variables, labels, arguments, and exposed ports.
8
13
  License-Expression: MIT
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["maturin>=1.9,<2.0"]
2
+ requires = ["maturin>=1.16,<2.0"]
3
3
  build-backend = "maturin"
4
4
 
5
5
  [project]
@@ -9,6 +9,11 @@ requires-python = ">=3.13"
9
9
  classifiers = [
10
10
  "Programming Language :: Rust",
11
11
  "Programming Language :: Python :: Implementation :: CPython",
12
+ "Programming Language :: Python :: 3",
13
+ "Programming Language :: Python :: 3 :: Only",
14
+ "Programming Language :: Python :: 3.13",
15
+ "Programming Language :: Python :: 3.14",
16
+ "Programming Language :: Python :: 3.15",
12
17
  ]
13
18
  license = "MIT"
14
19
  license-files = ["LICEN[CS]E*"]
@@ -0,0 +1,2 @@
1
+ maturin>=1.16.0
2
+ pytest>=9.1.1
@@ -1,2 +0,0 @@
1
- maturin>=1.14.0
2
- pytest>=9.1.1