Commit Graph

7817 Commits

Author SHA1 Message Date
github-actions[bot] 7bd50f80d4 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-24 23:29:33 +00:00
Matt Davis 0ee9f18044 Release v2022.9.24 2022-09-24 19:27:12 -04:00
Matt Davis 5e322059fc news fragment. 2022-09-24 19:21:17 -04:00
Oz N Tiram 67003f765a Merge pull request #5373 from pypa/marker-determinism
Always evaluate markers fresh, without lru_cache.
2022-09-24 21:02:25 +02:00
Matt Davis 598dd248a2 Vendor in new requirememntslib version. 2022-09-24 10:57:07 -04:00
Matt Davis a245025978 Always evaluate markers fresh, without lru_cache. 2022-09-22 04:34:42 -04:00
github-actions[bot] 0c490a0dee Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-21 14:31:11 +00:00
Matt Davis dc3141b0fd Release v2022.9.21 2022-09-21 10:28:55 -04:00
Oz N Tiram 074a91a654 Merge pull request #5368 from pypa/issue-5367b
Fix for --skip-lock
2022-09-21 15:39:21 +02:00
Matt Davis 370b9da192 Add news fragment. 2022-09-21 07:00:11 -04:00
Matt Davis 450cc59a80 Undo this vendoring change. 2022-09-21 06:58:55 -04:00
Matt Davis 2b1e270daa Add test. 2022-09-21 06:57:13 -04:00
Matt Davis e35f67c7b4 Merge branch 'issue-5367b' of github.com:pypa/pipenv into issue-5367b 2022-09-21 06:55:06 -04:00
Matt Davis 88d16701e7 Add missing licenses. 2022-09-21 06:54:41 -04:00
Matt Davis 4f451be802 undo attempt at vendoring change. 2022-09-21 06:54:12 -04:00
Matt Davis 0e5e4ea05b Port change from safety vendoring PR to make the vendor renames work the same as patch. 2022-09-21 06:38:37 -04:00
Matt Davis 2e51612d9e Port change from safety vendoring PR to make the vendor renames work the same as patch. 2022-09-21 06:31:49 -04:00
Matt Davis e514767042 Port change from safety vendoring PR to make the vendor renames work the same as patch. 2022-09-21 06:27:51 -04:00
Matt Davis ea051b4a73 Prep for plette vendoring. 2022-09-21 06:19:38 -04:00
Matt Davis 1e3e1099fc Plette compatability change. 2022-09-20 21:24:06 -04:00
Matt Davis 4383328d82 Attempt at plette loading the Pipfile data for default and develop. 2022-09-20 21:06:48 -04:00
Jannik Vieten aa79e5936b cli: set click_types.Path for -r and -e options (#5352)
* cli: set click_types.Path for -r and -e options

this enables click to generate shell auto completions for files/paths
see #3478

* added news fragment for PR 5352
2022-09-20 20:42:50 -04:00
Alex 7ef550afca GitHub Workflows security hardening (#5365)
* build: harden pypi_upload.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>

* build: harden ci.yaml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-20 15:41:21 -04:00
github-actions[bot] 40e04adea1 Bumped version.
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-09-20 18:50:11 +00:00
Matt Davis 7d8400928d Release v2022.9.20 2022-09-20 14:47:53 -04:00
Oz N Tiram b434039897 Merge pull request #5361 from cclauss/move-more-config-to-pyproject.toml
Migrate isort, mypy, and pytest config into pyproject.toml
2022-09-17 08:19:01 +02:00
Oz N Tiram 9fe4b68de9 Merge pull request #5339 from pypa/replace-pipfile-with-plette
Replace usage of  pipfile
2022-09-16 20:55:31 +02:00
Christian Clauss 8043eca304 Migrate isort, mypy, and pytest config into pyproject.toml 2022-09-16 18:26:55 +02:00
Oz N Tiram 9c774f73aa Propagate the markers to new requirment in lock file
This is needed since the upgrade of requirementlib.
2022-09-15 22:22:23 +02:00
Oz N Tiram 3a57dd0f21 Merge branch 'main' into replace-pipfile-with-plette 2022-09-15 15:08:18 +02:00
Oz N Tiram 3f679ad5ad Add news about migration to Plette 2022-09-15 15:04:24 +02:00
Oz N Tiram a23fee69b0 Remove skipped test - Pipenv no longer lock with incomplete sources 2022-09-15 14:55:42 +02:00
Oz N Tiram 129e821481 Remove comment - Plette does no expand env vars on disk 2022-09-15 14:54:32 +02:00
Oz N Tiram 21b6eb732d Yank skipped test - pipenv no longer supports unnamed index 2022-09-15 14:53:16 +02:00
Oz N Tiram 62b57b9d19 Merge pull request #5350 from pypa/issue-5349
Safer usages of pkg_resources
2022-09-14 19:39:52 +02:00
Matt Davis 4f49739c5f Fix pep517 import issue. 2022-09-14 08:14:45 -04:00
Matt Davis f8d653ea8f Vendor in requirementslib 2.0.2 2022-09-14 08:03:04 -04:00
Oz N Tiram 8bbb4bdd51 Fix test_lock_updated_source
This was broken because of wrong Pipfile format.
Plette is strict!
2022-09-14 08:39:32 +02:00
Oz N Tiram a2130f7396 Fix missing name for source in test_dev_lock_use_default_packages_as_constraint 2022-09-14 01:17:59 +02:00
Oz N Tiram 7ecea16e25 Fix test_lock_updated_source
The source must contain a name or Plette will fail.
2022-09-14 01:01:11 +02:00
Oz N Tiram b44dfd1e0a Use context manager when opening Pipfile 2022-09-14 00:55:16 +02:00
Oz N Tiram 1b8f6278df Fix test_environment_variable_value_does_not_change_hash
It seems the are was an assertion in this test that was wrong.

I don't think pipenv install should modifiy the Pipfile when running
`pipenv install`.
2022-09-14 00:29:02 +02:00
Oz N Tiram 8c2118360f Fix broken test with plette.Pipfile
This tests actually required the private pypi, since fake-package
doesn't exist on Pypi!
2022-09-13 23:46:36 +02:00
Oz N Tiram 2805e75e6c Disable another test which breaks with plette 2022-09-13 16:48:09 +02:00
Oz N Tiram af06ef03f1 Fix do_init with the new hash format 2022-09-13 16:24:42 +02:00
Oz N Tiram db743ea011 Disable test that break with plette
Unnamed sources will break with the following error:

pipenv.vendor.plette.models.base.ValidationError: {'url': 'https://pypi.org/simple', 'verify_ssl': True}
name: required field
2022-09-13 16:20:06 +02:00
Oz N Tiram a9a73dba3d Fix check command 2022-09-13 16:05:48 +02:00
Oz N Tiram d1aea86f7b Fix get_hash method 2022-09-13 15:43:02 +02:00
Oz N Tiram 4709420951 Remove test for PipfileParser
Testing and development of plette parser will be done upstream.
2022-09-13 15:00:39 +02:00
Oz N Tiram 2a6b6c946d Fix failing tests with Plette.Pipfile
This commit comes with a warning! This might be considered a behavior
change. Since, plette uses a stricter boolean: \"true\" is not parsed
the same way as "true"
2022-09-13 14:58:40 +02:00