Commit Graph

11874 Commits

Author SHA1 Message Date
Frederik Rietdijk
9dd6537303 pythonPackages.tld: use pythonImportsCheck and pytestCheckHook 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
Jan Tojnar
cdf426488b
Merge branch 'master' into staging-next
Fixed trivial conflicts caused by removing rec.
2019-09-06 03:20:09 +02:00
Jan Tojnar
ed54a5b51d
Merge branch 'gtk-no-plus' 2019-09-06 02:57:51 +02:00
Jan Tojnar
72e7d569a7
tree-wide: s/GTK+/GTK/g
GTK was renamed.
2019-09-06 02:54:53 +02:00
Aaron Andersen
34a6f75090
Merge pull request #62754 from tbenst/imagecodecs-lite
imagecodecs-lite: init at 2019.4.20
2019-09-05 17:24:07 -04:00
Tyler Benster
d0a442f6e5 imagecodecs-lite: init at 2019.4.20 2019-09-05 14:04:24 -07:00
Aaron Andersen
636d9043ea
Merge pull request #68109 from aanderse/pyvmomi
pythonPackages.pyvmomi: init at 6.7.1.2018.12
2019-09-05 12:02:24 -04:00
Marek Mahut
1a5d105e04
Merge pull request #68087 from peterhoeg/u/pio4
platformio: 3.6.6 -> 4.0.3
2019-09-05 08:59:35 +02:00
Marek Mahut
88c42a26a2
Merge pull request #68093 from jonringer/bump-textacy
python3Packages.textacy: 0.6.3 -> 0.9.1
2019-09-05 08:27:23 +02:00
Aaron Andersen
a4ac265039 pythonPackages.pyvmomi: init at 6.7.1.2018.12 2019-09-04 11:42:47 -04:00
Aaron Andersen
8b9001d759
Merge pull request #68066 from dtzWill/update/speedtest-cli-2.1.2
speedtest-cli: 2.1.1 -> 2.1.2
2019-09-04 06:00:35 -04:00
Vladimír Čunát
4aad2947f8
Merge branch 'master' into staging-next 2019-09-04 11:00:56 +02:00
Marek Mahut
1d8a3973f4
Merge pull request #67988 from mmahut/trezor-agent
pythonPackages.trezor_agent: adding buildInputs required for GPG
2019-09-04 10:46:14 +02:00
Jonathan Ringer
92ef9bb692 python3Packages.textacy: 0.6.3 -> 0.9.1 2019-09-04 01:28:05 -07:00
Peter Hoeg
8edc31aa35 pythonPackages.semantic-version: 2.6.0 -> 2.8.1 2019-09-04 13:59:08 +08:00
Will Dietz
3f7d0ad89e
speedtest-cli: 2.1.1 -> 2.1.2 2019-09-03 19:47:35 -05:00
Sarah Brofeldt
ce8cd5fd00
Merge pull request #68001 from johanot/fix-cherrypy
python3Packages.cherrypy: fix tests after upgrade to pytest5
2019-09-03 19:23:44 +02:00
Silvan Mosberger
ce944b4bde
Merge pull request #64552 from evanjs/feature/openrazer-2.3.1
openrazer: init at 2.6.0
2019-09-03 19:14:58 +02:00
Johan Thomsen
585c9e2b10 python3Packages.cherrypy: fix tests after upgrade to pytest5 2019-09-03 12:52:57 +02:00
Marek Mahut
a8b3979f2d
Merge pull request #67949 from talkara/pythonPackages.robotframework-sshlibrary
pythonPackages.robotframework-sshlibrary: 3.3.0 -> 3.4.0
2019-09-03 11:02:59 +02:00
Marek Mahut
254e2ec209
Merge pull request #67946 from MrMebelMan/init/python-pipedrive
pythonPackages.python-pipedrive: init at 0.4.0
2019-09-03 11:02:14 +02:00
Vladyslav Burzakovskyy
0a7905ce74 pythonPackages.python-pipedrive: init at 0.4.0 2019-09-03 10:41:47 +02:00
Marek Mahut
718ccddf32 pythonPackages.trezor_agent: adding mmahut as maintainer 2019-09-03 09:02:03 +02:00
Marek Mahut
f7d9cf16bf pythonPackages.trezor_agent: adding buildInputs required for GPG 2019-09-03 09:01:23 +02:00
Mario Rodas
1bf5120e0a
Merge pull request #65163 from thefloweringash/pyscard-darwin
pyscard: fix darwin build, remove pcsc library mixing
2019-09-02 19:23:07 -05:00
Vladimír Čunát
f21211ebfe
Merge branch 'master' into staging 2019-09-02 23:25:24 +02:00
Taito Horiuchi
fab559102e pythonPackages.robotframework-sshlibrary: 3.3.0 -> 3.4.0 2019-09-02 16:52:15 +03:00
Matthieu Coudron
becf5adaeb
Merge pull request #67925 from arcnmx/flask-1.0.4
pythonPackages.flask: 1.0.3 -> 1.0.4
2019-09-02 18:52:00 +09:00
arcnmx
8f9ad4a2b5 pythonPackages.flask: 1.0.3 -> 1.0.4 2019-09-02 00:13:16 -07:00
Marek Mahut
0a8e54d1c6
Merge pull request #67871 from prusnak/pytest-random-order
pythonPackages.pytest-random-order: init at 1.0.4
2019-09-02 08:14:09 +02:00
worldofpeace
58eb9a2ebd
Merge pull request #67752 from omniitgmbh/python_phonenumbers
pythonPackages.phonenumbers: 8.10.16 -> 8.10.17
2019-09-02 01:17:03 -04:00
Tristan Helmich (omniIT)
10d0ab20ff pythonPackages.phonenumbers: 8.10.16 -> 8.10.17 2019-09-02 01:16:05 -04:00
Dima
a88976d222 pythonPackages.uvloop: 0.12.2 -> 0.13.0 (#67735)
* As mentioned in https://github.com/NixOS/nixpkgs/issues/67492
the build was broken after an update of openssl versions.

* Fixes a flake8 unit-test case that requires a flake8 config
which is not shipped with the distribution.

* Fixes build on darwin.
2019-09-01 22:53:50 -04:00
Emily
cb5b674b58 {glasgow,libfx2}: init at 2018-{09-01,08-27} 2019-09-01 14:22:49 -05:00
Emily
321efae699 python3Packages.nmigen{,-boards}: init at unstable-2019-08-{31,30} 2019-09-01 14:22:49 -05:00
Pavol Rusnak
a39eb9dda4
pythonPackages.trezor: fix typo (pyarg vs pyargs) 2019-09-01 13:41:28 +02:00
Pavol Rusnak
c27dcde85a
pythonPackages.pytest-random-order: init at 1.0.4 2019-09-01 10:09:19 +02:00
Wael Nasreddine
4b51602816
intake: 0.4.4 -> 0.5.3 (#66412) 2019-09-01 00:32:43 -06:00
Ivan Kozik
a1349065d6 python3Packages.pikepdf: 1.1.0 -> 1.6.2
pikepdf's tests work with the nixpkgs versions of pytest, attrs, and
hypothesis. I skipped bumping these to avoid mass rebuilds.

This fixes #67850.
2019-08-31 22:19:45 +00:00
Ivan Kozik
eeec6d7325 pybind11: 2.2.4 -> 2.3.0
pikepdf wants a newer pybind11.
2019-08-31 22:18:25 +00:00
Nikolay Amiantov
e0795aa5e8 tensorflow: fix python2 build
Avoid using PYTHONPATH, switch to python envs instead.
2019-08-31 21:02:55 +03:00
Corbin
f1d6ed40a0 pythonPackages.scandir: Fix tests on non-CPython. 2019-08-31 18:12:18 +02:00
Frederik Rietdijk
98ef78326d Merge staging-next into staging 2019-08-31 18:07:33 +02:00
Frederik Rietdijk
96e5474329 Merge master into staging-next 2019-08-31 18:04:31 +02:00
Peter Simons
107af97c90 python-mailman-hyperkitty: initial version 1.1.0 2019-08-31 14:47:19 +02:00
Kevin Quick
a8aeb913b0 python: thespian: 3.9.9 -> 3.9.10 2019-08-31 13:59:54 +02:00
Frederik Rietdijk
ad1d58c622 Merge staging-next into staging 2019-08-31 10:04:20 +02:00
Frederik Rietdijk
fc74ba8291 Merge master into staging-next 2019-08-31 09:50:38 +02:00
averelld
5a581c420c python.pkgs.handout: init at 1.0.0 (#66263) 2019-08-31 00:19:16 -04:00