Commit graph

19 commits

Author SHA1 Message Date
misuzu
aedbade43e python3Packages.pip: allow setting reproducible temporary directory via NIX_PIP_INSTALL_TMPDIR 2020-07-02 17:27:13 +02:00
Frederik Rietdijk
b4f85b97f5 python.pkgs.pip: 20.1 -> 20.1.1 2020-06-13 10:40:39 +02:00
Daiderd Jordan
b7ddbd52bd
treewide: replace SRI hashes 2020-06-01 15:24:19 +02:00
Frederik Rietdijk
193cdc7770 pythonPackages.pip: 20.0.2 -> 20.1 2020-05-11 22:12:08 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jonathan Ringer
5ca385e1e9 python3Packages.pip: 19.3.1 -> 20.0.2 2020-02-09 19:28:58 -08:00
Frederik Rietdijk
56727dc1ff Python: setuptools/wheel/pip now bootstrap from source
Since wheel support was introduced in 2015 we always relied on pre-built
wheels for bootstrapping. Now, we can bootstrap directly from the
sources of these packages in git.

The `bootstrapped-pip` packages is used to build `pip`, `setuptools` and `wheel`,
after which those packages are used to build everything else.

Note that when building `bootstrapped-pip` some errors are shown.
These are not important, the build actually does succeed and work as intended.
2019-10-20 19:48:00 +02:00
Frederik Rietdijk
445c68a1f7 python.pkgs.pip: 19.3 -> 19.3.1 2019-10-18 12:42:06 +02:00
Frederik Rietdijk
dc410db4ce pythonPackages.pip: 19.2.3 -> 19.3 2019-10-18 09:53:55 +02:00
Frederik Rietdijk
afe67e5493 python.pkgs.pip: 19.1.1 -> 19.2.3 2019-09-06 15:18:45 +02:00
Frederik Rietdijk
f7e28bf5d8 Split buildPythonPackage into setup hooks
This commit splits the `buildPythonPackage` into multiple setup hooks.

Generally, Python packages are built from source to wheels using `setuptools`.
The wheels are then installed with `pip`. Tests were often called with
`python setup.py test` but this is less common nowadays. Most projects
now use a different entry point for running tests, typically `pytest`
or `nosetests`.

Since the wheel format was introduced more tools were built to generate these,
e.g. `flit`. Since PEP 517 is provisionally accepted, defining a build-system
independent format (`pyproject.toml`), `pip` can now use that format to
execute the correct build-system.

In the past I've added support for PEP 517 (`pyproject`) to the Python
builder, resulting in a now rather large builder. Furthermore, it was not possible
to reuse components elsewhere. Therefore, the builder is now split into multiple
setup hooks.

The `setuptoolsCheckHook` is included now by default but in time it should
be removed from `buildPythonPackage` to make it easier to use another hook
(curently one has to pass in `dontUseSetuptoolsCheck`).
2019-09-06 15:18:45 +02:00
Frederik Rietdijk
592478be3a python: pip: 19.0.3 -> 19.1.1 2019-06-15 08:44:29 +02:00
Frederik Rietdijk
efdb9b322f python: pip: 19.0.2 -> 19.0.3 2019-02-23 20:05:18 +01:00
Frederik Rietdijk
ff4d22adfc python: pip: 18.1 -> 19.0.2 2019-02-17 14:40:32 +01:00
Frederik Rietdijk
474c78a3e5 python.pkgs.pip: 18.0 -> 18.1 2018-10-13 09:50:17 +02:00
Frederik Rietdijk
f0a0672040 python: pip: 10.0.1 -> 18.0 2018-07-22 16:52:48 +02:00
Frederik Rietdijk
e5f57757d0 python.pkgs.pip: 9.0.3 -> 10.0.1 2018-04-21 08:10:24 +02:00
Frederik Rietdijk
1ab32ba441 python: pip: 9.0.1 -> 9.0.3 2018-04-08 11:36:07 +02:00
Frederik Rietdijk
4421dbc217 python.pkgs.pip: move expression 2018-04-08 11:36:07 +02:00