Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 🐍 version 3.13 to build process #1113

Merged
merged 37 commits into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2723dc5
Update test_prs.yml
michplunkett Jul 19, 2024
68a374a
Update test_prs.yml
michplunkett Jul 19, 2024
0d4117d
Update requirements.txt
michplunkett Jul 19, 2024
4f9ac60
Update Dockerfile-test
michplunkett Jul 19, 2024
29cdf3d
Revert "Update requirements.txt"
michplunkett Jul 19, 2024
78787af
Revert "Update Dockerfile-test"
michplunkett Jul 19, 2024
9a1753f
Merge branch 'develop' into add-3.13-to-test-matrix
michplunkett Jul 19, 2024
ba76f5b
Merge branch 'develop' into add-3.13-to-test-matrix
michplunkett Jul 24, 2024
0238338
Merge branch 'develop' into add-3.13-to-test-matrix
michplunkett Jul 29, 2024
8b1fae5
Merge branch 'develop' into add-3.13-to-test-matrix
michplunkett Aug 3, 2024
ae2fabd
Merge branch 'develop' into add-3.13-to-test-matrix
michplunkett Aug 14, 2024
cab6aac
Update requirements.txt
michplunkett Aug 14, 2024
125ba8a
Update requirements.txt
michplunkett Sep 3, 2024
14f9aa4
Update Dockerfile-test
michplunkett Sep 3, 2024
1b9121b
Update Dockerfile-test
michplunkett Sep 3, 2024
7849fd2
Merge branch 'develop' into add-3.13-to-test-matrix
michplunkett Sep 9, 2024
fcdce3d
Merge branch 'develop' into add-3.13-to-test-matrix
michplunkett Oct 9, 2024
29753c9
Update test_prs.yml
michplunkett Oct 22, 2024
670cc3a
Update Dockerfile-test
michplunkett Oct 22, 2024
4b104ed
Update Dockerfile-test
michplunkett Oct 22, 2024
82c681e
Update Dockerfile-test
michplunkett Oct 22, 2024
4822392
Update requirements.txt
michplunkett Oct 22, 2024
b4e1494
Update Dockerfile-test
michplunkett Oct 22, 2024
c5823e5
Update Dockerfile-test
michplunkett Oct 22, 2024
096437c
Update Dockerfile-test
michplunkett Oct 22, 2024
79f180d
Update Dockerfile-test
michplunkett Oct 22, 2024
48b797a
Update Dockerfile-test
michplunkett Oct 22, 2024
968419d
Update Dockerfile-test
michplunkett Oct 22, 2024
bc920c4
Update Dockerfile-test
michplunkett Oct 22, 2024
97a2921
Update Dockerfile-test
michplunkett Oct 22, 2024
237a9fc
Merge branch 'develop' into add-3.13-to-test-matrix
michplunkett Oct 24, 2024
2ce08f6
Merge branch 'develop' into add-3.13-to-test-matrix
michplunkett Nov 7, 2024
eee0b7e
Merge branch 'develop' into add-3.13-to-test-matrix
michplunkett Nov 8, 2024
ff1d8bb
Merge branch 'develop' into add-3.13-to-test-matrix
michplunkett Nov 23, 2024
2da36bc
Merge branch 'develop' into add-3.13-to-test-matrix
michplunkett Nov 26, 2024
85594a0
Merge branch 'develop' into add-3.13-to-test-matrix
michplunkett Jan 2, 2025
d5a2f47
Update requirements.txt
michplunkett Jan 3, 2025
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
2 changes: 1 addition & 1 deletion .github/workflows/test_prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
FLASK_APP: OpenOversight.app
strategy:
matrix:
python-version: ["3.11", "3.12"]
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- name: Run tests
Expand Down
8 changes: 6 additions & 2 deletions dockerfiles/web/Dockerfile-test
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV DISPLAY=:1
ENV PYTHONDONTWRITEBYTECODE=1

# install apt dependencies
RUN apt-get update && apt-get install -y xvfb firefox-esr libpq-dev python3-dev && \
RUN apt-get update && apt-get install -y curl xvfb firefox-esr libpq-dev python3-dev && \
apt-get install -y libsqlite3-0 && apt-get clean

# install geckodriver
Expand All @@ -24,7 +24,11 @@ RUN mkdir geckodriver
RUN tar -xzf geckodriver-${GECKODRIVER_VERSION}-linux64.tar.gz -C geckodriver

COPY requirements.txt dev-requirements.txt /usr/src/app/
RUN pip3 install --no-cache-dir -r requirements.txt && pip3 install --no-cache-dir -r dev-requirements.txt
# install rust and cargo so we can use jellyfish
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y && \
. "$HOME/.cargo/env" && \
pip3 install --no-cache-dir -r requirements.txt && \
pip3 install --no-cache-dir -r dev-requirements.txt

COPY test_data.py /usr/src/app/

Expand Down
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
alembic~=1.11.1
apiclient==1.0.4
attrs~=23.1.0
Authlib==1.3.1
Authlib==1.4.0
Babel~=2.12.1
bleach==6.0.0
bleach-allowlist==1.0.3
Expand All @@ -11,9 +11,9 @@ boto3==1.28.1
botocore==1.31.1
cachetools==5.3.1
certifi==2024.07.04
cffi~=1.15.1
cffi==1.17.1
click==8.1.4
cryptography~=43.0.1
cryptography==44.0.0
Deprecated~=1.2.14
dnspython==2.6.1
docutils~=0.20.1
Expand Down Expand Up @@ -63,7 +63,7 @@ SQLAlchemy==1.4.52
tornado~=6.4
trio==0.22.1
urllib3==1.26.20
us==3.1.1
us==3.2.0
visitor~=0.1.3
webencodings~=0.5.1
Werkzeug==3.0.6
Expand Down
Loading