Commit Graph

7441 Commits

Author SHA1 Message Date
Matt Davis 3a56e3ba40 Actually bump the version file too. 2022-06-07 10:10:58 -04:00
Matt Davis afedb46c32 Generate changelog for 2022.6.7 2022-06-07 10:00:18 -04:00
Matt Davis c97ffc1ed4 Merge pull request #5096 from torsava/venv-fix
Make pipenv work with the `venv` install scheme if it is detected
2022-05-26 15:50:40 -04:00
Tomas Orsava ac005b913f Make the CI work 2022-05-26 15:07:51 +02:00
Tomas Orsava 08ee1155e1 Make pipenv work with the venv install scheme if it is detected 2022-05-26 15:07:51 +02:00
Oz N Tiram 114eb8f80a Make RAMDISK choosable for the developer.
Developers can now run:

make tests RAMDISK=1

To automagically setup a RAM disk and run the tests there.
2022-05-17 09:58:29 +02:00
Oz N Tiram 0163ada401 Makefile fixes: don't force recrating of virtualenv
Everytime that we run the tests we create a temporary virtualenv.
This is nice for idempotency, but really a killer for SSDs on developers
machines.
I would recommend also to document the ramdisks target, since running
the tests in the ramdisk should be faster.
2022-05-17 09:58:29 +02:00
Oz N Tiram 658d19ad1d Tiny fixes to the makefile
The built-in `virtualenv` module is called `venv`. Seems like this
Makefile hasn't been used in a while. I like dusting stuff ...
2022-05-17 09:58:29 +02:00
Oz N Tiram d497caa29e Replace vistir.compat.Path with built-in pathlib.Path
Built-in since Python3.5. We only support later versions.
2022-05-17 09:58:29 +02:00
Oz N Tiram c3fddce41a Remove vistir.compat.Mapping
Since Python3.4+ this is imported only from `collections.abc`.
2022-05-17 09:58:29 +02:00
Oz N Tiram 2cb8b2c7b2 Remove vistir.compat.get_terminal_size
This is built-in in shutil of Python3.4+ and later.
We only support later versions.
2022-05-17 09:58:29 +02:00
Oz N Tiram e89710f049 Remove vistir.compat.ResourceWarning
Built-in since Python3.
2022-05-17 09:58:29 +02:00
Oz N Tiram e409d73174 Replace vistir.compat.samefile with os.path.samefile
This is built-in since python3.4, we only support later
versions.
2022-05-17 09:58:29 +02:00
Oz N Tiram 8505024ca1 Remove vistir.compat.ResourceWarning
pipenv supports only python3 now, and this exception is built-in
since 3+.
2022-05-17 09:58:29 +02:00
Oz N Tiram 3bef4598ad Remove vistir.echo in favor of click.echo
Could be that for some users (especially on windows) this might
be a regression. However, taking this on a good faith that upstream
click is already much better.
2022-05-17 09:58:29 +02:00
Oz N Tiram 23de4bbcfc Fix usage of secho (wrongly did echo) 2022-05-17 09:58:29 +02:00
github-actions[bot] 3e15161cb7 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-03 03:46:11 +00:00
Matt Davis 08d96a3df1 v2022.5.2 2022-05-02 23:41:51 -04:00
Matt Davis 5b64a6d2a9 Merge pull request #5091 from tomarad/main
Fix lock -r warning being logged to stdout instead of stderr
2022-05-02 06:08:10 -04:00
Tom Arad 470acd3b9e Added a newline at the end of the news fragment 2022-05-02 08:27:53 +03:00
Tom Arad 8b8d2e14d1 Added a news fragment 2022-05-01 15:38:46 +03:00
Tom Arad 60f1f6dc44 Fixed lock -r warning being logged to stdout instead of stderr 2022-05-01 15:11:14 +03:00
github-actions[bot] 107925fb6d Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-30 23:12:57 +00:00
Matt Davis e8ce365b95 v2022.4.30 2022-04-30 19:09:27 -04:00
Oz N Tiram f429a30db0 Replace echo(style(...)) with secho(...) (#5090) 2022-04-30 10:26:13 +02:00
ImreC 6e26552628 Update docs and add deprecation warning for lock -r (#5069)
* Update docs and add deprecation warning for lock -r
2022-04-30 10:22:51 +02:00
Matt Davis ba259a674b revert setuptools required upgrade. (#5087)
* revert setuptools required upgrade.
2022-04-29 11:13:46 +02:00
Oz N Tiram ec34097407 Fixes of `requirements` with git requirements (#5083)
Solved by using existing convert_deps_to_pip function.

Fix #5076.

Original implementation by @fraser-langton. This also
solves the export of packages with editable mode, as suggested
by @hoyaaaa (#5071).
2022-04-26 13:19:17 +02:00
Matt Davis 347ce47973 vendor in requirementslib==1.6.4 (#5082)
* vendor in requirementslib==1.6.4

* add news fragment.
2022-04-25 11:04:47 +02:00
Matt Davis 295fb30873 Merge pull request #5078 from pypa/more-vistir-dropping
More vistir dropping
2022-04-24 23:15:18 -04:00
Oz N Tiram b5c7c1eb3b Drop crayons in exceptions.py (#5080)
* Remove crayons usage from exceptions.py

Replace all crayon color with appropriate `click.style`
calls.
2022-04-24 12:13:26 +02:00
Oz N Tiram fe552a0088 Limit resource usage in CI (#5079)
Fix #5073
2022-04-24 09:08:05 +02:00
Oz N Tiram e5d08fb85f Limit resource usage in CI (#5079)
Fix #5073
2022-04-23 22:42:47 -04:00
Oz N Tiram f83b4c3eea Add news fragment - describe dropping usage of vistir. 2022-04-24 01:11:08 +02:00
Oz N Tiram d5fe3fd384 Replace vistir.misc.echo with click.secho
The former is simply a copy paste of `click.echo`.

Since `click` has a much larger user base, it is likely
to correct all bugs on all OSes faster.
2022-04-24 01:01:00 +02:00
Oz N Tiram 1ae251482f Remove vistir.misc.dedup
This function is a nice to have alias for one line of code.
Also, it uses OrderedDict, which is no longer needed. `dict`s after
Python3.6 are guaranteed to be ordered (bonus: dict is faster than
ordered dict).

If we really want, we can also import it from zipp or python finder.
2022-04-23 22:57:36 +02:00
Oz N Tiram c8bb3fe568 Remove pipenv.vendor.vistir.compat.Path
pathlib was introduced after Python3.5. We now only
support Python3.7+, hence we don't need compat here.
2022-04-23 15:07:52 +02:00
Oz N Tiram 640d70d6f9 Removed vistir.compat.Mapping for collections.abc
Earlier versions of Python had Mapping in ``collections``. All versions
after 3.4 moved Mapping to ``collections.abc``
Since we only support version 3.7+ we can drop this.
2022-04-23 15:00:56 +02:00
Oz N Tiram 2bb915e16f Replace vistir.compat.NamedTemporaryFile with STL
NamedTemporaryFile was introduced in Python 3.4.
We only support Python 3.7+, hence this goes away.
2022-04-23 14:52:38 +02:00
Changho Park 9a6cf5db1a Print -e option and path for editable package when using pipenv requirements (#5071)
* Print `-e` option and path for editable package

* Reduce depth for logical complexity

* Add news fragment
2022-04-23 14:43:20 +02:00
github-actions[bot] 5ed5419336 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-22 03:51:01 +00:00
Matt Davis 7191f5ca57 v2022.4.21 2022-04-21 23:47:15 -04:00
Oz N Tiram f0199ee47c Remove some more vistir usage (#5067)
* Removed usage of vistir.compat.JSONDecodeError

This is no longer needed since Python version 3.6. Earlier versions
didn't have json.JSONDecodeError and raised ValueError instead.

* Removed vistir.path.rmtree in favour of shutil.rmtree
2022-04-21 12:59:54 -04:00
Matt Davis 23851d8170 Issue 5056 setupy 36 (#5066)
* Fix that the setup.py still claimed to support 3.6
* Add news fragment.
2022-04-21 10:46:04 -04:00
github-actions[bot] 7dcfdda4e0 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-04-21 02:55:51 +00:00
Matt Davis 8d5db1a47d second time this has prevented fixing the Changelog.rst after a failed lint 2022-04-20 22:43:31 -04:00
Matt Davis c47fc3e39d Release 2022.4.20 2022-04-20 22:32:40 -04:00
Matt Davis 453078e163 Release 2022.4.20 2022-04-20 22:12:38 -04:00
Matt Davis 5b3c55d85d Fix install failures that silently pass (#5046)
* Check at the end of install if the failed dependency queue is empty or not and exit with error when there are still failed dependencies.

* Address PR feedback about crayons.

* Fix windows tests that fail because of showing the progress bar, but only local -- CI still breaks. 

* Skip these tests on the windows CI for now.   Created https://github.com/pypa/pipenv/issues/5064 to track
2022-04-20 21:52:53 -04:00
Matt Davis dc8ac38b1b Allow pipenv option to consider all listed package sources when syncing the Pipfile.lock (#5039)
* Allow option to search all sources during installation.

* Add documentation for new Pipenv option ``install_search_all_sources``.
2022-04-20 21:21:38 -04:00