Skip to content

Commit 1d67518

Browse files
committed
build: ensure new boilerplate compatibility
1 parent 6e71738 commit 1d67518

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

.github/workflows/python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
- uses: actions/setup-python@v5
6767
with:
6868
python-version: '3.13'
69-
- run: pip install build
69+
- run: pip install build~=1.2
7070
- run: python -m build
7171
- uses: pypa/gh-action-pypi-publish@release/v1
7272
with:

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ WORKDIR /home/user/version-query
4545
COPY --chown=${USER_ID}:${GROUP_ID} requirements*.txt ./
4646

4747
RUN set -Eeuxo pipefail && \
48-
pip3 install --no-cache-dir -r requirements_ci.txt && \
49-
pip3 uninstall -y version-query
48+
pip3 install --no-cache-dir -r requirements_ci.txt
5049

5150
# prepare version-query for testing
5251

Jenkinsfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ pipeline {
9494
set -Eeuxo pipefail
9595
python3 -m twine upload \
9696
dist/${PYTHON_PACKAGE}-${VERSION}-py3-none-any.whl \
97-
dist/${PYTHON_PACKAGE}-${VERSION}.tar.gz \
98-
dist/${PYTHON_PACKAGE}-${VERSION}.zip
97+
dist/${PYTHON_PACKAGE}-${VERSION}.tar.gz
9998
"""
10099
}
101100
}
@@ -111,8 +110,7 @@ pipeline {
111110
script {
112111
githubUtils.createRelease([
113112
"dist/${PYTHON_PACKAGE}-${VERSION}-py3-none-any.whl",
114-
"dist/${PYTHON_PACKAGE}-${VERSION}.tar.gz",
115-
"dist/${PYTHON_PACKAGE}-${VERSION}.zip"
113+
"dist/${PYTHON_PACKAGE}-${VERSION}.tar.gz"
116114
])
117115
}
118116
}

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ class Package(boilerplates.setup.Package):
1515
'Development Status :: 5 - Production/Stable',
1616
'Environment :: Console',
1717
'Intended Audience :: Developers',
18-
'License :: OSI Approved :: Apache Software License',
1918
'Natural Language :: English',
2019
'Operating System :: MacOS',
2120
'Operating System :: Microsoft :: Windows',

0 commit comments

Comments
 (0)