forked from Backblaze/B2_Command_Line_Tool
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Manage dependencies with PDM #250
Merged
vbaltrusaitis-reef
merged 22 commits into
reef-technologies:master
from
vbaltrusaitis-reef:master
Feb 5, 2024
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
8fc6e4d
Build with PDM
vbaltrusaitis-reef fba1446
Fix docker tests
vbaltrusaitis-reef e416ee2
Minor fixes
vbaltrusaitis-reef 03ff618
Use pdm in push_docker GH action
vbaltrusaitis-reef 639f957
Check b2sdk dependency before making a release commit
vbaltrusaitis-reef 9662aea
Build the docs with pdm
vbaltrusaitis-reef c6a20e2
Describe pdm use in CONTRIBUTING.md
vbaltrusaitis-reef b1e8028
Remove setup.py
vbaltrusaitis-reef a54e375
In nox sessions install as non-editable
vbaltrusaitis-reef 2cb2de1
Format with yapf
vbaltrusaitis-reef 38e191d
Install editable by default
vbaltrusaitis-reef d352158
Dump license before building docker
vbaltrusaitis-reef 2a7c12d
Add changelog entry
vbaltrusaitis-reef de594eb
Style fix
vbaltrusaitis-reef d9da353
Multi-stage docker build
vbaltrusaitis-reef cae6b12
Format with yapf
vbaltrusaitis-reef 774919d
Update pdm.lock to match pyproject.toml
vbaltrusaitis-reef 0b95e45
Fix bundling
vbaltrusaitis-reef 92ca332
Merge remote-tracking branch 'backblaze/master'
vbaltrusaitis-reef 7e69959
Improve changelog entry
vbaltrusaitis-reef 82aec06
Install b2 in /opt/b2 in Docker image
vbaltrusaitis-reef 3463fff
Merge remote-tracking branch 'backblaze/master' into pdm
vbaltrusaitis-reef 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
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Use pdm for building, testing and managing dependencies. Remove unnecessary files (continuous integration scripts, tests) from sdist tarball. |
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.
why no hashes?
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.
If you have a non-PyPI dependency (like a dependency on a git repo),
pip install -r requirements.doc
will error out:To be fair, non-PyPI dependencies shouldn't get into master (and definitely definitely not release), so this is only a convenience for testing. But for this use-case this seems pretty harmless, I'm now on the fence if I should remove
--no-hashes
.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.
don't think it matters much - this is run on readthedocs side afterall and only for docs generation;
so the worst case (i.e. someone hacked pypi depdency) our docs get defaced - but at that point it would very cheap price to pay for knowing one of our dependencies were hacked :D