forked from python-poetry/poetry
-
Notifications
You must be signed in to change notification settings - Fork 0
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
No hash as pyproject.toml option #1
Open
Mogost
wants to merge
935
commits into
Agilicus:add-no-hash
Choose a base branch
from
Mogost:no_hash
base: add-no-hash
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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 change replaces the `--no-binary` option introduced in python-poetry#5600 as the original implementation could cause inconsistent results when the add, update or lock commands were used. This implementation makes use of a new configuration `installer.no-binary` to allow for user specification of sdist preference for select packages.
This change ensures that when http repositories inspect package metadata from py2 and py3 wheels, python version requirements are merged. Without this change, in cases where these wheels have different python constraints, attempting to lock these packages will lead to solver errors.
Co-authored-by: Bjorn Neergaard <[email protected]>
… dependencies if the project's python constraint does not allow any version compatible with the marker of the dependency
Co-authored-by: Bjorn Neergaard <[email protected]>
…y#5451) Co-authored-by: Arun Babu Neelicattu <[email protected]> Co-authored-by: Bjorn Neergaard <[email protected]>
Testing against newer versions will help us keep abreast of any upcoming issues. The older versions can be added as partial matrix entries if desirable, but I do not believe this to be necessary. Also re-order mypy in the workflow so that type errors fail fast (before tests are run).
Co-authored-by: Bjorn Neergaard <[email protected]>
Use the version from poetry.core always, one implementation is enough
There are small typos in: - tests/installation/test_pip_installer.py - tests/utils/test_extras.py Fixes: - Should read `namespace` rather than `namepspace`. - Should read `multiple` rather than `multpile`. Signed-off-by: Tim Gates <[email protected]>
updates: - [github.com/hadialqattan/pycln: v2.0.1 → v2.0.4](hadialqattan/pycln@v2.0.1...v2.0.4) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Improve information returned from upload errors * Fix the tests to for new behavior, add one for this specific case
Co-authored-by: Mathieu Kniewallner <[email protected]> Co-authored-by: Mathieu Kniewallner <[email protected]>
updates: - [github.com/asottile/pyupgrade: v2.37.1 → v2.37.2](asottile/pyupgrade@v2.37.1...v2.37.2) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* build(deps): update pre-commit additional dependencies * chore: comply with `flake8-type-checking` following update * chore: comply with `flake8-bugbear` following update * refactor(tests): import `zipp` only on < 3.8
Co-authored-by: Randy Döring <[email protected]>
* Documented the use of the "subdirectory" parameter * Moved the subdir documentation up * Update docs/dependency-specification.md Co-authored-by: Mathieu Kniewallner <[email protected]> * Added @mkniewallner editorial changes Co-authored-by: Mathieu Kniewallner <[email protected]> * Fixed final URL Co-authored-by: Mathieu Kniewallner <[email protected]> Co-authored-by: Mathieu Kniewallner <[email protected]>
* feat(shell_support): add nushell * feat(shell_detection): bump shellingham version + no echo for nushell Co-authored-by: emilien fugier <[email protected]>
python-poetry#6110) * Resolve cwd using os.path.realpath() when generating environment names * Add test_generate_env_name_uses_real_path() unit test * ensure normcase * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: Randy Döring <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Switch `change` to `chance`
Co-authored-by: Randy Döring <[email protected]>
Co-authored-by: Randy Döring <[email protected]>
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/asottile/yesqa: v1.3.0 → v1.4.0](asottile/yesqa@v1.3.0...v1.4.0) - [github.com/asottile/pyupgrade: v2.37.2 → v2.37.3](asottile/pyupgrade@v2.37.2...v2.37.3) - [github.com/hadialqattan/pycln: v2.0.4 → v2.1.1](hadialqattan/pycln@v2.0.4...v2.1.1) - [github.com/pycqa/flake8: 4.0.1 → 5.0.4](PyCQA/flake8@4.0.1...5.0.4) * Update .pre-commit-config.yaml Update flake8 plugins versions * Update .pre-commit-config.yaml * Fix new issues Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bartosz Sokorski <[email protected]>
…tent-hash" This reverts commit ff3f2af.
Co-authored-by: Don Bowman <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Hi @donbowman. I was inspired by your solution and I have small suggestions. What do you think about such a variant of python-poetry#2654
Your implementation is way behind the master and has conflicts. I first wanted to make a rebase and apply your changes, but then I changed my mind.
Also in your implementation when using the add/remove/etc. command, a hash will appear in the file.
I just reverted you commit ff3f2af, merged current upstream, and made the change in eae0f99
I've done a couple of checks and this approach seems to work. It does not require the end user to specify options in cli.