Skip to content

Commit a680fe6

Browse files
committed
fix: Aktualisierung der CI/CD-Workflows und .gitignore
- Hinzufügung von Leerzeilen zur Verbesserung der Lesbarkeit in .gitignore, ci-cd.yml und manual-release.yml. - Anpassungen in den CI/CD-Workflows zur Behebung von Setuptools-Warnungen und zur Verbesserung der Paketinstallation. Diese Änderungen verbessern die Struktur und Lesbarkeit der Konfigurationsdateien.
1 parent 82497ca commit a680fe6

3 files changed

Lines changed: 104 additions & 5 deletions

File tree

‎.github/workflows/ci-cd.yml‎

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: CI/CD Pipeline
22

3+
34
on:
45
push:
56
branches: [ main, develop ]
@@ -40,7 +41,55 @@ jobs:
4041
run: |
4142
python -m pip install --upgrade pip
4243
pip install -r requirements.txt
43-
pip install pytest pytest-cov flake8 black mypy
44+
pip install pytest pytest-cov flake8 black mypyRun python -m build
45+
* Creating isolated environment: venv+pip...
46+
* Installing packages in isolated environment:
47+
- setuptools>=61.0
48+
- wheel
49+
* Getting build dependencies for sdist...
50+
/tmp/build-env-mnny305u/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
51+
!!
52+
********************************************************************************
53+
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
54+
By 2026-Feb-18, you need to update your project and remove deprecated calls
55+
or your builds will no longer be supported.
56+
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
57+
********************************************************************************
58+
!!
59+
corresp(dist, value, root_dir)
60+
/tmp/build-env-mnny305u/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies)
61+
corresp(dist, value, root_dir)
62+
/tmp/build-env-mnny305u/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `extras_require` overwritten in `pyproject.toml` (optional-dependencies)
63+
corresp(dist, value, root_dir)
64+
/tmp/build-env-mnny305u/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
65+
!!
66+
********************************************************************************
67+
Please consider removing the following classifiers in favor of a SPDX license expression:
68+
License :: OSI Approved :: MIT License
69+
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
70+
********************************************************************************
71+
!!
72+
dist._finalize_license_expression()
73+
/tmp/build-env-mnny305u/lib/python3.9/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
74+
!!
75+
********************************************************************************
76+
Please consider removing the following classifiers in favor of a SPDX license expression:
77+
License :: OSI Approved :: MIT License
78+
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
79+
********************************************************************************
80+
!!
81+
self._finalize_license_expression()
82+
running egg_info
83+
creating bash_script_maker.egg-info
84+
writing bash_script_maker.egg-info/PKG-INFO
85+
writing dependency_links to bash_script_maker.egg-info/dependency_links.txt
86+
writing entry points to bash_script_maker.egg-info/entry_points.txt
87+
writing requirements to bash_script_maker.egg-info/requires.txt
88+
writing top-level names to bash_script_maker.egg-info/top_level.txt
89+
writing manifest file 'bash_script_maker.egg-info/SOURCES.txt'
90+
error: package directory 'bash_script_maker' does not exist
91+
ERROR Backend subprocess exited when trying to invoke get_requires_for_build_sdist
92+
Error: Process completed with exit code 1.
4493

4594
- name: Lint with flake8
4695
run: |
@@ -256,3 +305,4 @@ jobs:
256305
git config --global user.name "github-actions[bot]"
257306
git config --global user.email "github-actions[bot]@users.noreply.github.com"
258307
semantic-release publish
308+
# Finish

‎.github/workflows/manual-release.yml‎

Lines changed: 51 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Manual Release
22

3+
34
on:
45
workflow_dispatch:
56
inputs:
@@ -83,10 +84,55 @@ jobs:
8384
8485
- name: Create git tag
8586
run: |
86-
git config --global user.name "github-actions[bot]"
87-
git config --global user.email "github-actions[bot]@users.noreply.github.com"
88-
git add VERSION
89-
git commit -m "chore: bump version to ${{ steps.new_version.outputs.new_version }}"
87+
git config --global user.name "github-actionsRun python -m build
88+
* Creating isolated environment: venv+pip...
89+
* Installing packages in isolated environment:
90+
- setuptools>=61.0
91+
- wheel
92+
* Getting build dependencies for sdist...
93+
/tmp/build-env-mnny305u/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
94+
!!
95+
********************************************************************************
96+
Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
97+
By 2026-Feb-18, you need to update your project and remove deprecated calls
98+
or your builds will no longer be supported.
99+
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
100+
********************************************************************************
101+
!!
102+
corresp(dist, value, root_dir)
103+
/tmp/build-env-mnny305u/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies)
104+
corresp(dist, value, root_dir)
105+
/tmp/build-env-mnny305u/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `extras_require` overwritten in `pyproject.toml` (optional-dependencies)
106+
corresp(dist, value, root_dir)
107+
/tmp/build-env-mnny305u/lib/python3.9/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
108+
!!
109+
********************************************************************************
110+
Please consider removing the following classifiers in favor of a SPDX license expression:
111+
License :: OSI Approved :: MIT License
112+
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
113+
********************************************************************************
114+
!!
115+
dist._finalize_license_expression()
116+
/tmp/build-env-mnny305u/lib/python3.9/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
117+
!!
118+
********************************************************************************
119+
Please consider removing the following classifiers in favor of a SPDX license expression:
120+
License :: OSI Approved :: MIT License
121+
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
122+
********************************************************************************
123+
!!
124+
self._finalize_license_expression()
125+
running egg_info
126+
creating bash_script_maker.egg-info
127+
writing bash_script_maker.egg-info/PKG-INFO
128+
writing dependency_links to bash_script_maker.egg-info/dependency_links.txt
129+
writing entry points to bash_script_maker.egg-info/entry_points.txt
130+
writing requirements to bash_script_maker.egg-info/requires.txt
131+
writing top-level names to bash_script_maker.egg-info/top_level.txt
132+
writing manifest file 'bash_script_maker.egg-info/SOURCES.txt'
133+
error: package directory 'bash_script_maker' does not exist
134+
ERROR Backend subprocess exited when trying to invoke get_requires_for_build_sdist
135+
Error: Process completed with exit code 1.ps.new_version.outputs.new_version }}"
90136
git tag "v${{ steps.new_version.outputs.new_version }}"
91137

92138
- name: Push changes and tags
@@ -122,3 +168,4 @@ jobs:
122168
- Tarball: [TAR.GZ](https://github.com/${{ github.repository }}/archive/v${{ steps.new_version.outputs.new_version }}.tar.gz)
123169
draft: false
124170
prerelease: false
171+
# Finish

‎.gitignore‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,3 +155,5 @@ Thumbs.db
155155
*.sh.log
156156
test_results/
157157
.temp/
158+
159+
# Finish

0 commit comments

Comments
 (0)