Commit Graph

960 Commits

Author SHA1 Message Date
Oz N Tiram 73149a970c Merge branch 'main' into pip-22.3 2022-10-25 10:06:33 +02:00
dojutsu-user a621facba3 fix tests 2022-10-22 18:44:03 +05:30
dojutsu-user 01ba0e8c28 update test 2022-10-22 16:54:29 +05:30
dojutsu-user 4569c834e4 update the test 2022-10-22 15:40:01 +05:30
dojutsu-user aa250271aa change category to categories 2022-10-22 15:31:39 +05:30
dojutsu-user 0fdacebc0f add category cmd line option 2022-10-22 14:47:42 +05:30
Matt Davis cd583dcfa2 Remove duplicated test variant with the same name. 2022-10-16 10:16:30 -04:00
Oz N Tiram 7c945d6bf0 Remove usage of mkdir_p in favour of os.makedirs
This function was defined in ``pipenv.utils.shell`` and
in ``vistir.path``. ``os.makedirs`` which is added in newer Python
version is doing the same.
2022-10-12 11:00:15 +02:00
Matt Davis 58f0e8a717 Revert back to build isolation by default; support extra-pip-args on sync command. 2022-10-11 04:10:16 -04:00
jerempy 5f548d05dd update vendored lib
update to vendored tomlkit everywhere

tests were breaking primarily due to the vendored tomlkit classes do not equal the non vendored
2022-10-09 14:55:58 -04:00
jerempy bb0944265b added callables to [scripts] in Pipfile
Can now add a callable like {call = "package.module:func('arg')"}
2022-10-09 14:48:09 -04:00
Matt Davis 4fa70dba68 Merge branch 'main' into named-categories 2022-10-08 10:55:13 -04:00
Oz N Tiram 9d532123d1 Merge pull request #5389 from pypa/clean-conftest
Clean conftest
2022-10-06 08:13:29 +02:00
Matt Davis 19b53014f4 Merge branch 'main' into named-categories 2022-10-05 23:30:54 -04:00
Oz N Tiram 8d6bec6bfd Merge pull request #5387 from jerempy/python_full_version-in-pipfile
Python full version in pipfile
2022-10-06 01:17:05 +02:00
Oz N Tiram 1f836f66fc Remove usage of fs_encode
See also #5062
2022-10-06 00:24:08 +02:00
Oz N Tiram ea84f684a6 Remove unused import of threading 2022-10-06 00:23:47 +02:00
jerempy 3171333449 delete accidental dup test 2022-10-05 10:54:46 -04:00
jerempy 5bf9f1baac pipfile saves correctly
and news segment
2022-10-05 10:52:09 -04:00
Matt Davis 35b996df76 merge in main and resolve conflict. 2022-10-04 05:32:31 -04:00
jerempy 3fe3674949 test first - it fails
expected output doesn't match current output which is "python_version": "3.10"
2022-10-03 09:10:56 -04:00
Oz N Tiram d2fe28a8b0 Bump dparse version to 0.6.2 2022-10-02 23:58:38 +02:00
Matt Davis b3381ce4e8 Check point progress fixing tests in branch. 2022-09-22 04:32:32 -04:00
Matt Davis 8e81ddadc1 resolve merge conflict with main. 2022-09-21 21:41:12 -04:00
Matt Davis 2b1e270daa Add test. 2022-09-21 06:57:13 -04:00
Matt Davis 8cf819c108 Fix bug where locking one category clears the other category locks. 2022-09-20 15:36:58 -04:00
Matt Davis 9e064bc6c3 Fix issues from prior refactoring and specify --no-build-isolation by default. 2022-09-20 12:02:45 -04:00
Matt Davis 7497f0cbc8 resolve issues with uninstall. 2022-09-19 23:19:37 -04:00
Matt Davis eb6054ac0c Add test for isolated package lock. 2022-09-19 18:34:26 -04:00
Matt Davis 40900bcede Add install categories tests. 2022-09-19 18:10:22 -04:00
Matt Davis 8a4916ebcc Adjust test expctation. 2022-09-19 12:26:42 -04:00
Matt Davis afb5ce7d3e Resolve merge conflicts with main. 2022-09-19 10:58:28 -04:00
Oz N Tiram 3a57dd0f21 Merge branch 'main' into replace-pipfile-with-plette 2022-09-15 15:08:18 +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
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 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 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 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
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