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

[ADAP-584] [Bug] Non-conventional Version Check in Setup.py #633

Closed
2 tasks done
DustinMoriarty opened this issue May 26, 2023 · 4 comments
Closed
2 tasks done

[ADAP-584] [Bug] Non-conventional Version Check in Setup.py #633

DustinMoriarty opened this issue May 26, 2023 · 4 comments
Labels
Stale type:bug Something isn't working

Comments

@DustinMoriarty
Copy link

Is this a new bug in dbt-snowflake?

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

Current Behavior

The setup.py checks the python version using a manual condition statement. This is not conventional python packaging behavior. The package manager is responsible for checking the python version. The python version is documented in the package metadata using the python_requires property. Adding an extra check of the python version deviates from the behavior expected during python packaging.

Expected Behavior

Leave the python_requires setting but remove the condition block.

Steps To Reproduce

Inspect the setup.py.

Relevant log output

No response

Environment

- OS:any
- Python:>=3.7
- dbt-core:any
- dbt-snowflake:1.6.0b2

Additional Context

No response

@DustinMoriarty DustinMoriarty added type:bug Something isn't working triage:product labels May 26, 2023
@github-actions github-actions bot changed the title [Bug] Non-conventional Version Check in Setup.py [ADAP-584] [Bug] Non-conventional Version Check in Setup.py May 26, 2023
@Fleid
Copy link
Contributor

Fleid commented Jun 2, 2023

Removing triage, I agree this should be considered as part of dbt-labs/dbt-adapters#80
When it's officially added in its scope, we should flag this issue as duplicate.

@DustinMoriarty
Copy link
Author

@Fleid : Any thoughts about merging #634 now? Do we need to wait for dbt-labs/dbt-adapters#80?

@Fleid
Copy link
Contributor

Fleid commented Jun 5, 2023

I would wait for dbt-labs/dbt-adapters#80 - if anything else to have everything done together.

Copy link
Contributor

github-actions bot commented Dec 3, 2023

This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants