- 15 Nov, 2021 8 commits
-
-
Export requirements.txt without index URLs Co-authored-by: DBM012 <dustin.moriarty@amfam.com>
DustinMoriarty committed -
get() is a function and not an object with __enter__ (aka context manager)
Krishnaraj Bhat committed -
Branch Vincent committed
-
Branch Vincent committed
-
Ashley Whetter committed
-
When a project specifies a narrow range for the supported python versions, i.e. "python ~= 3.6.1" and the current interpreter falls outside of that range, the fallback code fails to test an available python3.6 interpreter because of a too strict a test.
Jan Harkes committed -
Relates to: #2153 When running `poetry update`, during the download phase when `PYTHONWARNINGS="default"` environment variable is set, multiple different sessions trigger resource warnings. This fixes one of them that occurs during the download phase of the package update. ``` /Users/username/Library/Application Support/pypoetry/venv/lib/python3.10/site-packages/poetry/installation/executor.py:594: ResourceWarning: unclosed <ssl.SSLSocket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('REDACTED', 59025), raddr=('140.108.3.33', 80)> ``` This line references: ``` 593 │ try: 594 │ archive = self._download_archive(operation, link) 595 │ except BaseException: 596 │ cache_directory = self._chef.get_cache_directory_for_link(link) ``` The issue is being caused because the session is being left open when the class is later cleaned up. By adding a destructor method, we can close the session if it exists, preventing this error.Kevin Kirsche committed -
Arun Babu Neelicattu committed
-
- 14 Nov, 2021 25 commits
-
-
test_env_shell_commands_with_stdinput_in_their_arg_work_as_expected contains path comparison which does not take into account potential symlinks. When testing under MacOS and brew-installed python, venv version points to a path with symlink while python outputs the resolved path.
Vladimir Berkutov committed -
Co-authored-by: Arun Babu Neelicattu <arun.neelicattu@gmail.com> Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>
DustinMoriarty committed -
The `debug resolve` had an extra row included in its table, adding extra whitespace. Also, remove a list that is discarded immediately.
Bjorn Neergaard committed -
Bjorn Neergaard committed
-
Bjorn Neergaard committed
-
Bjorn Neergaard committed
-
Bjorn Neergaard committed
-
Bjorn Neergaard committed
-
code-quality.yaml / the `pre-commit` workflow are made a no-op to smooth the transition.
Bjorn Neergaard committed -
* new FIXME: are nameless repositories desired/expected? * new TODO: should the LegacyRepository really inherit from the PyPiRepository?
David Hotham committed -
Resolves: #3412
Brandon Chinn committed -
Document a solution for using passwords that start with a dash. This happened to a few people when using automatically generated tokens in a CI environment. Fixes #2889 Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>
Lukas committed -
Should help with cases like #3397 The existing tests in tests/publishing/test_uploader.py should verify that this doesn't cause regressions.
Shantanu Jain committed -
Updated documentation for more specification about module and project names, due to ModuleOrPackagesNotFound uncertainty. Co-authored-by: Steph Samson <hello@stephsamson.com> Co-authored-by: Paul "TBBle" Hampson <Paul.Hampson@Pobox.com>
Patrick Haller committed -
Bjorn Neergaard committed
-
A lack of a rebase before merge kept this intersection of changes from being properly tested.
Bjorn Neergaard committed -
* Adding a note about being able to specify a package's source repository * Updating the list of options for the add command
Evan Shenkman committed -
fix(utils.patterns): version part in filename must be present according PEP491
finswimmer committed -
Locker will set package.source_url relative to lock path, this made it so that tests were failing if run outside root directory because lock path was set to Path(__file__). With using project_root fixture as lock path now tests can be run from any directory.
Adam Wojtczak committed -
The pre-existing path does not load automatically. Co-authored-by: Ranjan Purbey <ranjan.purbey@gmail.com>
Bjorn Neergaard committed -
Iulian Onofrei committed
-
David Hotham committed
-
Fixes #4575 Related to: - https://github.com/pypa/packaging/issues/456 - https://github.com/python-poetry/poetry-export-plugin/issues/12
Panos Mavrogiorgos committed -
brew installs these automatically
Branch Vincent committed -
David Hotham committed
-
- 13 Nov, 2021 4 commits
-
-
This reverts commit 6e53b90d.
Bjorn Neergaard committed -
danieleades committed
-
danieleades committed
-
Arun Babu Neelicattu committed
-
- 12 Nov, 2021 3 commits
-
-
Closes #4479 The previous implementation would fail to install packages on Windows because it creates a `Path` starting with a slash. Such a `Path` is invalid on Windows. Instead, use `Link` and `url_to_path`.
Ambrose Chua committed -
* Improves wording of exception when calculated hash absent from lockfile and extracts archive hashing and validation to a separate method I think this could be further improved by representing the hashes as a dataclass containing the hash type and the string digest. The types of hashes would be more robust then instead of hardcoding sha256 here and in `FileDependency.hash()`. It would also enable enumeration of hash types of known hashes so that `FileDependency.hash()` could return a list of hashes based on requested types. Doing this might alleviate the md5/sha256 problems arising from changes in poetry-core 1.0.6+ that affect Poetry 1.1.7+ users using Artifactory. Co-authored-by: Arun Babu Neelicattu <arun.neelicattu@gmail.com>
Colin Dean committed -
This is a continuation of/supersedes #1742. Co-authored-by: Egor <Birdi7@users.noreply.github.com> Co-authored-by: Bjorn Neergaard <bjorn@neersighted.com>
Bjorn Neergaard committed
-