Matt Davis
2bd7eab65e
Fix release CI step for next release
2024-01-21 22:13:02 -05:00
Matt Davis
0379507abb
Update release script to enforce semver going forward in 2024 ( #6052 )
...
* Update release script to enforce semver going forward in 2024
* Update pipfile/lock for semver
* fix readme
* Update CI vendoring step for semver
* Dependeapot warning about version of pytest we are on
* remove options from help
2024-01-21 21:16:56 -05:00
Matt Davis
9217384411
Merge pull request #6055 from pypa/vendor-bump-pipdeptree
...
Vendor bump pipdeptree
2024-01-21 20:47:42 -05:00
Oz Tiram
c87379046f
Fix patch applied at vendoring to pipdeptree
...
Signed-off-by: Oz Tiram <oz.tiram@gmail.com >
2024-01-04 21:33:31 +01:00
Oz Tiram
d5564b082a
Bump vendored pipdeptree
...
Also update the patch we apply
Signed-off-by: Oz Tiram <oz.tiram@gmail.com >
2024-01-04 14:56:56 +01:00
Matt Davis
74f3843687
updated patch
2023-10-19 14:50:27 +02:00
Matt Davis
30e0fa7309
reference markdown format
2023-09-07 10:48:40 -04:00
Matt Davis
283390a9b9
Merge branch 'main' into issue-5827-compat
2023-09-05 10:06:18 -04:00
Matt Davis
bdd94b7484
Merge branch 'main' into issue-5827-compat
2023-09-01 17:42:52 -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
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
Christian Clauss
22223f0084
ruff rules SIM
2023-08-30 14:51:20 +02:00
Matt Davis
a09dd292d0
Restore the ignore compatability finder patch from prior pipenv versions
2023-08-28 22:13:56 -04:00
Christian Clauss
e23890e105
Performance: ruff rules C4 and PERF
2023-08-25 22:51:25 +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
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
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
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
Matt Davis
5618166fbc
Vendor in pip 23.2
2023-07-23 21:21:24 +02:00
Matt Davis
301d2041e7
Update safety patch
2023-07-23 21:21:24 +02:00
Matt Davis
ed4fced07a
update patch for pip 23.2
2023-07-23 21:21:24 +02:00
Matt Davis
69d8d1b7ea
Merge pull request #5807 from pypa/fix-ruff-complaints
...
Fix ruff-complaints
2023-07-23 14:44:29 -04:00
Kian-Meng Ang
810fb745ae
Fix typos
...
Found via `codespell -S ./peeps,./pipenv/patched,./pipenv/vendor,./pipenv/pipenv.1,./get-pipenv.py,./tests/test_artifacts`
2023-07-23 21:55:03 +08:00
Oz Tiram
22bdaba9a7
Fix ruff warnings in tasks/vendoring/__init__.py
2023-07-23 07:56:59 +02:00
Christian Clauss
44e8aebc41
ruff --select=FLY,UP --target-version=py37 --fix .
2023-06-30 08:36:14 +02:00
Matt Davis
c80ee7d71a
Only search the Pipenv default index when an alternative index is not specified.
2023-06-18 22:45:06 +02:00
Matt Davis
b0c091a556
allow specifying version in release script.
2023-06-11 21:14:30 -04:00
Matt Davis
88f030e00b
Fix typing extensions ( #5684 )
...
* Fix typing_extensions which is already provided by pip was not being imported correctly.
* Add the directory with typing_extensions back to the PATH
2023-05-12 13:58:34 +02:00
Matt Davis
99800ec7a2
Requirementslib==2.3.0 ( #5672 )
...
* Bump requirementslib that drops vistir.
* Add news fragment
* Add missing file
* Remove vistir entirely
* fix circular import
* revert issue that may be causing circular import issue
* Hackaround current pythonfinder version importlib usage.
* PR Feedback
* fix lint
2023-04-29 19:22:28 +02:00
Christian Clauss
9525db4623
feat: Replace flake8 and isort with ruff
2023-04-13 15:58:49 +02:00
Oz Tiram
de983e159b
Remove our own copy of pyparsing, use pip's
...
Ship less code to our users, and make pipenv smaller.
2023-03-28 15:55:14 +02:00
Matt Davis
8877d7944f
Pip 23.0.1 ( #5614 )
...
* Bump version of pip 23.0.1
* Invoke 2.0.0 for python 3.11 environments.
* Vendor in pip==23.0.1
* add news fragment.
* vendoring updates.
* Vendor in latest pythonfinder.
* Add exceptiongroup backport for pytest update.
* Fix lock file with python 3.11
2023-02-18 15:45:57 +01:00
Matt Davis
b7ed02240b
Pip 23.0 ( #5586 )
...
* update pip to 23.0 in patched.txt
* Vendor in pip517 since pip dropped it from its _vendor.
* adjust vendoring script.
* vendor in pip==23.0
* correct vendoring script.
* fix import with vendoring script.
2023-02-04 13:10:02 +01:00
Oz Tiram
6cf7f5b5ef
vendor: bump version of colorama
2022-12-06 15:28:00 +01:00
Oz Tiram
764fbeda24
vendor: remove vistir.spin
...
We don't use this module anymore
2022-12-06 14:37:59 +01:00
Matt Davis
8d81d07a55
Add patch for ruamel __init__.py file.
2022-12-04 03:44:20 -05:00
Matt Davis
c58c371f6b
Vendor new safety ( #5217 ) ( #5218 )
...
* Vendor new safety (#5217 )
* Closest to correct vendoring of ruamel.
* Fix lint
* New pipenv check with minimal output.
* Remove decode_for_output use in pipenv check functions.
* Use click.secho where is possible.
* Rerun vendoring to get the latest safety version.
* skip this test for now.
Co-authored-by: Yeison Vargas <yeisonvargasjf@gmail.com >
2022-11-22 21:14:24 -05:00
Fidel Ramos
2921b80de7
Fix syntax error in requirementslib vendor ( #5483 )
...
Compiling this file raised a SyntaxError:
*** File "/gnu/store/62ms8p25ilrw7vrz5fn8fjf4pds10b02-pipenv-2022.11.11/lib/python3.9/site-packages/pipenv/vendor/requirementslib/models/metadata.py", line 17
from pipenv.patched.pip._vendor.distlib.metadata import import Metadata
^
SyntaxError: invalid syntax
Found through `python -m compileall /pipenv/source/` when trying to add pipenv to
[Guix](https://guix.gnu.org/ ).
Also include fix for root cause: wrong replacement in vendoring task.
2022-11-22 17:54:52 -05:00
Oz Tiram
d1716a7b26
vendor: remove references to parse in vendor script
...
Install parse in the vendor environment, as it is still
used.
2022-11-20 17:25:03 +01:00
Oz Tiram
e6a4cd3c48
vendor: remove unused patches for yaspin
2022-11-19 21:09:17 +01:00
Oz Tiram
2cb30cead2
vendor: drop unused cerberus code
...
We don't need to ship tests and benchmarks to our users.
2022-11-13 10:31:35 +01:00
Matt Davis
e3c999f1b9
Roll back change vendoring of colorama. ( #5460 )
...
* Roll back change vendoring of colorama.
* Add back colorama version that worked.
* Add news fragment.
2022-11-05 02:34:27 -04:00
Oz N Tiram
d6964452dd
vendoring: fix broken attrs
...
We can't rename attrs to attr, since versionn 22.1 distributes
two modules one named attrs and one names attr.
2022-11-01 21:29:42 +01:00
Oz N Tiram
45ed8448e7
Vendoring script: fix linting issue
2022-11-01 20:35:20 +01:00
Oz Tiram
93f40ace77
Vendor: more disltlib import fixes
2022-11-01 20:31:06 +01:00
Oz Tiram
973d47715b
Vendoring: drop our included version of colorma
...
Use the one from pip._vendor instead.
2022-11-01 20:30:59 +01:00
Oz Tiram
69507b1b79
vendoring: remove library rename zipp
...
This module is an old backport we no longer distribute.
The except ImportError in pep517/meta.py never happens
in Python3.6 and later.
2022-11-01 20:30:54 +01:00