-
Notifications
You must be signed in to change notification settings - Fork 58
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
Fixed version parsing in AnacondaChannel #944
Merged
sfc-gh-pczajka
merged 29 commits into
main
from
SNOW-1250044-fix-anaconda-availability-check
Apr 8, 2024
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
6299b18
fix package availability parsing in Anaconda
sfc-gh-pczajka ac0894f
fix non-pep508 version formats
sfc-gh-pczajka cb9457f
update release notes
sfc-gh-pczajka eba4926
fix unit tests
sfc-gh-pczajka 0ae2fd1
fix dependency format in sql commands
sfc-gh-pczajka 69eae89
fix calculating diff between anaconda and requirements
sfc-gh-pczajka 23ebdbe
fix unit tests
sfc-gh-pczajka 7f893db
fix unit test
sfc-gh-pczajka e479ab2
review fixes part 1
sfc-gh-pczajka 429b2cb
run pre-commit
sfc-gh-pczajka 4e8f374
Add pre-commit hook to use our implementation of Requirements
sfc-gh-pczajka 9ec3d3a
standarize name while parsing a requirement
sfc-gh-pczajka 3df8cd0
fix unit tests IN PROGRESS
sfc-gh-pczajka 14cd3ef
Merge branch 'main' into SNOW-1250044-fix-anaconda-availability-check
sfc-gh-pczajka 0c43754
save anaconda package names in requirements.snowflake.txt
sfc-gh-pczajka 989e81d
fix tests
sfc-gh-pczajka 0dbae45
Merge branch 'main' into SNOW-1250044-fix-anaconda-availability-check
sfc-gh-pczajka 1decec9
fix unit tests
sfc-gh-pczajka 45bd493
Lookup: return all possible versions if available versions cannot be …
sfc-gh-pczajka a53b156
smallfix
sfc-gh-pczajka 071c8ec
Merge branch 'main' into SNOW-1250044-fix-anaconda-availability-check
sfc-gh-pczajka 0dfe66f
refactor
sfc-gh-pczajka 83a73f7
refactor anaconda
sfc-gh-pczajka 0cd9c13
refactor
sfc-gh-pczajka e3b5a09
sort available versions in decreasing order
sfc-gh-pczajka 472ea75
Merge branch 'main' into SNOW-1250044-fix-anaconda-availability-check
sfc-gh-pczajka a1c3ee2
refactor ignore_anaconda logic
sfc-gh-pczajka 0549559
Merge branch 'main' into SNOW-1250044-fix-anaconda-availability-check
sfc-gh-pczajka b351a3a
Merge branch 'main' into SNOW-1250044-fix-anaconda-availability-check
sfc-gh-pczajka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this method requires anaconda or packages available in anaconda? If the latter is true the we can do something like
In this way we have clear interface. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refactored - I've added
AnacondaChannel.empty()
, which ignores all packages. This waydownload_unavailable_packages
can forget aboutignore_anacoda=true
caseThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice and clean 🚀