Commit Graph

7817 Commits

Author SHA1 Message Date
Matt Davis 8a4916ebcc Adjust test expctation. 2022-09-19 12:26:42 -04:00
Matt Davis 88ff65725f Fix do outdated for categories. 2022-09-19 12:08:48 -04:00
Matt Davis 49386f6a99 Fix logic for failing tests. 2022-09-19 11:57:14 -04:00
Matt Davis 7646513d74 Expand uninstall/clean to consider categories. 2022-09-19 11:51:03 -04:00
Matt Davis bd0a209ab0 Expand uninstall/clean to consider categories. 2022-09-19 11:48:06 -04:00
Matt Davis c7d8379348 Expand uninstall/clean to consider categories. 2022-09-19 11:28:09 -04:00
Matt Davis 169eb17d3c Make keep-outdated work with multiple categories. 2022-09-19 11:20:20 -04:00
Matt Davis afb5ce7d3e Resolve merge conflicts with main. 2022-09-19 10:58:28 -04:00
Matt Davis 1a8356aab5 Refactor and working ahead on categories. 2022-09-19 10:35:49 -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
Oz N Tiram 8f4e44d003 Fix usage of plette.Pipfile 2022-09-13 14:47:19 +02:00
Oz N Tiram 9e170e10af Remove more usage of pipfile in favor of plette 2022-09-13 11:40:15 +02:00
Oz N Tiram d9bd51d669 Remove undefined keyword for loading pipenv 2022-09-12 23:46:33 +02:00
Oz N Tiram 91bcd859e7 Remove pipfile module usage project.py 2022-09-12 23:43:26 +02:00
Oz N Tiram 1d0ed6cbff Remove unused import 2022-09-12 23:23:05 +02:00
Oz N Tiram 097e253d1d Remove patched pipefile and patch 2022-09-12 23:22:46 +02:00
Oz N Tiram 46afcf0e22 Merge branch 'main' into replace-pipfile-with-plette 2022-09-12 23:18:37 +02:00
Oz N Tiram 79aeff5eba Replace pipfile.Pipefile with plette.Pipefile
Plette has a better code base and the same API.
2022-09-12 23:14:05 +02:00
Oz N Tiram 0971363d23 Replace pipfile.Pipfile.find with our own
This is because pipfile is quite dormant.
2022-09-12 23:12:26 +02:00
Oz N Tiram 9572c319fd Merge pull request #5348 from pypa/remove-sequential
Remove --sequential
2022-09-11 19:36:12 +02:00
Matt Davis dcfa8d222c Fix remaining test. 2022-09-11 10:23:53 -04:00
Matt Davis 24c51eb3a2 Resolve environment variables expanding for the sources. 2022-09-11 10:16:52 -04:00
Matt Davis 0c8d4c371a Fix the tests. 2022-09-11 09:37:49 -04:00
Matt Davis 83d0f101d9 Fix hash generatiton with named categories and convert more to plette because of this. 2022-09-11 07:36:58 -04:00
Matt Davis 0d574505c1 Allow adding packages to Pipfile in other sections. 2022-09-11 05:28:43 -04:00
Matt Davis a651b7be22 Allow category based install with sync. 2022-09-11 05:10:13 -04:00