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

[Tech debt] pip is not properly resolving on the internal PyPI when using extras #1115

Open
2 tasks done
mikealfare opened this issue Oct 1, 2024 · 0 comments
Open
2 tasks done

Comments

@mikealfare
Copy link
Contributor

mikealfare commented Oct 1, 2024

Is this a new bug in dbt-spark?

  • I believe this is a new bug in dbt-spark
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

When running pip install dbt-spark[odbc,pyhive] against the internal PyPI server, we are not getting the latest version of dbt-spark. However when we break out the extras as separate dependencies (e.g. pip install dbt-spark pyodbc pyhive), we get the latest version of dbt-spark`.

Expected Behavior

We should get the latest version of dbt-spark when installing dbt-spark[odbc,pyhive] from the internal PyPI, plus the public PyPI versions of pyodbc and pyhive. We suspect it has something to do with the extras and the direct dependency not being on the same PyPI server (direct is on internal PyPI while transients are on public PyPI).

Ideally we can configure our internal index to mirror the desired dependencies from public pypi.

Steps To Reproduce

  1. pip install dbt-spark[odbc,pyhive] with the internal PyPI as an extra index and note that an old version of dbt-spark is installed
  2. pip install dbt-spark pyodbc pyhive with the internal PyPI as an extra index and note that the latest version of dbt-spark is installed

Relevant log output

No response

Environment

- OS:
- Python:
- dbt-core:
- dbt-spark:

Additional Context

No response

@mikealfare mikealfare added bug Something isn't working triage tech_debt and removed bug Something isn't working triage labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant