Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- run: pip install -r requirements_ci.txt
- run: python -m coverage run --branch --source . -m unittest -v
- if: matrix.os == 'ubuntu-latest'
Expand All @@ -41,8 +40,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.11'
architecture: x64
- run: pip install build
- run: pip install build~=1.2
- run: python -m build
- uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
6 changes: 2 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ pipeline {
set -Eeuxo pipefail
python3 -m twine upload \
dist/${PYTHON_PACKAGE}-${VERSION}-py3-none-any.whl \
dist/${PYTHON_PACKAGE}-${VERSION}.tar.gz \
dist/${PYTHON_PACKAGE}-${VERSION}.zip
dist/${PYTHON_PACKAGE}-${VERSION}.tar.gz
"""
}
}
Expand All @@ -121,8 +120,7 @@ pipeline {
script {
githubUtils.createRelease([
"dist/${PYTHON_PACKAGE}-${VERSION}-py3-none-any.whl",
"dist/${PYTHON_PACKAGE}-${VERSION}.tar.gz",
"dist/${PYTHON_PACKAGE}-${VERSION}.zip"
"dist/${PYTHON_PACKAGE}-${VERSION}.tar.gz"
])
}
}
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[build-system]
build-backend = 'setuptools.build_meta'
requires = [
'boilerplates[setup] ~= 1.0'
'boilerplates[setup] ~= 1.2',
'version-query ~= 1.6'
]

[tool.flake8]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
boilerplates[logging] ~= 1.0
boilerplates[logging] ~= 1.2
version-query ~= 1.5
2 changes: 1 addition & 1 deletion requirements_ci.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-r requirements_test.txt
codecov ~= 2.1
coverage ~= 7.2
flake518 ~= 1.6; python_version >= '3.9'
flake518 ~= 1.6
mypy ~= 1.5
pydocstyle ~= 6.3
pylint ~= 3.3
Expand Down
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-r requirements.txt
boilerplates[packaging-tests] ~= 1.0
boilerplates[packaging-tests] ~= 1.2
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class Package(boilerplates.setup.Package):
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
Expand Down