Skip to content

Fix a few preexisting issues noticed during review - #1

Merged
srilman merged 5 commits into
srilman:lockspec-platform-mappingfrom
maresb:lockspec-platform-mapping-2
Mar 5, 2023
Merged

Fix a few preexisting issues noticed during review#1
srilman merged 5 commits into
srilman:lockspec-platform-mappingfrom
maresb:lockspec-platform-mapping-2

Conversation

@maresb

@maresb maresb commented Mar 5, 2023

Copy link
Copy Markdown

While reviewing your PR I got confused by some strange preexisting code, which I clean up here.

maresb added 5 commits March 5, 2023 21:49
Filtering categories is opt-in, thus the default of True is wrong.
There is only one active usage of `make_lock_files` which sets
`filter_categories` explicitly, so changing this value shouldn't
break anything.
These lists are not optional, so `or []` doesn't seems to accomplish
anything.
This is obsolete since we no longer use aggregate_lock_specs to
aggregate specs from separate platforms.
We shouldn't compute `platforms` again in a different way. Instead
we pass the value we already computed, and then we perform a
consistency check whenever `len(lock_specs) > 0`.
@maresb

maresb commented Mar 5, 2023

Copy link
Copy Markdown
Author

See the commit annotations for explanations.

@maresb

maresb commented Mar 5, 2023

Copy link
Copy Markdown
Author

Tests: conda#384

@srilman
srilman merged commit 3ce07dc into srilman:lockspec-platform-mapping Mar 5, 2023
@maresb
maresb deleted the lockspec-platform-mapping-2 branch March 5, 2023 22:56
srilman pushed a commit that referenced this pull request Nov 24, 2023
…file

Add test for PipRepository aggregation
srilman pushed a commit that referenced this pull request Dec 21, 2023
* Refactor manylinux tag logic

* Run doctests

* Remove unused logger

* Clarify that legacy manylinux tags aren't glibc versions
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