Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildPythonPackage: always export LANG=C.UTF-8 #55826

Closed
wants to merge 420 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
420 commits
Select commit Hold shift + click to select a range
3b54794
python: pamela: 0.3.0 -> 1.0.0
FRidh Feb 14, 2019
ab132f4
python: pamqp: 2.0.0 -> 2.1.0
FRidh Feb 14, 2019
e7b173e
python: pandas: 0.23.4 -> 0.24.1
FRidh Feb 14, 2019
aa3b14d
python: paperspace: 0.0.13 -> 0.0.15
FRidh Feb 14, 2019
b4fe2e7
python: parameterized: 0.6.1 -> 0.7.0
FRidh Feb 14, 2019
3ea9173
python: parse: 1.9.0 -> 1.11.1
FRidh Feb 14, 2019
75980d2
python: parso: 0.3.1 -> 0.3.4
FRidh Feb 14, 2019
cd20d50
python: PasteDeploy: 1.5.2 -> 2.0.1
FRidh Feb 14, 2019
d53bc99
python: PasteScript: 2.0.2 -> 3.0.0
FRidh Feb 14, 2019
283795f
python: pathos: 0.2.2.1 -> 0.2.3
FRidh Feb 14, 2019
aca40ab
python: pbr: 5.1.1 -> 5.1.2
FRidh Feb 14, 2019
3bbd921
python: pdf2image: 1.3.1 -> 1.4.1
FRidh Feb 14, 2019
abf0299
python: pex: 1.5.3 -> 1.6.2
FRidh Feb 14, 2019
957a757
python: pg8000: 1.12.4 -> 1.13.1
FRidh Feb 14, 2019
bb2ddd5
python: phonenumbers: 8.10.3 -> 8.10.5
FRidh Feb 14, 2019
4b49c54
python: phonopy: 1.13.2.107 -> 2.0.0
FRidh Feb 14, 2019
e7b6c04
python: pid: 2.2.1 -> 2.2.2
FRidh Feb 14, 2019
5477e0e
python: Pillow: 5.3.0 -> 5.4.1
FRidh Feb 14, 2019
b573ba7
python: pint: 0.8.1 -> 0.9
FRidh Feb 14, 2019
384e322
python: pip-tools: 3.1.0 -> 3.3.2
FRidh Feb 14, 2019
6316fd1
python: pip: 18.1 -> 19.0.2
FRidh Feb 14, 2019
194463e
python: pkginfo: 1.4.2 -> 1.5.0.1
FRidh Feb 14, 2019
ab6134c
python: plaid-python: 2.3.4 -> 2.4.0
FRidh Feb 14, 2019
00a9a5d
python: plotly: 3.4.2 -> 3.6.1
FRidh Feb 14, 2019
8c780cd
python: pluginbase: 0.7 -> 1.0.0
FRidh Feb 14, 2019
9c20a19
python: plyfile: 0.6 -> 0.7
FRidh Feb 14, 2019
f39d486
python: portpicker: 1.2.0 -> 1.3.0
FRidh Feb 14, 2019
cb50e38
python: pox: 0.2.4 -> 0.2.5
FRidh Feb 14, 2019
4886d82
python: ppft: 1.6.4.8 -> 1.6.4.9
FRidh Feb 14, 2019
f3272ea
python: premailer: 3.2.0 -> 3.3.0
FRidh Feb 14, 2019
387bfdc
python: prettytable: 0.7.2 -> 7
FRidh Feb 14, 2019
9390b8b
python: process-tests: 2.0.1 -> 2.0.2
FRidh Feb 14, 2019
fb58a77
python: prometheus_client: 0.4.2 -> 0.5.0
FRidh Feb 14, 2019
7b55356
python: prompt_toolkit: 2.0.7 -> 2.0.8
FRidh Feb 14, 2019
0c0149b
python: psycopg2: 2.7.6.1 -> 2.7.7
FRidh Feb 14, 2019
6e18c8d
python: pvlib: 0.6.0 -> 0.6.1
FRidh Feb 14, 2019
e48c640
python: scrypt: 0.8.6 -> 0.8.13
FRidh Feb 14, 2019
b5eea7d
python: pyaml: 17.12.1 -> 18.11.0
FRidh Feb 14, 2019
bf1f563
python: pyasn1-modules: 0.2.3 -> 0.2.4
FRidh Feb 14, 2019
9ce4638
python: pybase64: 0.4.0 -> 0.5.0
FRidh Feb 14, 2019
37f7236
python: pycapnp: 0.6.3 -> 0.6.4
FRidh Feb 14, 2019
566ce43
python: PyChromecast: 2.4.0 -> 2.5.0
FRidh Feb 14, 2019
93401f5
python: PyContracts: 1.8.8 -> 1.8.12
FRidh Feb 14, 2019
513db42
python: pycryptodome: 3.7.2 -> 3.7.3
FRidh Feb 14, 2019
9e135cb
python: pycryptodomex: 3.7.2 -> 3.7.3
FRidh Feb 14, 2019
511f76c
python: pyepsg: 0.3.2 -> 0.4.0
FRidh Feb 14, 2019
029a474
python: pyFFTW: 0.10.4 -> 0.11.1
FRidh Feb 14, 2019
2bf0f8e
python: pyfiglet: 0.8.post0 -> 0.8.post1
FRidh Feb 14, 2019
b370b5e
python: pyflakes: 2.0.0 -> 2.1.0
FRidh Feb 14, 2019
35bc881
python: pyhomematic: 0.1.54 -> 0.1.55
FRidh Feb 14, 2019
32f5eef
python: pyjet: 1.3.0 -> 1.4.0
FRidh Feb 14, 2019
3444ddb
python: PyJWT: 1.6.4 -> 1.7.1
FRidh Feb 14, 2019
fb61b06
python: pylast: 2.4.0 -> 3.0.0
FRidh Feb 14, 2019
278b870
python: pylibgen: 1.3.1 -> 2.0.1
FRidh Feb 14, 2019
b79170c
python: pylint: 1.9.4 -> 2.2.2
FRidh Feb 14, 2019
ed58aad
python: pymatgen: 2018.10.18 -> 2019.2.4
FRidh Feb 14, 2019
3b72765
python: pymc3: 3.5 -> 3.6
FRidh Feb 14, 2019
b443481
python: pymediainfo: 2.3.0 -> 3.0
FRidh Feb 14, 2019
8db0283
python: pynmea2: 1.12.0 -> 1.15.0
FRidh Feb 14, 2019
e5a9e59
python: pyopencl: 2018.2.2 -> 2018.2.3
FRidh Feb 14, 2019
e4b2d75
python: pyOpenSSL: 18.0.0 -> 19.0.0
FRidh Feb 14, 2019
dc6e7b4
python: pyowm: 2.9.0 -> 2.10.0
FRidh Feb 14, 2019
79cfa4c
python: pyramid: 1.10.1 -> 1.10.2
FRidh Feb 14, 2019
da0ea57
python: pyramid_jinja2: 2.7 -> 2.8
FRidh Feb 14, 2019
30ff9e4
python: pyro-ppl: 0.3.0 -> 0.3.1
FRidh Feb 14, 2019
37c5f77
python: Pyro4: 4.74 -> 4.75
FRidh Feb 14, 2019
5760d70
python: pyrr: 0.7.2 -> 0.10.1
FRidh Feb 14, 2019
be4e6da
python: pyrsistent: 0.14.9 -> 0.14.10
FRidh Feb 14, 2019
c287dff
python: pyspread: 1.1.2 -> 1.1.3
FRidh Feb 14, 2019
f5d90e5
python: pytest-asyncio: 0.9.0 -> 0.10.0
FRidh Feb 14, 2019
31049ac
python: pytest-django: 3.4.6 -> 3.4.7
FRidh Feb 14, 2019
23c34be
python: pytest-fixture-config: 1.3.0 -> 1.4.0
FRidh Feb 14, 2019
3de5539
python: pytest-flake8: 1.0.3 -> 1.0.4
FRidh Feb 14, 2019
fbe3c11
python: pytest-forked: 0.2 -> 1.0.1
FRidh Feb 14, 2019
0db8faf
python: pytest-localserver: 0.4.2 -> 0.5.0
FRidh Feb 14, 2019
81b232d
python: pytest-mock: 1.10.0 -> 1.10.1
FRidh Feb 14, 2019
940ae2d
python: pytest-server-fixtures: 1.3.1 -> 1.6.1
FRidh Feb 14, 2019
139086f
python: pytest-shutil: 1.3.0 -> 1.6.0
FRidh Feb 14, 2019
818a95e
python: pytest-virtualenv: 1.3.0 -> 1.6.0
FRidh Feb 14, 2019
c664d7d
python: pytest-xdist: 1.24.1 -> 1.26.1
FRidh Feb 14, 2019
2d8fee8
python: python-binance: 0.7.0 -> 0.7.1
FRidh Feb 14, 2019
b635361
python: python-daemon: 2.2.0 -> 2.2.3
FRidh Feb 14, 2019
fcc212d
python: python-editor: 1.0.3 -> 1.0.4
FRidh Feb 14, 2019
1ac26a1
python: python-rapidjson: 0.6.3 -> 0.7.0
FRidh Feb 14, 2019
3094199
python: python-slugify: 1.2.6 -> 2.0.1
FRidh Feb 14, 2019
27cfa4e
python: python-socketio: 2.1.2 -> 3.1.2
FRidh Feb 14, 2019
62cef55
python: pytools: 2018.5.2 -> 2019.1
FRidh Feb 14, 2019
431d59d
python: pytz: 2018.7 -> 2018.9
FRidh Feb 14, 2019
b3e0255
python: pytzdata: 2018.7 -> 2018.9
FRidh Feb 14, 2019
eaa15bd
python: pyunifi: 2.15 -> 2.16
FRidh Feb 14, 2019
950bd5d
python: pyupdate: 0.2.16 -> 0.2.23
FRidh Feb 14, 2019
9dbecce
python: qiskit: 0.6.1 -> 0.7.2
FRidh Feb 14, 2019
30775bd
python: QtPy: 1.5.2 -> 1.6.0
FRidh Feb 14, 2019
882229b
python: redis: 3.0.1 -> 3.1.0
FRidh Feb 14, 2019
e78f7c5
python: regex: 2018.11.22 -> 2019.02.07
FRidh Feb 14, 2019
6e6093b
python: requests-oauthlib: 1.0.0 -> 1.2.0
FRidh Feb 14, 2019
263cb38
python: requests-toolbelt: 0.8.0 -> 0.9.1
FRidh Feb 14, 2019
e99be89
python: requests: 2.20.1 -> 2.21.0
FRidh Feb 14, 2019
1a2d02d
python: restructuredtext_lint: 1.1.3 -> 1.2.2
FRidh Feb 14, 2019
d9932b5
python: root_numpy: 4.7.3 -> 4.8.0
FRidh Feb 14, 2019
94ed98b
python: rope: 0.11.0 -> 0.12.0
FRidh Feb 14, 2019
8d37757
python: ruamel.yaml: 0.15.86 -> 0.15.88
FRidh Feb 14, 2019
3a82c8c
python: s3transfer: 0.1.13 -> 0.2.0
FRidh Feb 14, 2019
c330aa6
python: salmon-mail: 3.0.2 -> 3.1.0
FRidh Feb 14, 2019
cfc5d55
python: schedule: 0.5.0 -> 0.6.0
FRidh Feb 14, 2019
ad56938
python: scikit-image: 0.14.1 -> 0.14.2
FRidh Feb 14, 2019
dacbd02
python: scipy: 1.2.0 -> 1.2.1
FRidh Feb 14, 2019
cc679ae
python: setuptools: 40.6.3 -> 40.8.0
FRidh Feb 14, 2019
0866c04
python: setuptools_scm: 3.1.0 -> 3.2.0
FRidh Feb 14, 2019
0acf36a
python: six: 1.11.0 -> 1.12.0
FRidh Feb 14, 2019
a050e02
python: smart_open: 1.7.1 -> 1.8.0
FRidh Feb 14, 2019
bf11b73
python: sopel: 6.5.3 -> 6.6.2
FRidh Feb 14, 2019
9d93065
python: sortedcontainers: 2.0.5 -> 2.1.0
FRidh Feb 14, 2019
e3d9151
python: spglib: 1.10.4.11 -> 1.12.2.post0
FRidh Feb 14, 2019
9501d2d
python: sphinx-testing: 0.8.1 -> 1.0.0
FRidh Feb 14, 2019
433977c
python: sphinx_rtd_theme: 0.4.2 -> 0.4.3
FRidh Feb 14, 2019
dc12f69
python: sphinxcontrib-openapi: 0.3.2 -> 0.4.0
FRidh Feb 14, 2019
218fe53
python: sphinxcontrib-plantuml: 0.12 -> 0.14
FRidh Feb 14, 2019
7639118
python: sqlmap: 1.2.12 -> 1.3.2
FRidh Feb 14, 2019
372a63e
python: SQLObject: 3.7.0 -> 3.7.1
FRidh Feb 14, 2019
d1fdf9b
python: srptools: 0.2.0 -> 1.0.0
FRidh Feb 14, 2019
58247be
python: stripe: 2.10.1 -> 2.21.0
FRidh Feb 14, 2019
f4a146b
python: structlog: 18.2.0 -> 19.1.0
FRidh Feb 14, 2019
2856465
python: tabulate: 0.8.2 -> 0.8.3
FRidh Feb 14, 2019
982b718
python: telethon-session-sqlalchemy: 0.2.5 -> 0.2.7
FRidh Feb 14, 2019
6545cf4
python: thespian: 3.9.5 -> 3.9.7
FRidh Feb 14, 2019
399137e
python: tifffile: 0.15.1 -> 2019.2.10
FRidh Feb 14, 2019
3df937a
python: tox: 3.5.3 -> 3.7.0
FRidh Feb 14, 2019
9d140eb
python: tqdm: 4.28.1 -> 4.31.1
FRidh Feb 14, 2019
0d21a1a
python: traits: 4.6.0 -> 5.0.0
FRidh Feb 14, 2019
8685305
python: trezor_agent: 0.9.3 -> 0.10.0
FRidh Feb 14, 2019
ebf7948
python: trio: 0.10.0 -> 0.11.0
FRidh Feb 14, 2019
6630825
python: trustme: 0.4.0 -> 0.5.0
FRidh Feb 14, 2019
dad82d0
python: twine: 1.12.1 -> 1.13.0
FRidh Feb 14, 2019
a5626e9
python: twitter.common.collections: 0.3.9 -> 0.3.10
FRidh Feb 14, 2019
e1c2465
python: twitter.common.confluence: 0.3.9 -> 0.3.10
FRidh Feb 14, 2019
46f5662
python: twitter.common.dirutil: 0.3.9 -> 0.3.10
FRidh Feb 14, 2019
aaaccc7
python: twitter.common.lang: 0.3.9 -> 0.3.10
FRidh Feb 14, 2019
53b3408
python: twitter.common.log: 0.3.9 -> 0.3.10
FRidh Feb 14, 2019
4468607
python: twitter.common.options: 0.3.9 -> 0.3.10
FRidh Feb 14, 2019
b8bf5d3
python: txtorcon: 18.3.0 -> 19.0.0
FRidh Feb 14, 2019
9d87795
python: typed-ast: 1.1.2 -> 1.3.1
FRidh Feb 14, 2019
3f94cd6
python: uproot-methods: 0.2.11 -> 0.4.2
FRidh Feb 14, 2019
e3f439a
python: uproot: 3.2.15 -> 3.4.5
FRidh Feb 14, 2019
ac82481
python: vega_datasets: 0.5.0 -> 0.7.0
FRidh Feb 14, 2019
0573430
python: venusian: 1.1.0 -> 1.2.0
FRidh Feb 14, 2019
1744fa8
python: vidstab: 1.0.1 -> 1.5.6
FRidh Feb 14, 2019
318f897
python: virtualenv-clone: 0.2.6 -> 0.5.1
FRidh Feb 14, 2019
5c78b31
python: virtualenv: 16.1.0 -> 16.4.0
FRidh Feb 14, 2019
b3be91d
python: virtualenvwrapper: 4.8.2 -> 4.8.4
FRidh Feb 14, 2019
6c8e813
python: voluptuous-serialize: 2.0.0 -> 2.1.0
FRidh Feb 14, 2019
6837052
python: waitress: 1.1.0 -> 1.2.1
FRidh Feb 14, 2019
abb0431
python: wheel: 0.32.3 -> 0.33.0
FRidh Feb 14, 2019
ed0b65f
python: wrapt: 1.10.11 -> 1.11.1
FRidh Feb 14, 2019
dbf97e6
python: wsproto: 0.12.0 -> 0.13.0
FRidh Feb 14, 2019
edf22b1
python: xkcdpass: 1.16.5 -> 1.17.2
FRidh Feb 14, 2019
f210b87
python: xlrd: 1.1.0 -> 1.2.0
FRidh Feb 14, 2019
4715b26
python: xml2rfc: 2.12.3 -> 2.18.0
FRidh Feb 14, 2019
5d848ff
python: xmltodict: 0.11.0 -> 0.12.0
FRidh Feb 14, 2019
80b35d7
python: yamllint: 1.14.0 -> 1.15.0
FRidh Feb 14, 2019
f9d7287
python: yapf: 0.25.0 -> 0.26.0
FRidh Feb 14, 2019
3486d83
python: yattag: 1.10.1 -> 1.11.1
FRidh Feb 14, 2019
806b93b
python: ZConfig: 3.3.0 -> 3.4.0
FRidh Feb 14, 2019
11dcab1
python: zm-py: 0.3.0 -> 0.3.3
FRidh Feb 14, 2019
d6b39f4
python: zope.configuration: 4.3.0 -> 4.3.1
FRidh Feb 14, 2019
fff62b1
python: zope.deprecation: 4.3.0 -> 4.4.0
FRidh Feb 14, 2019
889d9f1
python.pkgs.bootstrapped-pip: wheel 0.32.2 -> 0.33.0, setuptools 40.6…
FRidh Feb 14, 2019
d06cf04
python: pytest: 3.9.3 -> 4.2.1
FRidh Feb 14, 2019
238c413
python.pkgs.freezegun: use correct inputs
FRidh Feb 14, 2019
81b7576
python.pkgs.pandas: cython is a native build input
FRidh Feb 14, 2019
3e1b604
python: pycodestyle: 2.4.0 -> 2.5.0
FRidh Feb 14, 2019
ede271e
python.pkgs.flake8: 3.5.0 -> 3.7.5
FRidh Feb 14, 2019
6f3a78a
python.pkgs.html5lib: disable certain tests
FRidh Feb 14, 2019
db3706e
buildPython*: enable strictDeps
FRidh Jan 5, 2019
e2b5633
python.pkgs.pytest_3: keep older version
FRidh Feb 14, 2019
e8acddf
python.pkgs.soupsieve: init at 1.7.3
FRidh Feb 14, 2019
b224591
python.pkgs.pytest-cov: remove unused deps
FRidh Feb 14, 2019
2ea0944
python.pkgs.ipykernel: disable failing tests
FRidh Feb 14, 2019
96b0a5e
fixup soupsieve
FRidh Feb 14, 2019
beec7fb
fixup pandas
FRidh Feb 14, 2019
edffef5
python.pkgs.characteristic: fix pytest 4 incompatibility
FRidh Feb 14, 2019
9c6a517
python.pkgs.pytest-mock: fix build
FRidh Feb 14, 2019
18ce7df
python.pkgs.pyflakes: run tests
Feb 14, 2019
d7e9027
python.pkgs.pycodestyle: remove unused argument
Feb 14, 2019
3745b3d
python.pkgs.entrypoints: simplify tests
timokau Jan 7, 2019
1965d34
python.pkgs.whoosh: use pytest_3
Feb 14, 2019
51b2ea2
borgbackup: use msgpack-python-0.5.6
Feb 14, 2019
bb05338
python.pkgs.parameterized: update dependencies
Feb 14, 2019
05c37da
python.pkgs.pytest-timeout: fix tests
Feb 14, 2019
0763b04
python.pkgs.Mako: use pytest_3
Feb 14, 2019
616efcc
python.pkgs.txaio: use pytest_3
Feb 14, 2019
9ee2429
python.pkgs.requests_toolbelt: disable tests that access network
Feb 14, 2019
2f8b321
python.pkgs.requests_toolbelt: add meta.license
Feb 14, 2019
3756bf3
python.pkgs.pyjwt: run tests
Feb 14, 2019
5a2d2b2
home-assistant: fix pinned dependencies' builds
Feb 14, 2019
44993b3
python.pkgs.pytest-localserver: fix tests
Feb 14, 2019
32b9edf
python.pkgs.hkdf: no tests in tarball
Feb 14, 2019
6a50376
python.pkgs.PasteDeploy: no tests in tarball
Feb 14, 2019
54152aa
python.pkgs.aiodns: add typing to propagatedBuildInputs
Feb 14, 2019
9da9d44
python.pkgs.virtualenv: rebase virtualenv-change-prefix.patch
Feb 14, 2019
6d2be5d
python.pkgs.oauthlib: 2.0.0 -> 3.0.1
Feb 14, 2019
17f6855
python.pkgs.praw: use pytest_3
Feb 14, 2019
73fb4ab
Revert "python: prettytable: 0.7.2 -> 7"
Feb 14, 2019
2192b06
awscli: 1.16.90 -> 1.16.104
FRidh Feb 14, 2019
d7c9efe
dosage: fix build
FRidh Feb 14, 2019
0244b28
fixup jenkins-job-builder
FRidh Feb 14, 2019
009ed7c
pythonPackages.pkgconfig: use same setupHook as pkgconfig
catern Feb 12, 2019
6be7c1c
Revert "python.pkgs.matplotlib: use pkgs.pkgconfig"
FRidh Feb 14, 2019
6d678ec
fixup Revert "python: jupyter_console: 5.2.0 -> 6.0.0"
FRidh Feb 14, 2019
f85e119
vulnix: ronn is a native build input
FRidh Feb 14, 2019
87e65bc
matplotlib: fix pkgconfig situation
FRidh Feb 14, 2019
ba0b85e
python.pkgs.pylibgen: no tests in tarball
Feb 14, 2019
f9b2cf8
papis: fix build with recent python-slugify
Feb 14, 2019
d55c302
python.pkgs.mutagen: fix tests with updated pycodestyle
Feb 14, 2019
35cfddd
python.pkgs.portend: disable flake8 tests
Feb 14, 2019
20d74d2
python.pkgs.billiard: add psutil to propagatedBuildInputs
Feb 14, 2019
e9a0452
python.pkgs.kombu: add Pyro4 to checkInputs
Feb 14, 2019
17abb28
python.pkgs.protobuf: fix build
FRidh Feb 15, 2019
60e9847
python.pkgs.pyqt5: fix build
FRidh Feb 15, 2019
f14e025
python.pkgs.qtconsole: distinguish between build and check inputs
FRidh Feb 15, 2019
f4edc7f
python.pkgs.cypari2: fix build
FRidh Feb 15, 2019
e95fa25
python.pkgs.murmurhash: fix build
FRidh Feb 15, 2019
d384afa
fixup Revert "python: astroid: 1.6.5 -> 2.1.0"
FRidh Feb 15, 2019
fc6b829
fixup Revert "python: pylint: 1.9.4 -> 2.2.2"
FRidh Feb 15, 2019
1a677eb
fixup after strictDeps
FRidh Feb 15, 2019
f06dee6
python.pkgs.partd: disable failing test
FRidh Feb 15, 2019
530cd4a
fixup pyfftw
FRidh Feb 15, 2019
2610dbc
python.pkgs.tqdm: disable tests
FRidh Feb 15, 2019
a82ff35
fixup mpi4py strictdeps
FRidh Feb 15, 2019
23ddab5
fixup gssapi strictdeps
FRidh Feb 15, 2019
15223d9
fixup libnacl strictDeps
FRidh Feb 15, 2019
4bd168e
fixup docs strictDeps
FRidh Feb 15, 2019
5e47501
fixup pyside strictdeps
FRidh Feb 15, 2019
11f4868
python.pkgs.datashape: mark as broken
FRidh Feb 15, 2019
ce2d9c6
python.pkgs.wurlitzer: init at 1.0.2
FRidh Feb 15, 2019
f581987
spyder: 3.2.8 -> 3.3.3
FRidh Feb 15, 2019
007b2ee
python.pkgs.qtawesome: fix build
FRidh Feb 15, 2019
e099fbd
fixup wsproto
FRidh Feb 15, 2019
4e537dd
python.pkgs.distro: mark as broken
FRidh Feb 15, 2019
6fbdf4f
python.pkgs.trollius: only for python 2
FRidh Feb 15, 2019
b73d4f4
fixup strictDeps
FRidh Feb 15, 2019
0e4dcb8
python.pkgs.pythonix: mark as broken
FRidh Feb 15, 2019
e1d7585
python.pkgs.python-services: init at 1.3.1
Feb 13, 2019
a4628e6
python3.pkgs.cherrypy: 18.0.1 -> 18.1.0
Feb 13, 2019
e0b50db
fixup mailnag strictdeps
FRidh Feb 15, 2019
6b4db9a
fixup dogpile_cache
FRidh Feb 15, 2019
097412f
fixup av
FRidh Feb 15, 2019
ccaea6b
fixup spyder
FRidh Feb 15, 2019
0f5d900
buildPythonPackage: always export `LANG=C.UTF-8`
FRidh Feb 15, 2019
272ce3f
python.pkgs: remove glibcLocales and don't set LC_ALL/LANG
FRidh Feb 15, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 17 additions & 3 deletions doc/languages-frameworks/python.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -602,10 +602,9 @@ as the interpreter unless overridden otherwise.
All parameters from `stdenv.mkDerivation` function are still supported. The following are specific to `buildPythonPackage`:

