Skip to content
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
wants to merge 935 commits into
base: add-no-hash
Choose a base branch
from

Conversation

Mogost
Copy link

@Mogost Mogost commented Aug 11, 2022

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.

abn and others added 30 commits May 13, 2022 17:37
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
…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).
Use the version from poetry.core always, one implementation is enough
timgates42 and others added 30 commits July 17, 2022 17:48
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
* 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`
* [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]>
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.