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

Optimize psycopg2 dependency #894

Merged
merged 1 commit into from
Nov 30, 2022

Conversation

tobiasge
Copy link
Member

Related Issue: -

New Behavior

Only install one version of psycopg2

Contrast to Current Behavior

psycopg2 and psycopg2-binary were installed

Discussion: Benefits and Drawbacks

From Pypi:
The binary package is a practical choice for development and testing but in production it is advised to use the package built from sources.

Changes to the Wiki

  • None

Proposed Release Note Entry

Only install one version of psycopg2

Double Check

  • I have read the comments and followed the PR template.
  • I have explained my PR according to the information in the comments.
  • My PR targets the develop branch.

We have beeing installing psycopg2 for a while now. This updates to the latest version. Because psycopg2-binary is a direct dependency of Netbox both versions were installled. Now we remove the pre-compiled version from the dependency file.
@tobiasge tobiasge merged commit 80d87bd into netbox-community:develop Nov 30, 2022
@tobiasge tobiasge deleted the psycopg2-changes branch November 30, 2022 15:23
@tobiasge tobiasge mentioned this pull request Dec 15, 2022
3 tasks
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