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
13 changes: 9 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- 3.8
- 3.9
- '3.10'
- '3.11'
Expand Down Expand Up @@ -59,7 +58,9 @@ jobs:
# Fetch all history instead of the latest commit
fetch-depth: 0
- name: Get and set version in env
run: echo "CURRENT_VERSION=$( python setup.py --version )" >> $GITHUB_ENV
run: |
python scripts/write-version.py
echo "CURRENT_VERSION=$( python -c 'from buildrunner.version import __version__; print(__version__)' )" >> $GITHUB_ENV
- name: Print current version
run: echo CURRENT_VERSION ${{ env.CURRENT_VERSION }}
- name: Tag commit
Expand All @@ -76,10 +77,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9
- name: Remove version file
# This is just in case something else created it, destroy it to get a fresh version
run: rm -f buildrunner/version.py
- name: Write version file
run: python scripts/write-version.py
- name: Install wheel
run: pip install wheel build
- name: Build
Expand All @@ -103,7 +106,9 @@ jobs:
# Fetch all history instead of the latest commit
fetch-depth: 0
- name: Get and set version in env
run: echo "CURRENT_VERSION=$( python setup.py --version )" >> $GITHUB_ENV
run: |
python scripts/write-version.py
echo "CURRENT_VERSION=$( python -c 'from buildrunner.version import __version__; print(__version__)' )" >> $GITHUB_ENV
- name: Print current version
run: echo CURRENT_VERSION ${{ env.CURRENT_VERSION }}
- name: Docker Tags
Expand Down
2 changes: 1 addition & 1 deletion BASE_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.15
3.16
12 changes: 0 additions & 12 deletions bin/buildrunner-cleanup

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ buildrunner-cleanup = "buildrunner.cli:clean_cache"
]

[tool.setuptools.packages.find]
exclude = ["*.tests", "*.tests.*", "tests.*", "tests"]
exclude = ["*.tests", "*.tests.*", "tests.*", "tests"]
3 changes: 2 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[pytest]
addopts = --strict-markers
markers =
serial
serial
retries = 2
32 changes: 12 additions & 20 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.8
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile
Expand Down Expand Up @@ -34,7 +34,7 @@ deprecated==1.2.18
# via fabric
docker==7.1.0
# via -r requirements.in
docutils==0.20.1
docutils==0.21.2
# via readme-renderer
fabric==3.2.2
# via -r requirements.in
Expand All @@ -50,11 +50,7 @@ id==1.5.0
# via twine
idna==3.10
# via requests
importlib-metadata==8.5.0
# via
# keyring
# twine
importlib-resources==6.4.5
importlib-metadata==8.6.1
# via keyring
invoke==2.2.0
# via fabric
Expand All @@ -66,15 +62,15 @@ jaraco-functools==4.1.0
# via keyring
jinja2==3.1.6
# via -r requirements.in
keyring==25.5.0
keyring==25.6.0
# via twine
markdown-it-py==3.0.0
# via rich
markupsafe==2.1.5
markupsafe==3.0.2
# via jinja2
mdurl==0.1.2
# via markdown-it-py
more-itertools==10.5.0
more-itertools==10.6.0
# via
# jaraco-classes
# jaraco-functools
Expand All @@ -86,7 +82,7 @@ paramiko==3.5.1
# via
# -r requirements.in
# fabric
portalocker==3.0.0
portalocker==3.1.1
# via -r requirements.in
pycparser==2.22
# via cffi
Expand All @@ -102,11 +98,11 @@ pygments==2.19.1
# rich
pynacl==1.5.0
# via paramiko
python-on-whales==0.75.1
python-on-whales==0.76.1
# via -r requirements.in
pyyaml==6.0.2
# via -r requirements.in
readme-renderer==43.0
readme-renderer==44.0
# via twine
requests==2.32.3
# via
Expand All @@ -133,12 +129,10 @@ twine==6.1.0
# via -r requirements.in
typing-extensions==4.13.0
# via
# annotated-types
# pydantic
# pydantic-core
# python-on-whales
# rich
urllib3==2.2.3
urllib3==2.3.0
# via
# docker
# requests
Expand All @@ -147,7 +141,5 @@ vcsinfo==2.1.110
# via -r requirements.in
wrapt==1.17.2
# via deprecated
zipp==3.20.2
# via
# importlib-metadata
# importlib-resources
zipp==3.21.0
# via importlib-metadata
1 change: 1 addition & 0 deletions test_requirements.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pytest>=7.2.1
pytest-randomly>=3.5.0
pytest-retry>=1.7.0
pytest-cov>=2.10.1
pytest-xdist>=2.4.0
graphlib-backport>=1.0.3
Expand Down
6 changes: 5 additions & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile test_requirements.in
# pip-compile --output-file=test_requirements.txt test_requirements.in
#

attrs==23.1.0
# via
# cattrs
Expand Down Expand Up @@ -51,13 +52,16 @@ pytest==7.3.1
# pytest-cov
# pytest-randomly
# pytest-rerunfailures
# pytest-retry
# pytest-xdist
pytest-cov==4.1.0
# via -r test_requirements.in
pytest-randomly==3.12.0
# via -r test_requirements.in
pytest-rerunfailures==14.0
# via -r test_requirements.in
pytest-retry==1.7.0
# via -r test_requirements.in
pytest-xdist==3.3.1
# via -r test_requirements.in
pyyaml==6.0.1
Expand Down
Loading