8733 Commits

Author SHA1 Message Date
Matt Davis 90714e2268 Relative paths improvements for editable installs (#5896)
* Relative paths improvements for editable installs
2023-08-31 19:53:26 -04:00
Matt Davis 16334c9139 Merge pull request #5873 from cclauss/ruff-rules-SIM
ruff rules SIM
2023-08-30 19:42:12 -04:00
Christian Clauss 22223f0084 ruff rules SIM 2023-08-30 14:51:20 +02:00
nagaripratap 9703b797b4 [fix] Update cacert.pem
Removed vulnerable e-tugra certificates
2023-08-29 21:00:32 +08:00
Matt Davis cff4540f6e Attempt to restore prior behavior of collecting hashes ignoring the compatibility of the current system 2023-08-28 22:21:54 -04:00
Matt Davis a09dd292d0 Restore the ignore compatability finder patch from prior pipenv versions 2023-08-28 22:13:56 -04:00
github-actions[bot] a6cf499052 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-29 01:08:13 +00:00
Matt Davis 10d4d96ff1 Release v2023.8.28 2023-08-28 21:05:54 -04:00
Matt Davis 8aa204e428 Assorted local editable file file fixes (#5886)
* Do not consider something a local editable file unless the -e flag is passed.
* Add editable to Pipfile when specifie
* Ensure lockfile matches Pipfile for editable specification
* Handle more edge cases of parsing setup.py using ast in different python versions.
* Can assume if the name ends with an installable file extension its not a named requirement.
* Simplify logic
* Add news fragment.
2023-08-28 21:04:35 -04:00
Matt Davis 47ead915a3 Do not lock or sync when running in outdated mode (#5875) 2023-08-28 19:52:47 -04:00
Matt Davis 413675fd33 Revert change that caused the credentials in source url issue (#5882)
* fully revert this change to fix the credentials in source url issue
2023-08-28 19:52:21 -04:00
Mathieu Dupuy 6cd5a99df0 clean of .rst leftovers in commands.md (#5876) 2023-08-28 05:43:23 -04:00
github-actions[bot] c0d83c9e33 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-26 23:24:24 +00:00
Matt Davis e446087581 Release v2023.8.26 2023-08-26 19:22:07 -04:00
Matt Davis 08c14e9a90 Fix for sys platform markers from Pipfile + fix for vcs subdirectory fragments (#5871)
* Fix not considering sys platform markers from Pipfile
* Fix for handling vcs subdirectory fragments
* Add news fragments
2023-08-26 19:21:24 -04:00
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