Skip to content

Use PEP508-style requirements, supported by both pip and install_requires - #92

Merged
alastair merged 1 commit into
masterfrom
pep508
May 25, 2022
Merged

Use PEP508-style requirements, supported by both pip and install_requires#92
alastair merged 1 commit into
masterfrom
pep508

Conversation

@alastair

Copy link
Copy Markdown
Collaborator

The git+https://github.com/amCap1712/mbdata.git@upstream-schema-changes#egg=mbdata syntax isn't supported when this value is in install_requires in setup.py.
This caused problems when another project imported BU as a dependency, resulting in a failure to clone the mbdata fork that we're currently using for schema 27.
recent pip also supports installing from a PEP-058 specification, so just switch to that in requrements.txt. This is copied into setup.py and works fine when installing transitive dependencies.

@amCap1712 amCap1712 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, Thanks!

@github-actions

This comment has been minimized.

@alastair
alastair merged commit 21cc2f9 into master May 25, 2022
@alastair
alastair deleted the pep508 branch May 25, 2022 15:00
@github-actions

Copy link
Copy Markdown

Unit Test Results

  1 files  ±0    1 suites  ±0   38s ⏱️ ±0s
81 tests ±0  81 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 21cc2f9. ± Comparison against base commit 21cc2f9.

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