* `catchConflicts ? true`: If `true`, abort package build if a package name appears more than once in dependency tree. Default is `true`.
* `checkInputs ? []`: Dependencies needed for running the `checkPhase`. These are added to `buildInputs` when `doCheck = true`.
* `disabled` ? false: If `true`, package is not build for the particular Python interpreter version.
* `dontWrapPythonPrograms ? false`: Skip wrapping of python programs.
* `installFlags ? []`: A list of strings. Arguments to be passed to `pip install`. To pass options to `python setup.py install`, use `--install-option`. E.g., `installFlags=["--install-option='--cpp_implementation'"].
* `installFlags ? []`: A list of strings. Arguments to be passed to `pip install`. To pass options to `python setup.py install`, use `--install-option`. E.g., `installFlags=["--install-option='--cpp_implementation'"]`.
* `format ? "setuptools"`: Format of the source. Valid options are `"setuptools"`, `"flit"`, `"wheel"`, and `"other"`. `"setuptools"` is for when the source has a `setup.py` and `setuptools` is used to build a wheel, `flit`, in case `flit` should be used to build a wheel, and `wheel` in case a wheel is provided. Use `other` when a custom `buildPhase` and/or `installPhase` is needed.
* `makeWrapperArgs ? []`: A list of strings. Arguments to be passed to `makeWrapper`, which wraps generated binaries. By default, the arguments to `makeWrapper` set `PATH` and `PYTHONPATH` environment variables before calling the binary. Additional arguments here can allow a developer to set environment variables which will be available when the binary is run. For example, `makeWrapperArgs = ["--set FOO BAR" "--set BAZ QUX"]`.
* `namePrefix`: Prepends text to `${name}` parameter. In case of libraries, this defaults to `"python3.5-"` for Python 3.5, etc., and in case of applications to `""`.
Expand All @@ -615,6 +614,14 @@ All parameters from `stdenv.mkDerivation` function are still supported. The foll
* `removeBinByteCode ? true`: Remove bytecode from `/bin`. Bytecode is only created when the filenames end with `.py`.
* `setupPyBuildFlags ? []`: List of flags passed to `setup.py build_ext` command.

The `stdenv.mkDerivation` function accepts various parameters for describing build inputs (see "Specifying dependencies"). The following are of special
interest for Python packages, either because these are primarily used, or because their behaviour is different:

* `nativeBuildInputs ? []`: Build-time only dependencies. Typically executables as well as the items listed in `setup_requires`.
* `buildInputs ? []`: Build and/or run-time dependencies that need to be be compiled for the host machine. Typically non-Python libraries which are being linked.
* `checkInputs ? []`: Dependencies needed for running the `checkPhase`. These are added to `nativeBuildInputs` when `doCheck = true`. Items listed in `tests_require` go here.
* `propagatedBuildInputs ? []`: Aside from propagating dependencies, `buildPythonPackage` also injects code into and wraps executables with the paths included in this list. Items listed in `install_requires` go here.

##### Overriding Python packages

The `buildPythonPackage` function has a `overridePythonAttrs` method that
Expand Down Expand Up @@ -874,7 +881,6 @@ example of such a situation is when `py.test` is used.
'';
}
```
- Unicode issues can typically be fixed by including `glibcLocales` in `buildInputs` and exporting `LC_ALL=en_US.utf-8`.
- Tests that attempt to access `$HOME` can be fixed by using the following work-around before running tests (e.g. `preCheck`): `export HOME=$(mktemp -d)`

## FAQ
Expand Down Expand Up @@ -1123,6 +1129,14 @@ LLVM implementation. To use that one instead, Intel recommends users set it with
Note that `mkl` is only available on `x86_64-{linux,darwin}` platforms;
moreover, Hydra is not building and distributing pre-compiled binaries using it.

### What inputs do `setup_requires`, `install_requires` and `tests_require` map to?

In a `setup.py` or `setup.cfg` it is common to declare dependencies:

* `setup_requires` corresponds to `nativeBuildInputs`
* `install_requires` corresponds to `propagatedBuildInputs`
* `tests_require` corresponds to `checkInputs`

## Contributing

### Contributing guidelines
Expand Down
14 changes: 14 additions & 0 deletions nixos/doc/manual/release-notes/rl-1903.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,20 @@
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>
The <varname>buildPythonPackage</varname> function now sets <varname>strictDeps = true</varname>
to help distinguish between native and non-native dependencies in order to
improve cross-compilation compatibility. Note however that this may break
user expressions.
</para>
</listitem>
<listitem>
<para>
The <varname>buildPythonPackage</varname> function now sets <varname>LANG = C.UTF-8</varname>
to enable Unicode support. The <varname>glibcLocales</varname> package is no longer needed as a build input.
</para>
</listitem>
<listitem>
<para>
The Syncthing state and configuration data has been moved from
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/dosage/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pythonPackages.buildPythonApplication rec {
rev = "b2fdc13feb65b93762928f7e99bac7b1b7b31591";
sha256 = "1p6vllqaf9s6crj47xqp97hkglch1kd4y8y4lxvzx3g2shhhk9hh";
};
buildInputs = with pythonPackages; [ pytest responses ];
checkInputs = with pythonPackages; [ pytest responses ];
propagatedBuildInputs = with pythonPackages; [ colorama lxml requests pbr ];

disabled = pythonPackages.pythonOlder "3.3";
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/networking/mailreaders/mailnag/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@ in pythonPackages.buildPythonApplication rec {
};

buildInputs = [
gettext gtk3 gdk_pixbuf libnotify gst_all_1.gstreamer
gtk3 gdk_pixbuf libnotify gst_all_1.gstreamer
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-bad
gnome3.adwaita-icon-theme
] ++ stdenv.lib.optional withGnomeKeyring libgnome-keyring3;

nativeBuildInputs = [
gettext
wrapGAppsHook
];

Expand Down
42 changes: 32 additions & 10 deletions pkgs/applications/science/spyder/default.nix
Original file line number Diff line number Diff line change
@@ -1,22 +1,44 @@
{ stdenv, python3, makeDesktopItem }:

python3.pkgs.buildPythonApplication rec {
let

spyder-kernels = with python3.pkgs; buildPythonPackage rec {
pname = "spyder-kernels";
version = "0.4.2";

src = fetchPypi {
inherit pname version;
sha256 = "a13cefb569ef9f63814cb5fcf3d0db66e09d2d7e6cc68c703d5118b2d7ba062b";
};

propagatedBuildInputs = [
cloudpickle
ipykernel
wurlitzer
];

# No tests
doCheck = false;

meta = {
description = "Jupyter kernels for Spyder's console";
homepage = https://github.com/spyder-ide/spyder-kernels;
license = stdenv.lib.licenses.mit;
};
};

in python3.pkgs.buildPythonApplication rec {
pname = "spyder";
version = "3.2.8";
version = "3.3.3";

src = python3.pkgs.fetchPypi {
inherit pname version;
sha256 = "0iwcby2bxvayz0kp282yh864br55w6gpd8rqcdj1cp3jbn3q6vg5";
sha256 = "ef31de03cf6f149077e64ed5736b8797dbd278e3c925e43f0bfc31bb55f6e5ba";
};

# Somehow setuptools can't find pyqt5. Maybe because the dist-info folder is missing?
postPatch = ''
sed -i -e '/pyqt5/d' setup.py
'';

propagatedBuildInputs = with python3.pkgs; [
jedi pycodestyle psutil pyflakes rope numpy scipy matplotlib pylint
numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle
jedi pycodestyle psutil pyflakes rope numpy scipy matplotlib pylint keyring
numpydoc qtconsole qtawesome nbconvert mccabe pyopengl cloudpickle spyder-kernels
];

# There is no test for spyder
Expand Down
5 changes: 5 additions & 0 deletions pkgs/development/interpreters/python/mk-python-derivation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ let self = toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attr
# Propagate python and setuptools. We should stop propagating setuptools.
propagatedBuildInputs = propagatedBuildInputs ++ [ python setuptools ];

# Enabled to detect some (native)BuildInputs mistakes
strictDeps = true;

LANG = "C.UTF-8";

# Python packages don't have a checkPhase, only an installCheckPhase
doCheck = false;
doInstallCheck = doCheck;
Expand Down
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/Babel/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, pytz, pytest, freezegun, glibcLocales }:
{ lib, buildPythonPackage, fetchPypi, pytz, pytest, freezegun }:

buildPythonPackage rec {
pname = "Babel";
Expand All @@ -11,10 +11,9 @@ buildPythonPackage rec {

propagatedBuildInputs = [ pytz ];

checkInputs = [ pytest freezegun glibcLocales ];
checkInputs = [ pytest freezegun ];

preCheck = ''
export LC_ALL="en_US.UTF-8"
'';

meta = with lib; {
Expand Down
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/Cython/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
, buildPythonPackage
, fetchPypi
, python
, glibcLocales

, pkgconfig
, gdb
, numpy
Expand Down Expand Up @@ -39,8 +39,7 @@ in buildPythonPackage rec {
checkInputs = [
numpy ncurses
];
buildInputs = [ glibcLocales gdb ];
LC_ALL = "en_US.UTF-8";
buildInputs = [ gdb ];

checkPhase = ''
export HOME="$NIX_BUILD_TOP"
Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/Mako/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
, markupsafe
, nose
, mock
, pytest
, pytest_3
, isPyPy
}:

Expand All @@ -17,7 +17,7 @@ buildPythonPackage rec {
sha256 = "4e02fde57bd4abb5ec400181e4c314f56ac3e49ba4fb8b0d50bba18cb27d25ae";
};

checkInputs = [ markupsafe nose mock pytest ];
checkInputs = [ markupsafe nose mock pytest_3 ];
propagatedBuildInputs = [ markupsafe ];

doCheck = !isPyPy; # https://bitbucket.org/zzzeek/mako/issue/238/2-tests-failed-on-pypy-24-25
Expand All @@ -29,4 +29,4 @@ buildPythonPackage rec {
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ domenkozar ];
};
}
}
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/Nikola/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
, fetchPypi
, fetchpatch
, doit
, glibcLocales

, pytest
, pytestcov
, mock
Expand Down Expand Up @@ -42,7 +42,7 @@ buildPythonPackage rec {
# other hand doesn't support Python 3.3). So, just disable Python 2.
disabled = !isPy3k;

checkInputs = [ pytest pytestcov mock glibcLocales freezegun ];
checkInputs = [ pytest pytestcov mock freezegun ];

propagatedBuildInputs = [
pygments pillow dateutil docutils Mako unidecode lxml Yapsy PyRSS2Gen
Expand All @@ -61,7 +61,6 @@ buildPythonPackage rec {
};

checkPhase = ''
LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" py.test .
'';

meta = {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/WSME/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, buildPythonPackage, fetchPypi, isPy3k
, pbr, six, simplegeneric, netaddr, pytz, webob
, cornice, nose, webtest, pecan, transaction, cherrypy, sphinx
, flask, flask-restful, suds-jurko, glibcLocales }:
, flask, flask-restful, suds-jurko }:

buildPythonPackage rec {
pname = "WSME";
Expand Down Expand Up @@ -38,7 +38,7 @@ buildPythonPackage rec {

checkInputs = [
cornice nose webtest pecan transaction cherrypy sphinx
flask flask-restful suds-jurko glibcLocales
flask flask-restful suds-jurko
];

meta = with lib; {
Expand Down
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/aenum/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchPypi, buildPythonPackage, python, isPy3k, glibcLocales }:
{ stdenv, fetchPypi, buildPythonPackage, python, isPy3k }:

buildPythonPackage rec {
pname = "aenum";
Expand All @@ -11,11 +11,10 @@ buildPythonPackage rec {

# For Python 3, locale has to be set to en_US.UTF-8 for
# tests to pass
checkInputs = if isPy3k then [ glibcLocales ] else [];
checkInputs = if isPy3k then [ ] else [];

checkPhase = ''
runHook preCheck
${if isPy3k then "export LC_ALL=en_US.UTF-8" else ""}
PYTHONPATH=`pwd` ${python.interpreter} aenum/test.py
runHook postCheck
'';
Expand Down
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/agate/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, fetchFromGitHub, buildPythonPackage, isPy3k
, six, pytimeparse, parsedatetime, Babel
, isodate, python-slugify, leather
, glibcLocales, nose, lxml, cssselect, unittest2 }:
, nose, lxml, cssselect, unittest2 }:

buildPythonPackage rec {
pname = "agate";
Expand All @@ -21,11 +21,10 @@ buildPythonPackage rec {
isodate python-slugify leather
];

checkInputs = [ glibcLocales nose lxml cssselect ]
checkInputs = [ nose lxml cssselect ]
++ lib.optional (!isPy3k) unittest2;

checkPhase = ''
LC_ALL="en_US.UTF-8" nosetests tests
'';

meta = with lib; {
Expand Down
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/aiodns/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi
, isPy33, isPy27, isPyPy, python, pycares, asyncio, trollius }:
, isPy33, isPy27, isPyPy, python, pycares, typing, asyncio, trollius }:

buildPythonPackage rec {
pname = "aiodns";
Expand All @@ -10,8 +10,7 @@ buildPythonPackage rec {
sha256 = "d67e14b32176bcf3ff79b5d47c466011ce4adeadfa264f7949da1377332a0449";
};

propagatedBuildInputs = with stdenv.lib; [ pycares ]
++ optional isPy33 asyncio
propagatedBuildInputs = with stdenv.lib; [ pycares typing ]
++ optional (isPy27 || isPyPy) trollius;

checkPhase = ''
Expand Down
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/altair/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch
, pytest, jinja2, sphinx, vega_datasets, ipython, glibcLocales
, pytest, jinja2, sphinx, vega_datasets, ipython
, entrypoints, jsonschema, numpy, pandas, six, toolz, typing
, pythonOlder, recommonmark }:

Expand All @@ -12,7 +12,7 @@ buildPythonPackage rec {
sha256 = "9f4bc7cd132c0005deb6b36c7041ee213a69bbdfcd8c0b1a9f1ae8c1fba733f6";
};

checkInputs = [ pytest jinja2 sphinx vega_datasets ipython glibcLocales recommonmark ];
checkInputs = [ pytest jinja2 sphinx vega_datasets ipython recommonmark ];

propagatedBuildInputs = [ entrypoints jsonschema numpy pandas six toolz ]
++ stdenv.lib.optionals (pythonOlder "3.5") [ typing ];
Expand All @@ -24,7 +24,6 @@ buildPythonPackage rec {
'';

checkPhase = ''
export LANG=en_US.UTF-8
py.test altair --doctest-modules
'';

Expand Down
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/apipkg/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi
, pytest, setuptools_scm }:
, pytest_3, setuptools_scm }:

buildPythonPackage rec {
pname = "apipkg";
Expand All @@ -10,8 +10,8 @@ buildPythonPackage rec {
sha256 = "37228cda29411948b422fae072f57e31d3396d2ee1c9783775980ee9c9990af6";
};

buildInputs = [ setuptools_scm ];
checkInputs = [ pytest ];
nativeBuildInputs = [ setuptools_scm ];
checkInputs = [ pytest_3 ];

checkPhase = ''
py.test
Expand Down
5 changes: 2 additions & 3 deletions pkgs/development/python-modules/argh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
, pytest
, py
, mock
, glibcLocales

, iocapture
}:

Expand All @@ -17,10 +17,9 @@ buildPythonPackage rec {
sha256 = "e9535b8c84dc9571a48999094fda7f33e63c3f1b74f3e5f3ac0105a58405bb65";
};

checkInputs = [ pytest py mock glibcLocales iocapture ];
checkInputs = [ pytest py mock iocapture ];

checkPhase = ''
export LANG="en_US.UTF-8"
py.test
'';

Expand Down
Loading