Commit Graph

7639 Commits

Author SHA1 Message Date
Matt Davis cd18f8fefc More iterating on a problem. 2022-08-19 07:52:08 +02:00
Matt Davis bd9d62d907 More iterating on a problem. 2022-08-19 07:52:08 +02:00
Matt Davis 692f79dc75 More iterating on a problem. 2022-08-19 07:52:08 +02:00
Matt Davis 58e552cb56 this change did not help. 2022-08-19 07:52:08 +02:00
Matt Davis fb0ffa1491 Eperimenting with the CI failures due to setuptools upgrade. 2022-08-19 07:52:08 +02:00
Matt Davis a1a0fc0ea2 Update lock file. 2022-08-19 07:52:08 +02:00
Matt Davis e5bd78e865 Revert this change. 2022-08-19 07:52:08 +02:00
Matt Davis c77c629356 add news fragment. 2022-08-18 19:53:42 -04:00
Dương Quốc Khánh 640612d0d7 Issue 5273 constraints are not recognized (#5274)
* Add more test for get_constraints_from_deps
* Use pip's check_invalid_constraint_type.
2022-08-18 19:52:23 -04:00
Matt Davis 4c393145cc Exclude from resolver constraints the editable dependencies that will be installed. (#5271)
* Exclude from resolver constraints the editable dependencies that will be installed.
2022-08-18 18:14:40 -04:00
github-actions[bot] 697f1a9e9e Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-17 06:27:04 +00:00
Matt Davis 68e2cb1ec3 Release v2022.8.17 2022-08-17 02:23:40 -04:00
Matt Davis 59bebd6dc9 Revert "Remove yaspin and termcolor"
This reverts commit bc56a44f4f.
2022-08-17 02:17:45 -04:00
Matt Davis ea64995393 Add news fragment. 2022-08-17 06:50:00 +02:00
Matt Davis e65468639a Adjust patch file. 2022-08-17 06:50:00 +02:00
Matt Davis 8fc9c365bc Revise how we do the import patch to include only module pipenv. 2022-08-17 06:50:00 +02:00
Oz N Tiram bc56a44f4f Remove yaspin and termcolor
Termcolor is a dependency of yaspin. Yaspin isn't used
anywhere in pipenv. There is a patch for it, and there is also
vistir dependency for it, but we have our own spinner.

Side note, we can consider using rich, which pip uses.
2022-08-17 06:47:44 +02:00
Jeremy Fleischman 77bc74dce5 Actually filter out missing interpreters (#5262)
* Actually filter out missing interpreters

This fixes https://github.com/pypa/pipenv/issues/5261.

Before this change, I would get a "The Python interpreter can't be
found" error when running `pipenv install --system` with a python3 but
no python.
2022-08-16 15:33:34 -04:00
github-actions[bot] f73a5ae407 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-15 04:03:59 +00:00
Matt Davis 8405bbf59a Release v2022.8.15 2022-08-15 00:01:03 -04:00
Matt Davis f2db1c459a Remove function that is no longer used. (#5250) 2022-08-14 23:48:21 -04:00
jgart abfa69349b Add install instructions for void linux (#5257) 2022-08-14 23:46:17 -04:00
Matt Davis dbea3f5cb7 Issue 5254 (#5255)
* Fix for python not defaulting to the virtualenv during a pip install.  Add --ignore-installed flag.
2022-08-14 23:44:19 -04:00
Matt Davis c1924dbf44 Remvoe reference to -r from documentation. (#5258) 2022-08-14 23:43:36 -04:00
github-actions[bot] 355c68497e Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-14 04:06:51 +00:00
Matt Davis d74f277f6c Release v2022.8.14 2022-08-14 00:03:38 -04:00
Oz N Tiram 3cfdf799fe Remove vendored cached_property (#5249)
The class cached_property is available in the Python STL from
version 3.8 onwards. In addition, it is redifend in included libraries
so we can just use it from there.
2022-08-13 23:04:25 -04:00
Matt Davis c55d3033b4 Add news fragment. 2022-08-13 21:19:19 +02:00
Matt Davis e44d797ae1 Add unit test for this. 2022-08-13 21:19:19 +02:00
Matt Davis 3e16cb5acf Don't count packaging as a bad package to ommit. 2022-08-13 21:19:19 +02:00
Christian Clauss 48fad66814 Upgrade GitHub Actions (#5244)
* Upgrade GitHub Actions
2022-08-13 10:24:13 -04:00
Matt Davis 69b29abc8e Fix linter 2022-08-13 08:50:36 -04:00
Matt Davis 6ad1c1c8f4 Mark these tests as flaky. 2022-08-13 08:46:41 -04:00
github-actions[bot] d9e8016893 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-08-13 12:45:48 +00:00
Matt Davis 7a39d54179 Release v2022.8.13 2022-08-13 08:41:58 -04:00
Matt Davis fbb1a5a6e7 Update pypi release action. 2022-08-13 08:41:29 -04:00
Dương Quốc Khánh e9dc3247dc Issue 4371 incorrect dependencies when install dev packages (#5234)
* Add test, ensure dev lock use default packages as constraints.

* Use default packages as constraints when locking develop packages.

* Add test, ensure installing dev-packages use default packages as constraints. (#4371) (#2987)

* Use default packages as constraints when installing provided dev packages.

* change vistir.path.normalize_path to pipenv.utils.shell.normalize_path

* Add function that get contraints from packages.

* Add test for get_constraints_from_deps function

* Use get_constraints_from_deps to get constraints

* Use @cached_property instead of @property

* Use standalone utility to write constraints file

* prepare_constraint_file use precomputed constraints.

* Add news fragment.
2022-08-13 05:17:09 -04:00
Matt Davis d8c88ef510 Remove code that is not required but may be causing the mac OS test failures. (#5241) 2022-08-12 20:14:38 -04:00
Jeremy Fleischman 9fed7364d4 Fix typo: the latest version of pipenv is 2022.8.5 (#5238) 2022-08-09 21:46:57 -04:00
Oz N Tiram 6c0c451b81 Replace call to project.s.initialize 2022-08-09 00:39:04 +02:00
Oz N Tiram 9116afcf5e Add news snippet 2022-08-09 00:39:04 +02:00
Oz N Tiram f50c911e6e Document all environment variables
Removed the initialize method. This was masking sphinx autodoc.
 Also it was directly used inside the __init__ method.

 Fix #5201
2022-08-09 00:39:04 +02:00
Oz N Tiram acd5eb2cd4 Drop zipp from vendored libs.
Zipp was introduces as a dependency of pep517. However,
we are now using pep517 from `pip._vendor`. The version included
there isn't using any code path that requires zipp. Hence, it is
excluded form `pip._vendor`, and can be safely removed.
2022-08-09 00:37:55 +02:00
Matt Davis 0e107fc609 Add news fragment. 2022-08-08 15:14:11 +02:00
Matt Davis a93e4a3bd7 Vendoring in pip 22.2.2 2022-08-08 15:14:11 +02:00
Oz N Tiram d791db89a7 Remove vendored pep517, use it from pip._vendor 2022-08-08 14:36:05 +02:00
Oz N Tiram 4d99ce9e3a Remove unused function - write_backports_imports 2022-08-08 14:36:05 +02:00
Matt Davis 720c1ed35f Fix linting 2022-08-08 14:21:57 +02:00
Matt Davis e7e4722012 Fix for inclusion of setuptools in the lock and install phase + other BAD_PACKAGES. 2022-08-08 14:21:57 +02:00
Matt Davis 078f28bd6c Try with version that has new setuptools available in pypi. 2022-08-07 22:53:26 +02:00