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

Update catalog indexer worker from psycopg2 to psycopg (v3) #5159

Closed
dhruvkb opened this issue Nov 12, 2024 · 0 comments · Fixed by #5161
Closed

Update catalog indexer worker from psycopg2 to psycopg (v3) #5159

dhruvkb opened this issue Nov 12, 2024 · 0 comments · Fixed by #5161
Assignees
Labels
💻 aspect: code Concerns the software code in the repository ✨ goal: improvement Improvement to an existing user-facing feature 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: catalog Related to the catalog and Airflow DAGs

Comments

@dhruvkb
Copy link
Member

dhruvkb commented Nov 12, 2024

Problem

pyscopg v3 is a newer, faster version of the psycopg2 library. We are already using psycopg v3 in the API.

"psycopg >=3.1.18, <4",

Description

The indexer worker should also be updated to use psycopg v3 from the current psycopg2.

"psycopg2 ~= 2.9",

Additional context

Refer to the docs for differences and migration guidelines.

@dhruvkb dhruvkb added ✨ goal: improvement Improvement to an existing user-facing feature 💻 aspect: code Concerns the software code in the repository 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: catalog Related to the catalog and Airflow DAGs labels Nov 12, 2024
@openverse-bot openverse-bot moved this to 📋 Backlog in Openverse Backlog Nov 12, 2024
@dhruvkb dhruvkb self-assigned this Nov 13, 2024
@openverse-bot openverse-bot moved this from 📋 Backlog to 📅 To Do in Openverse Backlog Nov 13, 2024
@openverse-bot openverse-bot moved this from 📅 To Do to 🏗 In Progress in Openverse Backlog Nov 13, 2024
@openverse-bot openverse-bot moved this from 🏗 In Progress to ✅ Done in Openverse Backlog Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository ✨ goal: improvement Improvement to an existing user-facing feature 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: catalog Related to the catalog and Airflow DAGs
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant