Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/functional_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
env: ["3.10", "3.11"] #, "3.12", "3.13", "3.14"
env: ["3.10", "3.11", "3.12"] #, "3.13", "3.14"
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v5
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.11
3.12
2 changes: 1 addition & 1 deletion docker/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN go install github.com/ossf/scorecard/v5@v5.1.1 \


########################################
FROM python:3.11-slim-bullseye
FROM python:3.12-slim-bullseye

LABEL maintainer="outdoors@acm.org"

Expand Down
18 changes: 10 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ license-files = ["LICENSE"]
classifiers = [
"Intended Audience :: Developers",
"Topic :: Software Development :: Version Control",
"Programming Language :: Python :: 3.10"
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12"
]
dependencies = [
"alembic>=1.17.1",
"Beaker==1.11.0",
"blinker==1.4",
"bokeh==2.0.2",
"bokeh>=2.4.3",
"boto3==1.17.57",
"bs4==0.0.1",
"celery~=5.5",
Expand Down Expand Up @@ -57,9 +59,9 @@ dependencies = [
"mistune",
"nltk==3.6.6",
"numpy==1.26.0",
"pandas==1.5.3",
"pandas>=1.5.3",
"partd>=0.3.10",
"protobuf<3.22",
"protobuf",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whats the current latest version of this? is this going to cause us to get put on a new major version?

Id also be curious why we were maxing out at 3.22 before.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The latest protobuf version is 6.33.2. However, removing the <3.22 cap allows resolver to choose version 4.25.8, which is compatible with tensorflow 2.17.1. The old cap was probably set because tensorflow 2.15.0 used protobuf 3.20.3. The <3.22 constraint aimed to avoid breaking changes from protobuf 4.x. But newer tensorflow 2.17.1 requires protobuf 4.x+.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh wow, thats a lot of details on the version history

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect this may need to be done together with and/or after #3336 - a lot of our dependencies are probably transitive, like this protobuf one

"psutil==5.8.0",
"psycopg2-binary==2.9.9",
"pylint==2.15.5",
Expand All @@ -68,20 +70,20 @@ dependencies = [
"pyYaml",
"redis==4.3.3",
"requests==2.32.0",
"scikit-image==0.19.1",
"scikit-image>=0.22.0",
"scikit-learn==1.5.0",
"scipy>=1.10.0,<1.13.0",
"seaborn==0.11.1",
"selenium==3.141.0",
"sendgrid",
"six==1.15.0",
"six==1.16.0",
"sklearn==0.0",
"sklearn-crfsuite>=0.3.6",
"slack==0.0.2",
"SQLAlchemy==2.0.22",
"tabulate==0.8.9",
"tenacity==8.3.0",
"tensorflow==2.15.0",
"tensorflow>=2.16.1",
"textblob==0.15.3",
"textual>=0.73.0",
"tomli>=2.2.1 ; python_full_version < '3.11'",
Expand Down Expand Up @@ -163,7 +165,7 @@ constraint-dependencies = [
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py{,311}-{classes}
envlist = py{,311,312}-{classes}
skip_missing_interpreters = true
requires = tox-uv

Expand Down
Loading
Loading