summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/bootstrapped-pip (follow)
Commit message (Expand)AuthorAgeFilesLines
* pkgs.development.python-modules: remove unused argsMarkus S. Wamser2021-11-122-4/+2
* treewide: remove lib.{lists,string}.optional*Sandro Jäckel2021-07-292-2/+2
* Convert phases that contain ":" to dont* = trueSandro Jäckel2021-07-172-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 Rietdijk2021-03-231-0/+67
* python3Packages.setuptools: 50.3.1 -> 54.2.0Frederik Rietdijk2021-03-231-0/+1
* pkgs/development/python-modules: stdenv.lib -> libPavol Rusnak2021-01-241-3/+3
* cpython: fix finding headers when cross-compiling extension modulesBen Wolsieffer2020-12-281-1/+1
* python3Packages.pip: 20.2.4 -> 20.3Frederik Rietdijk2020-12-011-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 Rietdijk2020-12-011-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 Rietdijk2020-11-251-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 Rietdijk2020-11-231-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 Rietdijk2020-11-221-1/+1
* cpython: fix finding headers when cross-compiling extension modulesBen Wolsieffer2020-11-191-1/+1
* python2.pkgs.pip: fix regression in 20.2Frederik Rietdijk2020-11-051-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 Rietdijk2020-11-051-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/7808zimbatm2020-10-311-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 Rietdijk2019-10-201-39/+36
* python.pkgs.bootstrapped-pip: 19.3 -> 19.3.1Frederik Rietdijk2019-10-181-2/+2
* python.pkgs.bootstrapped-pip: upgrade pip and setuptoolsFrederik Rietdijk2019-10-181-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 Rietdijk2019-09-061-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 Rietdijk2019-09-061-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 Rietdijk2019-06-151-6/+6
* pythonPackages.bootstrapped-pip: setuptools 40.8.0 -> 41.0.0Frederik Rietdijk2019-04-181-2/+2
* python.pkgs.bootstrapped-pip: pip 19.0.2 -> 19.0.3, wheel 0.33.0 -> 0.33.1Frederik Rietdijk2019-02-231-4/+4
* python.pkgs.bootstrapped-pip: wheel 0.32.2 -> 0.33.0, setuptools 40.6.3 -> 40...Frederik Rietdijk2019-02-171-6/+6
* python.pkgs.bootstrapped-pip: setuptools 40.6.2 -> 40.6.3Frederik Rietdijk2019-01-181-2/+2
* python.pkgs.bootstrapped-pip: setuptools: 40.4.3 -> 40.6.2Frederik Rietdijk2018-12-031-2/+2
* python.pkgs.bootstrapped-pip: wheel 0.32.1 -> 0.32.2Frederik Rietdijk2018-10-241-2/+2
* python.pkgs.bootstrapped-pip: update pip, setuptools and wheelFrederik Rietdijk2018-10-131-6/+6
* pythonPackages.bootstrapped-pip: setuptools: 40.0.0 -> 40.2.0Frederik Rietdijk2018-08-251-2/+2
* python.pkgs.bootstrapped-pip: update pip and setuptoolsFrederik Rietdijk2018-07-261-4/+4
* pkgs/*: remove unreferenced function argumentsvolth2018-07-211-1/+1
* python.pkgs.bootstrapped-pip: setuptools 39.0.1 -> 39.2.0Frederik Rietdijk2018-06-021-2/+2
* python.pkgs.bootstrapped-pip: wheel 0.31.0 -> 0.31.1Frederik Rietdijk2018-06-021-2/+2
* python.pkgs.bootstrapped-pip: wheel: 0.30.0 -> 0.31.0Robert Schütz2018-05-051-2/+2
* python.pkgs.bootstrapped-pip: remove pkg_resources patchRobert Schütz2018-05-051-10/+0
* python.pkgs.bootstrapped-pip: 9.0.3 -> 10.0.1Frederik Rietdijk2018-04-211-3/+3
* python.pkgs.bootstrapped-pip: pip 9.0.1 -> 9.0.3 , setuptools 38.4.1 -> 39.0.1Frederik Rietdijk2018-04-081-6/+6
* python.pkgs.bootstrapped-pip: setuptools 38.4.0 -> 38.4.1Frederik Rietdijk2018-02-261-2/+2
* bootstrapped-pip: fix for cross (nativeBuildInputs)Will Dietz2018-01-221-1/+2
* python.pkgs.bootstrapped-pip update setuptools 38.2.5 -> 38.4.0Frederik Rietdijk2018-01-071-2/+2
* python.pkgs.setuptools: 38.2.3 -> 38.2.5Frederik Rietdijk2017-12-311-2/+2
* python.pkgs.setuptools: 36.7.1 -> 38.2.3Spencer Baugh2017-12-071-2/+2
* python.pkgs.setuptools: 36.4.0/36.6.0 -> 36.7.1Frederik Rietdijk2017-11-231-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 Rietdijk2017-10-071-1/+1
* python.pkgs.wheel: 0.29.0 -> 0.30.0Frederik Rietdijk2017-09-131-2/+2
* python.pkgs.setuptools: upgrade to 36.4.0Frederik Rietdijk2017-09-071-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 Rietdijk2017-06-071-1/+12
* python.pkgs.bootstripped-pip: remove obsolete argparse code•••because we no longer have Python 2.6. Frederik Rietdijk2017-06-061-8/+0
* python.pkgs.bootstrapped-pip: update setuptools to 36.0.1Frederik Rietdijk2017-06-011-12/+19