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

Pin python docker version to workaround psycopg2 import error #27

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

philipnbbc
Copy link
Contributor

@philipnbbc philipnbbc commented Oct 8, 2024

Details

The unit test reported this error: ImportError: /root/.local/lib/python3.13/site-packages/psycopg2/_psycopg.cpython-313-x86_64-linux-gnu.so: undefined symbol: _PyInterpreterState_Get

psycopg2 doesn't yet support Python 3.13 - see psycopg/psycopg2#1692. The Python package reports that up to Python 3.12 is supported.

Pivotal Story

Story URL:

Related PRs

Where appropriate. Indicate order to be merged.

Links to external test runs/working deployment

Where appropriate, if separate to default CI run

Submitter PR Checks

(tick as appropriate)

  • PR completes task/fixes bug
  • Tests exercise code appropriately
  • New features and API breaks are flagged in commit messages using magic strings
  • Documentation updated (README, Confluence, Docstrings, API spec, Engineering Guide, etc.)
  • Downstream repos have been checked for potential breaks & fixed as needed
  • APIs/UIs/CLIs updated as required
  • PR added to Pivotal story
  • Follow-up stories added to Pivotal
  • Any temporary code/configuration removed (e.g. test deployment environment, temporary commontooling branch)
  • Any pins against pre-releases have been removed

Reviewer PR Checks

(tick as appropriate)

  • PR completes task/fixes bug
  • Tests exercise code appropriately
  • Design makes sense, and fits with our current code base
  • Code is easy to follow
  • PR size is sensible
  • Commit history is sensible and tidy

Info on Cloudfit PRs

@philipnbbc philipnbbc requested a review from a team as a code owner October 8, 2024 09:13
The Python package reports that up to Python 3.12 is supported.

See also psycopg/psycopg2#1692
@philipnbbc philipnbbc force-pushed the philipn-workaround-psycopg2-import-error branch from 1a4dd44 to 4332112 Compare October 8, 2024 09:16
@j616 j616 self-assigned this Oct 8, 2024
@philipnbbc philipnbbc merged commit ff53c96 into main Oct 8, 2024
6 checks passed
@philipnbbc philipnbbc deleted the philipn-workaround-psycopg2-import-error branch October 8, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants