Commit Graph

18 Commits

Author SHA1 Message Date
github-actions[bot]
425886d6c2
Merge master into staging-next 2021-04-17 12:05:49 +00:00
Thomas Gerbet
c6cc128f30 python3Packages.py: fix homepage link 2021-04-17 10:31:50 +02:00
Frederik Rietdijk
14210bd255 python3Packages.py: 1.9.0 -> 1.10.0 2021-04-03 17:49:06 +02:00
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Frederik Rietdijk
a06c6f1cfa python: py: 1.8.2 -> 1.9.0 2020-08-16 19:31:10 +02:00
Frederik Rietdijk
210a10bd66 python: py: 1.8.1 -> 1.8.2 2020-08-04 21:54:52 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Frederik Rietdijk
3a7d95c2af python: py: 1.8.0 -> 1.8.1 2019-12-30 16:46:54 +01: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
Jonathan Ringer
d06cc8a6ae pythonPackages.py: 1.7.0 -> 1.8.0 2019-08-18 11:48:39 +02:00
Daniel Schaefer
92cccb6f83 treewide: Use HTTPS for readthedocs URLs 2019-04-22 20:46:18 +02:00
Frederik Rietdijk
950929ca46 python: py: 1.5.4 -> 1.7.0 2018-10-24 20:05:44 +02:00
Frederik Rietdijk
f667b56d36 python: py: 1.5.3 -> 1.5.4 2018-07-26 12:43:04 +02:00
Frederik Rietdijk
ced21f5e1a pythonPackages: remove name attribute`
The `buildPython*` function computes name from `pname` and `version`.
This change removes `name` attribute from all expressions in
`pkgs/development/python-modules`.

While at it, some other minor changes were made as well, such as
replacing `fetchurl` calls with `fetchPypi`.
2018-06-23 18:14:26 +02:00
Frederik Rietdijk
597af7df9b python: py: 1.5.2 -> 1.5.3 2018-04-08 11:34:55 +02:00
Frederik Rietdijk
358bebafb9 python: py: 1.4.34 -> 1.5.2 2017-12-31 10:55:11 +01:00
Lancelot SIX
d2b5850ad0 pythonPackages.py: 1.4.31 -> 1.4.34 2017-08-25 19:36:15 +02:00