Skip to content

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 requested a review from cimnine November 30, 2022 14:52
@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