Matt Davis
6a55712651
Merge pull request #5768 from pypa/issue-5766
...
Issue 5766
2023-06-30 23:53:47 -04:00
Matt Davis
9a98977997
Add test and news fragment.
2023-06-30 23:02:17 -04:00
Christian Clauss
44e8aebc41
ruff --select=FLY,UP --target-version=py37 --fix .
2023-06-30 08:36:14 +02:00
Matt Davis
cb23498757
requirements command improvements, fixes issue 5755. ( #5757 )
...
* requirements command improvements, fixes issue 5755.
* editable is not a pip arg
* Apply suggestions from code review
Co-authored-by: Michael Marino <mmarino@gmail.com >
* Update pipenv/routines/requirements.py
Co-authored-by: Michael Marino <mmarino@gmail.com >
* fix test
* add news fragment.
---------
Co-authored-by: Michael Marino <mmarino@gmail.com >
2023-06-29 23:52:18 -04:00
Matt Davis
7458b32e34
Bump requirements lib to v3.0.0 ( #5679 )
...
* Port over latest requirementslib sample changes to pydantic.
* fix import
* port over more changes from other attempt.
* port over more changes from other attempt.
* Iterate
* fix some tests
* fix markers tests
* Spot check changes back towards what was passing in pipenv prior.
* Parity with latest requirementslib changes
* latest changes that work for both pipenv and requirementslib.
* Hack for cross-test contamination looking for version of six that isn't in the private pypi.
* Differences between reqlib3 and prototype branch
* corrrect re-written imports that were wrong.
2023-06-26 23:54:47 +02:00
Matt Davis
6daa947bc7
skip other failing test -- won't be possible to support multiple indexes without using our resolver.
2023-06-18 22:45:06 +02:00
Matt Davis
2058565edf
Fix failing test
2023-06-18 22:45:06 +02:00
Matt Davis
bc277a132c
Upgrade pydantic to v1.10.9 ( #5729 )
2023-06-11 08:59:57 +02:00
Matt Davis
63dea23b42
Update pipdeptree which solves issue 5652 ( #5720 )
...
* Update pipdeptree which solves issue 5652
* add news fragment.
* Fix broken test as expected output has changed.
2023-06-11 08:54:23 +02:00
Matt Davis
be046bfbb8
This pre pip install path should no longer be neccessary when adding packages. ( #5700 )
...
* This pre pip install path should no longer be neccessary when adding packages.
* Fix test -- not sure how this was ever correct.
* Address test edge case
2023-06-02 06:40:40 +02:00
dependabot[bot]
fd8df98617
Bump requests from 2.18.4 to 2.31.0 in /tests/test_artifacts
...
Bumps [requests](https://github.com/psf/requests ) from 2.18.4 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases )
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md )
- [Commits](https://github.com/psf/requests/compare/v2.18.4...v2.31.0 )
---
updated-dependencies:
- dependency-name: requests
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-06-02 06:36:50 +02:00
Oz Tiram
b1e3128e15
Drop cerberus, it seems it's not used anywhere ( #5699 )
...
* Drop cerberus, it seems it's not used anywhere.
2023-05-21 06:52:27 -04:00
Oz Tiram
b0fa277a0b
Remoe usage of toml in favor of tomlkit
2023-05-20 08:52:53 +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
Matt Davis
89f554622a
Revert "work towards fixing relative path . with extras"
...
This reverts commit 724364d241 .
2023-04-26 22:43:54 -04:00
Matt Davis
724364d241
work towards fixing relative path . with extras
2023-04-26 22:39:39 -04:00
Christian Clauss
9525db4623
feat: Replace flake8 and isort with ruff
2023-04-13 15:58:49 +02:00
Matt Davis
8c8d3d1f8e
Improve pipenv update and add pipenv upgrade command ( #5617 )
...
* Split apart core using pycharm refactor move methods.
* move init to remove cicular import.
* Fix imports.
* Check in concept for pipenv upgrade command
* Fix upgrade command expectation on how it updates the lockfile.
* Actually write the result to the Pipfile, and fix secondary bug with items not being written to the Pipfile.
* Fix issue where package being upgraded already exists.
* Add news fragment.
* Integrate upgrade with a refactor of update.
* Handle cases where there is nothing to upgrade.
* Add lock-only option.
2023-03-01 10:26:36 +01:00
Matt Davis
52f180eb91
Split apart core.py ( #5616 )
...
* Split apart core using pycharm refactor move methods.
2023-02-25 00:25:00 +01:00
Matt Davis
65d19877c4
Merge pull request #5592 from pypa/removal/vistir-misc
...
Removal/vistir misc
2023-02-18 17:03:55 -05:00
Matt Davis
ca436af2bc
Issue 5600 check command should be able to pull requirements from lock file ( #5607 )
...
* Allow pipenv check inputs to be built from the lockfile categories instead of whats installed.
* fix lint
* add news fragment.
* update pipenv check documentation.
* Revise logic for pipenv check and change default behavior to check lockfile.
* fix issue revealed by tests
* fix docs for pipenv check changes.
* change conditional ordering in prep for supporting for future default categories env var.
2023-02-18 20:58:47 +01:00
Oz Tiram
b862b7ffaf
Add test for funktools
2023-02-18 16:21:02 +01:00
Matt Davis
ebdf1ff8de
Flexibile argument specification when specifying multiple cateogires. ( #5606 )
...
* Flexibile argument specification when specifying multiple categories.
* fix lint
* add test and news fragment.
2023-02-12 17:14:20 +01:00
Oz Tiram
040b4649e9
Fix failing test
...
This is due to slightly modified output format
2023-01-28 16:25:47 +01:00
Oz Tiram
fe99aa1384
Remove deprecated flag --three
2023-01-23 01:18:23 +01:00
Matt Davis
e8a7b45eb9
Merge pull request #5565 from TrellixVulnTeam/main
...
CVE-2007-4559 Patch
2023-01-07 12:06:45 -05:00
TrellixVulnTeam
fa918c89c3
Adding tarfile member sanitization to extractall()
2023-01-07 15:24:43 +00:00
Oz Tiram
8a994e4c80
Merge pull request #5556 from pypa/remove-pytest-pypi-take-2
...
Remove pytest pypi take 2
2023-01-03 06:38:52 +01:00
Oz Tiram
3a2e708001
Remove pytest-pypi package included in tests/
2022-12-28 15:46:53 +01:00
Oz Tiram
abcb3e2df4
Remove pytest-pypi server from usage in tests
2022-12-28 15:45:41 +01:00
Oz Tiram
49999bda83
Fix extras listing twice with direct file URL
...
Fix #5536 .
Bump vendored requirementslib to 2.2.3 which includes the actual fix.
Also, add a test case for this in pipenv.
2022-12-28 14:22:27 +01:00
shimpeko
946040f716
[fix] update --outdated raises NonExistentKey with dev package
...
closes https://github.com/pypa/pipenv/issues/5540
pipenv update --outdated fail with NonExistentKey error when there are
outdated packages in dev-packages category.
2022-12-17 09:16:24 +00:00
Matt Davis
75132d6acd
Resolve issue where null markers were getting added when extras were provided.
2022-12-09 02:55:05 -05:00
Matt Davis
5fb04ff8b3
Add basic test case.
2022-12-07 20:33:45 -05:00
Oz Tiram
c46ad88fb9
Tests: fix failing tests after removal of vistir.misc.run
2022-12-06 16:11:10 +01:00
Oz Tiram
d474edc993
Remove another usage of vistir.misc.run
2022-12-06 15:25:10 +01:00
Oz N Tiram
8cd6e0174b
Merge pull request #5504 from pypa/fix-5503
...
requirements: fix generation of file
2022-11-27 17:26:28 +01:00
Oz Tiram
f57dac10de
Fix failing integration test
2022-11-27 16:48:24 +01:00
Yeison Vargas
fb9e4d769d
Get packages for pipenv check from the target venv.
2022-11-24 00:52:22 -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
Oz Tiram
30be476801
Fix broken test
2022-11-18 23:09:57 +01:00
Oz Tiram
ec27ab5652
Fix broken tests because of repository deletion
...
The repo https://github.com/Rapptz/discord.py was removed by the owner.
In order for this test to work, we need a package which has a setup
with version and extras in it.
2022-11-18 20:33:43 +01:00
Oz N Tiram
f95b671fe3
Merge pull request #5468 from pypa/remove-yaspin-spinner
...
Remove yaspin spinner
2022-11-18 10:27:21 +01:00
Oz Tiram
0bd03e62b6
Fix failing tests
2022-11-13 22:57:23 +01:00
Oz Tiram
349b6edf16
Fix failing tests
2022-11-13 22:54:22 +01:00
Matt Davis
aed46b07c7
Fix tests
2022-11-10 01:47:29 -05:00
Oz N Tiram
5142bbd3a0
Merge pull request #5450 from pypa/more-vendor-clean-up
...
More vendor clean up
2022-11-04 15:38:16 +01:00
Matt Davis
ecb969b363
Merge branch 'main' into issue-5444
2022-11-04 08:57:43 -04:00
Oz N Tiram
e8e391fe9b
Merge branch 'main' into more-vendor-clean-up
2022-11-04 10:55:13 +01:00
Micah Smith
93e97b7510
Update test_pipenv_check to ignore new vulnerability with wheel<0.38
2022-11-02 15:22:08 -04:00