Commit Graph

8601 Commits

Author SHA1 Message Date
birdhackor 1a6d0e76b4 Format. Fix CI lint issue. 2023-09-02 18:28:51 +08:00
birdhackor 5882e8d0d8 Add corresponding documentation for PIPENV_REQUESTS_TIMEOUT 2023-09-02 12:20:22 +08:00
birdhackor 4dc5980927 Use PIPENV_REQUESTS_TIMEOUT for timeout setting when use requests. 2023-09-02 11:12:17 +08:00
birdhackor e1c00e0bea Add PIPENV_REQUESTS_TIMEOUT environment variable 2023-09-02 11:04:51 +08:00
Matt Davis 84ce337847 Handle case of not resolving all hashes from the google artifact registry 2023-09-01 17:53:06 -04:00
Matt Davis bdd94b7484 Merge branch 'main' into issue-5827-compat 2023-09-01 17:42:52 -04:00
github-actions[bot] 440880a342 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-01 14:36:17 +00:00
Matt Davis fd76fd84cd merge with main 2023-09-01 10:32:59 -04:00
kalebmckale 5f220a0a36 Replace "python setup.py" builds with "python -m build"
Found left-over remnants of `setup.py` install and updated with current
build method using `build` package.
2023-09-01 08:57:17 -04:00
kalebmckale 486d003829 Update build to use exclusively pyproject.toml
- consolidates all of `setuptools` metadata and configuration as well
as `coverage` configuration within `pyproject.toml`.
- removes deprecated `setup.cfg` and `setup.py`.
- updates `run-tests.sh` to use 	`pyproject.toml` instead of
`setup.cfg` for `coverage` configuration.
2023-09-01 08:54:39 -04:00
github-actions[bot] 246f795a11 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-01 10:04:53 +00:00
Matt Davis 3b62d9119e minor doc build linting 2023-09-01 05:45:37 -04:00
Matt Davis 7520f6983b Top level Pipfile sys_platform markers should be transitive (#5892)
* Top level Pipfile sys_platform markers should be transitive
* Add platform_machine top level specifier
* Handle case where markers is None
* more safety checks
* relock on python 3.7

---------

Co-authored-by: Christian Clauss <cclauss@me.com>
2023-09-01 05:15:36 -04:00
Matt Davis 56d1e1cd72 Handle more variations in private index html to improve hash collection (#5898)
* Handle more cases of hash collection

* add news fragment
2023-09-01 05:02:12 -04:00
Matt Davis 8caed47350 Merge pull request #5889 from nagaripratap/main
[fix] Update cacert.pem to remove vulnerable e-tugra certificates
2023-09-01 04:52:22 -04:00
Christian Clauss 705919b40b Pipfile: Add build and twine (#5901)
* Pipfile: Add build and twine
2023-08-31 21:27:00 -04:00
Matt Davis 4cf36f82a7 Apply patch for install_search_all_sources = True (#5895)
* Apply patch for install_search_all_sources = True
* patch the patch
* Add news fragment
* add back test of install_search_all_sources
2023-08-31 20:16:07 -04:00
Matt Davis bf542b1f04 Set log level in resolver to WARN when verbose is not passed (#5897)
* Set log level in resolver to WARN when verbose is not passed
2023-08-31 19:55:17 -04:00
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