chore: downgrade python requirement to 3.12#319
Open
allison-truhlar wants to merge 3 commits intomainfrom
Open
chore: downgrade python requirement to 3.12#319allison-truhlar wants to merge 3 commits intomainfrom
allison-truhlar wants to merge 3 commits intomainfrom
Conversation
Restores psycopg2 package to both project dependencies and pixi dependencies to enable PostgreSQL database connections with SQLAlchemy. The psycopg2-binary package was removed in the Python 3.12 downgrade, but is required for PostgreSQL support. Using psycopg2 from conda-forge instead of psycopg2-binary to ensure compatibility with pixi.
neomorphic
reviewed
Mar 2, 2026
Member
neomorphic
left a comment
There was a problem hiding this comment.
This breaks the production deployment as we need to have the psycopg2 package installed to use postgreSQL. I have pushed an update that restores it.
| loguru = ">=0.7.3,<0.8" | ||
| lxml = ">=5.3.1" | ||
| pandas = ">=2.3.3,<3" | ||
| psycopg2-binary = ">=2.9.10,<3" |
Member
There was a problem hiding this comment.
We need psycopg2 in order to connect to postgreSQL in production.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This addresses issue #318
I noticed there were some unused dependencies listed under
[tool.pixi.dependencies], specifically,aiosqliteandpsycopg2-binary. I also removed the version requirements forhttpxandlxml, as these are not direct dependencies and the required versions resolved without the listed requirements. Removing these and downgrading the Python requirement to>=3.12.0from>=3.14.0, the application built fine and passed all tests. I manually tested the Okta login flow and it worked as well.I tried decreasing the Python minor version to
>=3.11.0, but x2s3 requires Python 3.12.*, so the dependencies could not resolve.