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

feat(python): Add libmysqlclient-dev libpq-dev for Python #594

Closed

Conversation

MarkusH
Copy link

@MarkusH MarkusH commented Nov 20, 2022

Fixes #98

This pull request installs the development dependencies for mysqlclient and psycopg2 to an image when the Python tool is installed.

Since commands such as python3.11 -m pip install psycopg2 require the Python.h file and the correct Python development library, the wrapper scripts add the CPATH and LD_LIBRARY_PATH environment variables.

@MarkusH
Copy link
Author

MarkusH commented Nov 20, 2022

I'm wondering what the best way would be to test if the pip-compile manager in renovate/renovate image works psycopg2 as a dependency with this new image.

@MarkusH MarkusH mentioned this pull request Nov 20, 2022
4 tasks
test/python/Dockerfile Outdated Show resolved Hide resolved
@viceice
Copy link
Member

viceice commented Nov 25, 2022

needs deconflicting

@viceice viceice marked this pull request as draft November 28, 2022 13:53
@viceice
Copy link
Member

viceice commented Dec 21, 2022

Your last commit broke the bats tests

@ns-ggeorgiev
Copy link

@MarkusH hey, are you planning to finish this soon. I have the same issue.

@viceice
Copy link
Member

viceice commented Nov 29, 2023

done in #1714

@viceice viceice closed this Nov 29, 2023
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.

python: base dependencies
3 participants