| Commit message (Expand) | Author | Age | Files | Lines |
| * | pkgs.development.python-modules: remove unused args | Markus S. Wamser | 2021-11-12 | 2 | -4/+2 |
| * | treewide: remove lib.{lists,string}.optional* | Sandro Jäckel | 2021-07-29 | 2 | -2/+2 |
| * | Convert phases that contain ":" to dont* = true | Sandro Jäckel | 2021-07-17 | 2 | -2/+2 |
| * | python2Packages: keep separate (bootstrapped-)pip•••Currently there is only one line difference regarding bootstrapped-pip,
but this will change in the future with the whole Python world moving
towards PEP 517.
| Frederik Rietdijk | 2021-03-23 | 1 | -0/+67 |
| * | python3Packages.setuptools: 50.3.1 -> 54.2.0 | Frederik Rietdijk | 2021-03-23 | 1 | -0/+1 |
| * | pkgs/development/python-modules: stdenv.lib -> lib | Pavol Rusnak | 2021-01-24 | 1 | -3/+3 |
| * | cpython: fix finding headers when cross-compiling extension modules | Ben Wolsieffer | 2020-12-28 | 1 | -1/+1 |
| * | python3Packages.pip: 20.2.4 -> 20.3 | Frederik Rietdijk | 2020-12-01 | 1 | -4/+0 |
| * | pythonPackages.pip-install-hook: remove --build option•••Pip had the option --build to build in a custom or temporary directory.
Nowadays, pip just listens to TMPDIR, which we already set.
This option was deprecated and is removed in pip 20.3.
| Frederik Rietdijk | 2020-12-01 | 1 | -3/+3 |
| * | Revert "Revert "Revert "cpython: fix finding headers when cross-compiling ext...•••This still does not function without issues. E.g., bootstrapped-pip fails with Python 3.6 and 3.7
as well as 3.8 on 32-bit.
Because this is a stdenv-rebuild it needs to be tested significantly better
This reverts commit 6100bc29f72b85332014bb4362721eda379e0e03.
| Frederik Rietdijk | 2020-11-25 | 1 | -1/+1 |
| * | Revert "Revert "cpython: fix finding headers when cross-compiling extension m...•••Moving the sysconfig file caused spidermonkey_78 to fail to build. We now symlink it instead.
This reverts commit 6a23dde75bd9bb0cdcc58477439aaf1e146e3623.
| Frederik Rietdijk | 2020-11-23 | 1 | -1/+1 |
| * | Revert "cpython: fix finding headers when cross-compiling extension modules"•••This breaks virtualenv https://github.com/NixOS/nixpkgs/issues/104483.
We should probably not move `_sysconfigdata` but just copy it for cross to
another place or output.
This reverts commit 11806b6ede420bbdb980ca1c36918b71e9ddc0a2.
| Frederik Rietdijk | 2020-11-22 | 1 | -1/+1 |
| * | cpython: fix finding headers when cross-compiling extension modules | Ben Wolsieffer | 2020-11-19 | 1 | -1/+1 |
| * | python2.pkgs.pip: fix regression in 20.2 | Frederik Rietdijk | 2020-11-05 | 1 | -0/+5 |
| * | python3.pkgs.pip: 20.1.1 -> 20.2.4•••Reproducible builds of pyproject projects using pip is resolved.
Fixes https://github.com/pypa/pip/issues/7808
Fixes https://github.com/NixOS/nixpkgs/issues/81441
The more recent c409f694807e8cd16db8e2affb630073c1aadc48 caused trouble
with pyproject troubles and had to be reverted anyway.
https://github.com/NixOS/nixpkgs/pull/102222#issuecomment-722380794
Revert "pythonPackages.pip: make reproducible (#102222)"
This reverts commit c409f694807e8cd16db8e2affb630073c1aadc48.
Revert "python3Packages.pip: allow setting reproducible temporary directory via NIX_PIP_INSTALL_TMPDIR"
This reverts commit aedbade43e615d7893d268632f5e7f2570fd3233.
| Frederik Rietdijk | 2020-11-05 | 1 | -5/+0 |
| * | pythonPackages.pip: make reproducible (#102222)•••The previous attempt wasn't covering all of the bases. It relied on
invoking that pip-install-hook, and didn't apply to pip itself.
The core issue is that the generated .pyc files embed some of the
temporary paths, which are randomly generated. See
https://r13y.com/diff/bf8c3ca3148ebff9ecf41f294cc60b9f209c006d49699e356969ff32d736f1c6-8806a7cca91fdd300e48736bfcd57c4d0b54c1cc2fd61609f35143170862b59c.html
In this new attempt, the approach is to patch the TempFile
implementation directly, so that it creates stable temporary
directories. We also assume that if SOURCE_DATE_EPOCH is set, we are in
a scenario where reproducible builds are desirable and enter that
branch.
See also https://github.com/pypa/pip/issues/7808 | zimbatm | 2020-10-31 | 1 | -0/+5 |
| * | 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.
| Frederik Rietdijk | 2019-10-20 | 1 | -39/+36 |
| * | python.pkgs.bootstrapped-pip: 19.3 -> 19.3.1 | Frederik Rietdijk | 2019-10-18 | 1 | -2/+2 |
| * | python.pkgs.bootstrapped-pip: upgrade pip and setuptools | Frederik Rietdijk | 2019-10-18 | 1 | -4/+4 |
| * | python: bootstrapped-pip: update wheel, setuptools, pip•••wheel 33.4 -> 33.6
setuptools 41.0.1 -> 42.2.0
pip 19.1.1 -> 19.2.3
| Frederik Rietdijk | 2019-09-06 | 1 | -6/+6 |
| * | 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`).
| Frederik Rietdijk | 2019-09-06 | 1 | -2/+16 |
| * | python.pkgs.bootstrapped-pip: updates•••wheel: 0.33.1 -> 0.33.4
setuptools: 41.0.0 -> 41.0.1
pip: 19.0.3 -> 19.1.1
| Frederik Rietdijk | 2019-06-15 | 1 | -6/+6 |
| * | pythonPackages.bootstrapped-pip: setuptools 40.8.0 -> 41.0.0 | Frederik Rietdijk | 2019-04-18 | 1 | -2/+2 |
| * | python.pkgs.bootstrapped-pip: pip 19.0.2 -> 19.0.3, wheel 0.33.0 -> 0.33.1 | Frederik Rietdijk | 2019-02-23 | 1 | -4/+4 |
| * | python.pkgs.bootstrapped-pip: wheel 0.32.2 -> 0.33.0, setuptools 40.6.3 -> 40... | Frederik Rietdijk | 2019-02-17 | 1 | -6/+6 |
| * | python.pkgs.bootstrapped-pip: setuptools 40.6.2 -> 40.6.3 | Frederik Rietdijk | 2019-01-18 | 1 | -2/+2 |
| * | python.pkgs.bootstrapped-pip: setuptools: 40.4.3 -> 40.6.2 | Frederik Rietdijk | 2018-12-03 | 1 | -2/+2 |
| * | python.pkgs.bootstrapped-pip: wheel 0.32.1 -> 0.32.2 | Frederik Rietdijk | 2018-10-24 | 1 | -2/+2 |
| * | python.pkgs.bootstrapped-pip: update pip, setuptools and wheel | Frederik Rietdijk | 2018-10-13 | 1 | -6/+6 |
| * | pythonPackages.bootstrapped-pip: setuptools: 40.0.0 -> 40.2.0 | Frederik Rietdijk | 2018-08-25 | 1 | -2/+2 |
| * | python.pkgs.bootstrapped-pip: update pip and setuptools | Frederik Rietdijk | 2018-07-26 | 1 | -4/+4 |
| * | pkgs/*: remove unreferenced function arguments | volth | 2018-07-21 | 1 | -1/+1 |
| * | python.pkgs.bootstrapped-pip: setuptools 39.0.1 -> 39.2.0 | Frederik Rietdijk | 2018-06-02 | 1 | -2/+2 |
| * | python.pkgs.bootstrapped-pip: wheel 0.31.0 -> 0.31.1 | Frederik Rietdijk | 2018-06-02 | 1 | -2/+2 |
| * | python.pkgs.bootstrapped-pip: wheel: 0.30.0 -> 0.31.0 | Robert Schütz | 2018-05-05 | 1 | -2/+2 |
| * | python.pkgs.bootstrapped-pip: remove pkg_resources patch | Robert Schütz | 2018-05-05 | 1 | -10/+0 |
| * | python.pkgs.bootstrapped-pip: 9.0.3 -> 10.0.1 | Frederik Rietdijk | 2018-04-21 | 1 | -3/+3 |
| * | python.pkgs.bootstrapped-pip: pip 9.0.1 -> 9.0.3 , setuptools 38.4.1 -> 39.0.1 | Frederik Rietdijk | 2018-04-08 | 1 | -6/+6 |
| * | python.pkgs.bootstrapped-pip: setuptools 38.4.0 -> 38.4.1 | Frederik Rietdijk | 2018-02-26 | 1 | -2/+2 |
| * | bootstrapped-pip: fix for cross (nativeBuildInputs) | Will Dietz | 2018-01-22 | 1 | -1/+2 |
| * | python.pkgs.bootstrapped-pip update setuptools 38.2.5 -> 38.4.0 | Frederik Rietdijk | 2018-01-07 | 1 | -2/+2 |
| * | python.pkgs.setuptools: 38.2.3 -> 38.2.5 | Frederik Rietdijk | 2017-12-31 | 1 | -2/+2 |
| * | python.pkgs.setuptools: 36.7.1 -> 38.2.3 | Spencer Baugh | 2017-12-07 | 1 | -2/+2 |
| * | python.pkgs.setuptools: 36.4.0/36.6.0 -> 36.7.1 | Frederik Rietdijk | 2017-11-23 | 1 | -2/+2 |
| * | python.pkgs.bootstrapped-pip: fix hash•••Hash was forgotten in
https://github.com/NixOS/nixpkgs/commit/a26ae760e2ebacc5780ebb2906a4c3cc467747c2.
The newer version of pkg_resources, 36.4.0, is actually incomplete.
Therefore, let's stick with the older version which didn't cause any
issues.
| Frederik Rietdijk | 2017-10-07 | 1 | -1/+1 |
| * | python.pkgs.wheel: 0.29.0 -> 0.30.0 | Frederik Rietdijk | 2017-09-13 | 1 | -2/+2 |
| * | python.pkgs.setuptools: upgrade to 36.4.0 | Frederik Rietdijk | 2017-09-07 | 1 | -3/+3 |
| * | python.pkgs.bootstrapped-pip: upgrade pkg_resources, fixes #26392•••pip 9.0.1 vendors a version of setuptools/pkg_resources which has been
fixed in setuptools/pkg_resources but not yet in pip. Because we're now
facing this issue with nox, we update pkg_resources to the version we
also have in setuptools. Let's cross our fingers this will work without
breaking other stuff.
| Frederik Rietdijk | 2017-06-07 | 1 | -1/+12 |
| * | python.pkgs.bootstripped-pip: remove obsolete argparse code•••because we no longer have Python 2.6.
| Frederik Rietdijk | 2017-06-06 | 1 | -8/+0 |
| * | python.pkgs.bootstrapped-pip: update setuptools to 36.0.1 | Frederik Rietdijk | 2017-06-01 | 1 | -12/+19 |