Skip to content

Commit 6ae99d3

Browse files
committed
Merge branch 'release/25.1.0'
2 parents 864d52d + 58e3d72 commit 6ae99d3

File tree

130 files changed

+5898
-1529
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+5898
-1529
lines changed

.github/workflows/test-build.yml

Lines changed: 40 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,59 +5,71 @@ on: [push, pull_request, workflow_dispatch]
55
jobs:
66

77
build:
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-24.04
99
env:
10-
GHA_DISTRO: ubuntu-20.04
10+
GHA_DISTRO: ubuntu-24.04
1111
if: "!contains(github.event.head_commit.message, 'skip ci')"
1212
strategy:
1313
matrix:
14-
python-version: [3.6]
14+
python-version: [3.13]
1515
steps:
1616
- name: Git checkout
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
18+
1819
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v4
2021
with:
2122
python-version: ${{ matrix.python-version }}
23+
2224
- name: Cache Build Requirements
2325
id: pip-cache-step
2426
uses: actions/cache@v4
2527
with:
26-
path: ${{ env.pythonLocation }}
27-
key: ${{ env.GHA_DISTRO }}-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt', 'dev-requirements.txt') }}
28-
- name: install dependencies
29-
if: steps.pip-cache-step.outputs.cache-hit != 'true'
28+
path: ~/.cache/pip
29+
key: ${{ env.GHA_DISTRO }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml', 'poetry.lock') }}
30+
31+
- name: Install dependencies
3032
run: |
31-
python -m pip install --upgrade pip==18.1
32-
pip install -r dev-requirements.txt
33+
python3 -m pip install poetry==2.1.2
34+
poetry install --no-root --without=docs --with=dev
3335
3436
runtests:
3537
name: Run unit tests
3638
needs: build
37-
runs-on: ubuntu-20.04
39+
runs-on: ubuntu-24.04
3840
env:
39-
GHA_DISTRO: ubuntu-20.04
41+
GHA_DISTRO: ubuntu-24.04
42+
strategy:
43+
matrix:
44+
python-version: [3.13]
4045
steps:
41-
- uses: actions/checkout@v2
42-
- name: Set up Python 3.6
43-
uses: actions/setup-python@v2
46+
- uses: actions/checkout@v3
47+
48+
- name: Set up Python ${{ matrix.python-version }}
49+
uses: actions/setup-python@v4
4450
with:
45-
python-version: 3.6
51+
python-version: ${{ matrix.python-version }}
52+
4653
- name: Cache pip
4754
uses: actions/cache@v4
4855
with:
49-
path: ${{ env.pythonLocation }}
50-
key: ${{ env.GHA_DISTRO }}-${{ env.pythonLocation }}-${{ hashFiles('requirements.txt', 'dev-requirements.txt') }}
51-
- name: run syntax checks
52-
run: |
53-
flake8 .
54-
- name: build plugins
56+
path: ~/.cache/pip
57+
key: ${{ env.GHA_DISTRO }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml', 'poetry.lock') }}
58+
59+
- name: Install test dependencies
5560
run: |
56-
python setup.py develop
57-
- name: run unit tests
61+
python3 -m pip install poetry==2.1.2
62+
python3 -m pip install setuptools==80.1.0
63+
poetry install --without=docs --with=dev
64+
65+
- name: Run flake8
66+
run: poetry run flake8 .
67+
68+
- name: Run unit tests
5869
run: |
59-
py.test --cov-report term-missing --cov waterbutler tests
60-
- name: Upload coverage data to coveralls.io
61-
run: coveralls --service=github
70+
poetry run pytest --cov-report term-missing --cov waterbutler tests
71+
72+
- name: Upload coverage to Coveralls
73+
run: poetry run coveralls --service=github
6274
env:
6375
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
ChangeLog
33
*********
44

5+
25.1.0 (2025-08-08)
6+
===================
7+
8+
- WB Upgrade
9+
510
25.0.0 (2025-02-21)
611
===================
712

Dockerfile

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.6-slim-buster
1+
FROM python:3.13-slim
22

33
RUN usermod -d /home www-data && chown www-data:www-data /home
44

@@ -14,9 +14,10 @@ RUN apt-get update \
1414
build-essential \
1515
libssl-dev \
1616
libffi-dev \
17-
python-dev \
1817
gnupg2 \
1918
# grab gosu for easy step-down from root
19+
cargo \
20+
rustc \
2021
gosu \
2122
&& apt-get clean \
2223
&& apt-get autoremove -y \
@@ -25,21 +26,22 @@ RUN apt-get update \
2526
RUN mkdir -p /code
2627
WORKDIR /code
2728

28-
RUN pip install -U pip==18.1
29-
RUN pip install setuptools==37.0.0
30-
31-
COPY ./requirements.txt /code/
32-
33-
RUN pip install --no-cache-dir -r /code/requirements.txt
29+
COPY pyproject.toml poetry.lock* /code/
30+
RUN pip install poetry==2.1.2
31+
RUN pip install setuptools==80.1.0
32+
RUN poetry install --no-root --without=docs
3433

3534
# Copy the rest of the code over
3635
COPY ./ /code/
3736

3837
ARG GIT_COMMIT=
39-
ENV GIT_COMMIT ${GIT_COMMIT}
38+
ENV GIT_COMMIT=${GIT_COMMIT}
39+
ENV POETRY_NO_INTERACTION=1
40+
ENV POETRY_VIRTUALENVS_CREATE=0
41+
ENV POETRY_VIRTUALENVS_IN_PROJECT=1
4042

41-
RUN python setup.py develop
43+
RUN poetry install --without docs
4244

4345
EXPOSE 7777
4446

45-
CMD ["gosu", "www-data", "invoke", "server"]
47+
CMD ["gosu", "www-data", "python3", "-m", "invoke", "server"]

dev-requirements.txt

Lines changed: 0 additions & 16 deletions
This file was deleted.

doc-requirements.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)