Chris Hunt
0b0d53e8fa
Use wheel helper function instead of pre-created wheel file
2020-07-04 14:22:15 -04:00
Chris Hunt
667dc392e5
Remove unused futurewheel fixture
2020-01-31 19:33:51 -05:00
Pradyun Gedam
08f61a9b73
Do not attempt setup.py clean for failed pep517 builds ( #7477 )
2020-01-02 12:11:32 +00:00
Stéphane Bidoul (ACSONE)
c93acfb20b
Test legacy clean not attempt after PEP 517 build failure
2020-01-02 12:14:03 +01:00
Chris Hunt
c9b0742508
Remove old root_is_purelib
...
The _invalidversion_ tests are not applicable to the new function since
we do not use a regex to find the applicable folder.
2019-12-31 12:49:08 -05:00
Thomas Kluyver
59550aaec3
Add an integration test of installing a project with a local PEP 517 backend
2019-11-23 18:45:09 +00:00
Sebastian Jordan
28f3dcc641
Add missing newline characters in pep517_setup_and_pyproject test data
2019-10-12 12:19:52 +02:00
Sebastian Jordan
be6e198875
Implement functional test for installing PEP 517 packages with --no-binary :all:
2019-09-25 06:32:18 +02:00
Hugo
8f32b8f425
Drop support for EOL Python 3.4
2019-07-23 22:49:21 +03:00
Pradyun Gedam
838984b372
Drop dependency links from test packages
2019-01-02 17:27:06 +05:30
Benoit Pierre
83b879b1ec
Improve PEP 518 build isolation ( #5824 )
...
Handle .pth files, so namespace packages are correctly supported under Python 3.2 and earlier, and more.
2018-10-16 12:04:28 +05:30
Benoit Pierre
0a58159571
drop workaround for Python<=2.5
2018-10-07 14:26:34 +02:00
Loren Carvalho
cddcb1407f
Open up plat/abi/impl options to install --target
...
* Move dist restriction options to be re-usable (between install/download)
* Make dist restriction options usable in `install` (exclusively with --target)
* Add a check_supported_wheels bool to RequiriementSet for non-resolved (full path) dependencies
2018-08-05 16:13:20 -05:00
Benoit Pierre
43b8ed4945
detect fork-bombs during build dependencies installs
2018-06-26 10:40:23 +02:00
Benoit Pierre
ca4e2ad6ad
improve handling of PEP 518 build requirements
...
Offload more work to the underlying pip command used to install the
build requirements, so there's no need to duplicate code to handle
environment markers/extras. This is done by setting the correct options
from the finder passed in argument to `_install_build_reqs`.
2018-05-18 23:45:55 +02:00
Benoit Pierre
04874e24fd
tests: improve PEP 518 tests
...
- avoid hitting the index: use `common_wheels`/`script.pip_install_local`
- use `script.pip(..., use_module=True)` to simplify some tests
- improve `test_pep518_uses_build_env` parametrization
- simplify `test_pep518_with_user_pip`: we only need to check build
requirements can be installed, so no need for testing with both
`install` and `wheel` command
- fix `test_pip_wheel_with_pep518_build_reqs_no_isolation`: building
pep518-3.0 without isolation should fail if the build requirements
are not installed.
2018-05-18 23:45:55 +02:00
Benoit Pierre
3de9bdb7f2
tests: tweak simplewheel
test distribution
...
- change module name to prevent conflicts with other distributions
- add a `__version__` field for version checks
2018-05-18 23:40:15 +02:00
Jon Dufresne
c7402d9e50
Update a pypi.python.org URLs to pypi.org
2018-04-19 06:35:37 -07:00
xoviat
163149fff3
Install build requirements before calling setup.py ( #4799 )
...
Setup build environment before first invocation of setup.py and improve test to actually make check that build requirements are installed upon invocation.
2018-03-01 14:20:06 +05:30
Pradyun Gedam
cf9e174c7e
Update PEP 518 sdist to depend on a wheel
2018-01-23 09:41:11 +05:30
Ian Stapleton Cordasco
283cf2ca78
Add support for wheel build tags ( #4299 )
2017-08-31 07:58:02 -04:00
Pradyun S. Gedam
9923c1ad7e
Sort imports and minor Flake8 changes ( #4520 )
...
* Run isort on the codebase
Command: isort --recursive --skip __main__.py --skip _vendor -o pip._vendor -sd THIRDPARTY -m 5 -p pip -p tests ./pip ./tests
* 📰
2017-06-13 14:17:00 +02:00
Thomas Kluyver
20955812bf
Merge branch 'master' into pep518
2017-05-19 11:04:32 +01:00
Pradyun S. Gedam
1832569530
Sort all imports
2017-05-16 15:47:47 +05:30
Thomas Kluyver
2b2bdd1567
Download setuptools, wheel during tests
...
Rather than storing wheels in the test data directory
2017-05-13 19:51:38 +01:00
Thomas Kluyver
c9df9a7bb7
Include newer setuptools for tests
...
Old version of setuptools it was using had a bug on Python 3.6
https://github.com/pypa/setuptools/issues/378
2017-04-13 14:09:16 +01:00
Thomas Kluyver
99e00fb8fb
Add package of 'wheel' in test packages directory
...
Tests now need this to install wheel in build environment
2017-04-13 10:55:15 +01:00
Thomas Kluyver
9a79fb5ac4
Allow build-system requirements to be empty
2017-04-12 17:41:23 +01:00
Thomas Kluyver
f257e85d8a
Try to fix pep518 test
2017-04-01 19:29:47 +01:00
Thomas Kluyver
b4f65bfc7c
Try adding smoketest of pep518 build dependency installation
2017-04-01 19:29:47 +01:00
Vincent Philippon
8378567b61
Install wheel with a non-PEP 440 version in the filename.
...
PEP 427 has no specific requirements for the format of the version.
As pip wheel allows to create a wheel with a non-PEP 440 version,
it should also be able to install that same wheel.
2017-03-27 23:12:42 -04:00
fiber-space
fa7aeb6cc8
Fixes destination directory of data_files when 'pip install --target' is used ( #4092 ) ( #4152 )
2017-03-26 23:55:50 +02:00
Xavier Fernandez
b1720f303b
Fix test_pip_wheel_builds_when_no_binary_set for Python 3.6
...
setuptools 0.9.8 was not compatible with Python 3.6
Let's use our simple-3.0.tar.gz file instead.
2016-10-28 17:22:21 +02:00
stepshal
9eca3c1729
Remove extraneous whitespace.
2016-10-15 22:18:11 +02:00
stepshal
e1408688ac
Remove whitespace around parameter = sign.
2016-10-15 18:00:58 +02:00
stepshal
6d0070a5b5
Add missing whitespace around operators.
2016-10-15 17:00:25 +02:00
Pradyun
807f879422
Add an upgrade-strategy option ( #3972 )
2016-09-18 16:48:01 -04:00
Donald Stufft
35feedebc1
Merge pull request #3324 from jsbarber/develop
...
Fix for issue #2834 with test
2016-01-18 23:21:09 -05:00
Xavier Fernandez
d1136dda3e
Add support for .xz files (with python >=3.3)
...
Closes #722
2016-01-14 22:39:45 +01:00
Jeff Barber
24a5cc6a42
Fix for issue #2834 with test
2016-01-03 17:38:36 -05:00
Xavier Fernandez
e7cffaf0c5
Fix SetupPyLatin1 setup.py
2015-11-26 23:49:29 +01:00
Steve Kowalik
dc8e7f01dd
Join constraints and requested extras
...
Compare extras when checking if a requirement has already been
specified, and take a union of the extras before installation.
Co-Authored-By: Sachi King <nakato@nakato.io>
Closes #3046 , #3189
2015-11-20 18:05:17 +11:00
Thomas Smith
2bbb3be1ff
Failing test: should clean up failed wheel build
...
Test for PR #3047
2015-09-09 15:16:51 -04:00
James Polley
f29a398c34
Mention all 4 TopoRequires packages
...
TopoRequires4 is mentioned in the body text but not the header.
2015-06-18 15:10:36 +10:00
Robert Collins
08acb6670d
Issue #2140 : Build wheels automatically
...
Building wheels before installing elminates a cause of broken environments -
where install fails after we've already installed one or more packages.
If a package fails to wheel, we run setup.py install as normally.
2015-04-13 18:33:07 +12:00
Marcus Smith
9f88946a38
remove comment about setuppyargs test package
2015-04-13 00:07:15 +02:00
Marcus Smith
351d809df6
remove the functional test. for this change, we can achieve as much confidence with unit tests that confirm what args are passed
2015-04-13 00:07:15 +02:00
Georgi Valkov
1c0021b268
Add an --install|global-option functional test
2015-04-12 23:52:49 +02:00
Marcus Smith
39c4386748
move pkg src to the src dir
2015-04-01 16:37:15 -07:00
Marcus Smith
1697a0911f
build an sdist for TopoRequires4
2015-04-01 16:32:39 -07:00