Commit Graph

8518 Commits

Author SHA1 Message Date
Matt Davis 80eeaff945 Add news fragment 2023-08-26 09:42:21 -04:00
Matt Davis ea79c0d6a8 Merge pull request #5863 from kalebmckale/cache-dedupe-sources
Caching properties to deduplicate sources
2023-08-26 09:37:44 -04:00
Matt Davis a3b197e491 Attempt to fix the local/editable file installs (#5870)
* Attempt to fix the local/editable file installs

* More refinements to handling directories vs files and when it is relative vs not

* Add back missing egg fragment (I removed it during the initial removal of requirementslib).  Also fix the latest ruff error.
2023-08-26 14:54:43 +02:00
Oz Tiram 60c8c97a6c Fix usage of format_help (#5872)
* Fix usage of format_help
2023-08-26 07:54:50 -04:00
Christian Clauss 2062c6b1fb dict.keys 2023-08-25 22:51:25 +02:00
Christian Clauss e23890e105 Performance: ruff rules C4 and PERF 2023-08-25 22:51:25 +02:00
Christian Clauss dc5430144d pre-commit autoupdate 2023-08-25 2023-08-25 22:51:04 +02:00
github-actions[bot] 82d6df0dab Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 18:34:19 +00:00
Matt Davis 1a2c0ae473 Release v2023.8.25 2023-08-25 14:32:35 -04:00
Matt Davis d7aed28967 Get the cache working for obtaining file hashes 2023-08-25 20:26:14 +02:00
Matt Davis 4a59b92836 restore docstring 2023-08-25 20:26:14 +02:00
Matt Davis 49b9e98621 Safer open_file for remote files and don't collect bad hashes 2023-08-25 20:26:14 +02:00
Matt Davis 4d4ce1eb9c Dont raise exception since subpocess swallows it, skip file and alert with log message instead. 2023-08-25 20:26:14 +02:00
Matt Davis a95de91c49 Raise an error if fetching the file is not actually succesful. 2023-08-25 20:26:14 +02:00
Matt Davis 876b12592e Add news fragment 2023-08-25 20:26:14 +02:00
Matt Davis 825804fb4a Adjust the Fallback logic for obtaining the hashes from private indexes 2023-08-25 20:26:14 +02:00
kalebmckale 87162712a9 Caching properties to deduplicate sources
Without caching, the Resolver will duplicate the sources listed in the
`Pipfile` multiple times (since the property re-adds them every
they're called) in the arguments sent to the `pip` parser.

Removing unused command-line option `--debug`
2023-08-23 02:29:29 -04:00
github-actions[bot] 76bcb908a5 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-23 01:18:47 +00:00
Matt Davis c9c98afeb1 Release v2023.8.23 2023-08-22 21:16:52 -04:00
Matt Davis a78cad8449 Try to match if the part after @ is a valid ref (reject treating URL parts as refs). (#5856)
* Try to match ref only if the part after @ is a valid ref (reject treating URL parts as refs).
2023-08-22 16:35:23 -04:00
github-actions[bot] 0501f9b821 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-22 10:32:11 +00:00
Matt Davis 8f2757b6e4 Release v2023.8.22 2023-08-22 06:29:38 -04:00
Mathias Fossum d02bfa8795 Update install.py (#5852) 2023-08-22 06:26:50 -04:00
Matt Davis 31c98f3c7d Handle edge case where it is expected ssh:// urls to have at least one @ symbol (#5851)
* Handle edge case where it is expected ssh:// urls to have at least one @ symbol

* add news fragment
2023-08-22 06:25:36 -04:00
Matt Davis c8f446510e Add back --skip-lock flag using the new utilities. (#5847)
* Add back --skip-lock flag using the new utilities.
2023-08-22 06:17:14 -04:00
github-actions[bot] d43a7ae555 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-22 02:20:28 +00:00
Matt Davis d0aca13ed4 Release v2023.8.21 2023-08-21 22:18:41 -04:00
Matt Davis 48bf4bb9c8 Do not include @ when no ref is specified (#5845)
* Do not include @ when no ref is specified
* Handle the @ref from the vcs_url if its in the Pipfile vcs url.
* Also handle an extra ref in the url of the lock file
* Handle case where vcs in Pipfile is just a string
2023-08-21 21:45:41 -04:00
Matt Davis 5f405a10a8 Some performance optimizations after analyzing benchmarks. (#5841)
* Some performance optimizations after analyzing benchmarks. 
* add news fragment
2023-08-21 21:44:02 -04:00
Oz N Tiram 59ac7f1e99 Add news snippet 2023-08-21 01:55:16 +02:00
Oz N Tiram 9d99f47516 Re-add patch and pipdeptree/__main__.py 2023-08-21 01:55:16 +02:00
Oz N Tiram fb26a3cbe0 Pipdeptree __main__ is used .., 2023-08-21 01:55:16 +02:00
Oz N Tiram c20312a690 Only attempt to remove path if it exists 2023-08-21 01:55:16 +02:00
Oz N Tiram 5e109afce9 Really exclude __main__.py and cli.py from vendor 2023-08-21 01:55:16 +02:00
Oz N Tiram ad6d353fe6 Fix vendoring update - delete unused patch 2023-08-21 01:55:16 +02:00
Oz N Tiram 3079892a3c Vendoring task: remove __main__.py and cli.py
Some vendored libraries we ship have a command line interface.
We are not using it, so it's safe to remove.
2023-08-21 01:55:16 +02:00
Oz N Tiram 58b5cf5a22 Remove README.rst from yaspin
Yaspin is no longer shipped with pipenv for a while now.
This should have been removed long ago.
2023-08-21 01:55:16 +02:00
github-actions[bot] 77c1fa4337 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-20 12:21:52 +00:00
Matt Davis 96fe0e630f Release v2023.8.20 2023-08-20 08:20:07 -04:00
Matt Davis 457bd52803 More ruff fixing and convert install routines to rich console 2023-08-20 12:39:40 +02:00
Matt Davis 816502e2d2 fix ruff complaints 2023-08-20 12:39:40 +02:00
Matt Davis 795edf2026 Add news fragment 2023-08-20 11:37:49 +02:00
Matt Davis 2019949fa6 Fix the version output 2023-08-20 11:37:49 +02:00
github-actions[bot] c4b3eabbd6 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-19 20:51:21 +00:00
Matt Davis 1caaf9f3c3 Release v2023.8.19 2023-08-19 16:49:10 -04:00
Matt Davis 6ac1451ec8 stop using requirementslib models (#5793)
* Move away from requirementslib models

* Revise test since PEP-440 does not support wildcard versions but does support equivalent compatible release specifiers.

* simplify and remove dead code

* Ensure the os_name marker is AND with the other markers.

* Move what we still need from requirementslib into the pipenv utils and stop vendoring it.

* Remove requirementslib.

* force upgrade of virtualenv for python 3.12

* remove virtualenv-clone

* Update vcs specifiers documentation; infer name from specific pip line formats where possible.

* Provide helpful text and error for recently removed commands

* Set the right log levels and verbosity to show users the errors generated by pip resolver when supplying -v flag

* Fix the collection of all matching package hashes for non-pypi indexes.  Plus lesson from testing torch which contains local identifiers.
2023-08-19 16:36:52 -04:00
DasaniT be8a084503 Add --categories option to work with requirements txt files 2023-08-17 22:30:53 +02:00
langaaegeskov 5416f80eff Attempt to fix build issues 2023-08-17 22:21:10 +02:00
langaaegeskov 327ea3b7b5 Fixed formatting issues with news item 2023-08-17 22:21:10 +02:00
langaaegeskov 03b4cb8050 Added news snippit for issue #5129 2023-08-17 22:21:10 +02:00