Matt Davis
ec35f7fdf4
Remove --skip-lock flag
2023-07-29 10:07:51 +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
e74a282e09
Fix ruff warnings in tests/integration
2023-07-23 08:31:31 +02:00
Frank Lichtenheld
7085c79cdb
utils.toml: Handle tomlkit OutOfOrderTableProxy ( #5797 )
...
We get this when we have subtables that do not
directly follow their parent table.
Fixes : #5794
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com >
2023-07-18 23:05:59 -04:00
Matt Davis
70b77ae332
Fix failing test
2023-07-11 20:23:42 +02:00
Matt Davis
49b78914b4
somehow this change got reverted
2023-07-11 20:23:42 +02:00
Matt Davis
041695bbc4
Restore this patch in hopes it fixes the windows 3.8 build.
2023-07-11 20:23:42 +02:00
Matt Davis
2fe293c58e
Don't use search for generic python to crreate the venv for this test.
2023-07-11 20:23:42 +02:00
Matt Davis
2350346866
Insulate this test from side-effects with other tests using six
2023-07-11 20:23:42 +02:00
Matt Davis
593eb31592
Add news fragment.
2023-07-11 20:23:42 +02:00
Matt Davis
2975e8e5e3
Use this because of macos and linux test failure.
2023-07-11 20:23:42 +02:00
Matt Davis
faeae5cb40
Remove duplicated test
2023-07-11 20:23:42 +02:00
Matt Davis
c715b11234
Finally get to the bottom of the test parallelism random failures is because click's CliRunner is not thread safe.
2023-07-11 20:23:42 +02:00
Matt Davis
47e4d355e0
Invoke the resolver in the same process as pipenv rather than utilzing subprocess. Restore accidentally commented out part of pip validations.
2023-07-11 20:23:42 +02:00
Matt Davis
ea82bae751
Fix extras not being included for pypi packages in requirements command ( #5784 )
...
* Fix extras not being included for pypi packages in requirements command
* fix for issue with requirements command not handling file based requirements.
* add news fragment
2023-07-09 05:14:52 -04:00
Matt Davis
9befcb644e
Merge pull request #5730 from pypa/drop-deprecated-flags
...
Drop the --keep-outdated flag and --selective-upgrade flags
2023-07-05 01:40:15 -04:00
Matt Davis
343f0208fa
Merge pull request #5765 from sebastien-coavoux/main
...
Ensure version contains an operator when defined
2023-07-04 16:43:45 -04:00
Tim Hourigan
7a1f18d12f
gh-5777 Keep hashes at the end
2023-07-04 01:05:12 +01:00
Sébastien Coavoux
2ca0ed4ca3
Ensure version match operator when building specifier from pipfile
2023-07-03 14:50:33 -04:00
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
205269ce09
Drop the --keep-outdated flag and --selective-upgrade flag that have been deprecated in favor of update/upgrade commands.
2023-06-11 01:30:27 -04: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