Pradyun Gedam
a196b3bf01
Minor formatting tweaks ( #10190 )
...
Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
2021-07-24 03:55:14 +08:00
Nikita Chepanov
f2ce7741ab
Suppress "not on PATH" warning when --prefix
is given
...
Similar to how it works with `--target`, avoid printing the
warning since it's clear from the context that the final
destionation of the executables is unlikely to be in the PATH.
2021-07-12 11:39:56 +08:00
Pradyun Gedam
724bf3df0c
Drop pytest-timeout
...
It is incompatible with pytest-xdist and causes crashes when used with
it. Also removes the marker from the only test that uses it.
2021-03-26 08:03:04 +00:00
KOLANICH
7a95720e79
Fixed --editable install for setuptools projects without setup.py.
...
Co-Authored-By: Tzu-ping Chung <uranusjr@gmail.com>
Co-Authored-By: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
2021-03-03 21:24:29 +03:00
Tzu-ping Chung
550270c7ff
Merge pull request #9636 from dwt/master
2021-02-28 22:16:28 +08:00
Pradyun Gedam
baaf66f70d
Merge pull request #9591 from hexagonrecursion/open
...
Replace `open(file, 'r')` with `open(file)`
2021-02-23 13:37:25 +00:00
Andrey Bienkowski
e4e9af1d27
Drop python2 related stuff in tests
2021-02-23 13:49:59 +03:00
David Hewitt
838988cb44
Build local directories in-place with feature flag
2021-02-22 23:31:47 +00:00
Pradyun Gedam
c2ba7c043b
Merge pull request #9606 from hexagonrecursion/fstr
2021-02-21 08:30:00 +00:00
Martin Häcker
9485c4e6a0
Fix --target not working with --editable as setup.py develop does not understand --home but instead requires the --install-dir option.
...
Parially fixes #4390
2021-02-20 16:10:21 +01:00
Andrey Bienkowski
9b2cb894ba
Convert more str.format() calls to f-strings
2021-02-13 09:27:17 +03:00
Andrey Bienkowski
08bc2ab7f9
Add reminders to revert python3.7 compat fixes
2021-02-11 09:48:14 +03:00
Andrey Bienkowski
f30f515a6a
Fix test_install_sends_client_cert
2021-02-10 22:03:20 +03:00
Andrey Bienkowski
20688ee8e8
Don't forget to close an open file
2021-02-10 16:14:42 +03:00
Andrey Bienkowski
f13e10c915
Replace open(file, 'r')
with open(file)
2021-02-10 13:20:11 +03:00
Tzu-ping Chung
6c0e484703
Include both sources in inconsistency error
2021-01-18 19:00:52 +08:00
Jon Dufresne
cdcf74fb8e
Use f-strings for simple string formatting
...
Use pyupgrade to convert simple string formatting to use f-string
syntax. pyupgrade is intentionally timid and will not create an f-string
if it would make the expression longer or if the substitution parameters
are anything but simple names or dotted names.
2020-12-25 16:21:20 -08:00
Hugo van Kemenade
209ca8de8f
Remove default allow_stderr_warning=False
2020-12-22 16:40:01 +02:00
Hugo van Kemenade
817ee23051
Remove redundant Python 2.7 code
2020-12-22 09:06:26 +02:00
Pradyun Gedam
64ff484c76
Skip tests that fail on Python 2
2020-10-30 23:09:00 +05:30
Pradyun Gedam
6f26fb9fee
Update tests for resolver changes
2020-10-30 23:08:31 +05:30
Pradyun Gedam
5cba61e118
Switch to resolver variants in the test suite
2020-10-30 07:16:19 +05:30
Pradyun Gedam
6028e6a0fb
Change how we skip a failing test
2020-10-30 07:16:19 +05:30
c84ef7a67c
Mark tests using remote svn and hg as xfail
...
The source repositories for testing is no longer available.
2020-08-24 09:43:50 +07:00
46b938349a
Allow py2 deprecation warning from setuptools
2020-08-14 17:56:15 +07:00
Pradyun Gedam
3962f9d2b8
Moar tests getting updated
2020-07-27 19:51:47 +05:30
Stéphane Bidoul
ccdfa74d79
Reduce reliance on .egg-info directories in test suite
...
Make more tests run with with_wheel and test
that a .dist-info directory is created.
2020-07-25 13:02:20 +02:00
Prashant Sharma
f7abe1f874
test(functional/test_install): Use shared_data for installing package
2020-07-10 16:20:30 +05:30
gutsytechster
0ccbad8367
feat(): Add logs for pip environment when installing
2020-07-09 18:15:43 +05:30
Devesh Kumar Singh
2bdec6c9fd
Parametrize unit test
2020-07-06 13:32:09 +05:30
Devesh Kumar Singh
40261a475f
Add unit tests to verify pkg name normalization
2020-07-06 13:32:09 +05:30
Pradyun Gedam
79de2c8911
Switch to --use-feature for determining which resolver to use
...
Also changes all invocations in the tests, to the new flag.
2020-07-03 18:49:56 +05:30
Paul Moore
3dad80a314
Lint fix
2020-06-25 13:00:11 +01:00
Paul Moore
cdc4e40dad
Test is checking the old resolver's broken behaviour
2020-06-25 13:00:11 +01:00
Paul Moore
a7e3f8d088
Test message check fixes
2020-06-18 18:05:51 +01:00
Tzu-ping Chung
5ee2eeda21
Make the failing tests fail
2020-06-15 16:38:10 +08:00
Paul Moore
e97b365529
Mark a few more tests as working under the new resolver
2020-06-10 13:08:37 +01:00
Stéphane Bidoul
63cc26792d
Merge pull request #8357 from ssurbhi560/add_helper_methods
...
Add methods for path lookups in test_install.py and test_install_compat.py
2020-06-09 22:14:30 +02:00
Stéphane Bidoul
3c6a25c638
Merge pull request #8398 from deveshks/add-flake8-bugbear
...
Add flake8-bugbear plugin to pre-commit and fix "tests" accordingly
2020-06-05 20:18:23 +02:00
Paul Moore
6b10b1d2a2
Merge pull request #8402 from deveshks/parametrize-tests
...
Parametrize test_install_package_to_usersite_with_target_must_fail
2020-06-05 16:39:23 +01:00
Paul Moore
71061f3bca
Merge pull request #8321 from uranusjr/new-resolver-passing-tests
...
Remove new resolver marker from tests that should pass
2020-06-05 11:26:49 +01:00
Devesh Kumar Singh
208282af98
Parametrize test_install_package_to_usersite_with_target_must_fail
2020-06-05 15:07:47 +05:30
Devesh Kumar Singh
db11f83e2a
Fix tests module with flake8-bugbear
2020-06-05 02:41:08 +05:30
Paul Moore
50528a3c0e
Test new resolver different behaviour for test_install_editable_with_wrong_egg_name
2020-06-03 14:09:42 +01:00
Pradyun Gedam
e68b71b8c2
Apply suggestions from code review
2020-05-31 23:04:51 +05:30
Surbhi Sharma
381a826760
use methods for path lookups in files:{test_install, test_install_compat}
2020-05-29 13:42:13 +05:30
Pradyun Gedam
d49e957905
Skip the correct test
2020-05-28 20:45:56 +05:30
Tzu-ping Chung
71511afb97
This should pass as well
2020-05-27 23:18:33 +08:00
Pradyun Gedam
f0e2f7f39e
Merge pull request #8299 from uranusjr/remove-test-install-include-work-dir-pkg
2020-05-23 06:25:00 +05:30
Paul Moore
7fa571e076
Fix test_double_install_fail for new resolver
2020-05-22 16:07:29 +01:00