Commit Graph

7155 Commits

Author SHA1 Message Date
Florian Klink
3a5dbfd681
Merge pull request #52051 from r-ryantm/auto-update/python3.7-twilio
python37Packages.twilio: 6.19.2 -> 6.21.0
2018-12-14 22:29:20 +01:00
Robert Schütz
6fbc9c4c6c python.pkgs.colorlog: 3.1.4 -> 4.0.2 2018-12-14 22:11:20 +01:00
Robert Schütz
e0af2df260 python.pkgs.yarl: 1.2.6 -> 1.3.0 2018-12-14 21:34:11 +01:00
Robert Schütz
fddf00c5b1
python37Packages.pycountry: 18.5.26 -> 18.12.8 (#52104)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-pycountry/versions
2018-12-14 21:16:02 +01:00
R. RyanTM
849726f760 python37Packages.pyshp: 1.2.12 -> 2.0.0 (#52105)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-pyshp/versions
2018-12-14 21:15:44 +01:00
R. RyanTM
873cf894f8 python37Packages.misaka: 2.1.0 -> 2.1.1 (#52093)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-misaka/versions
2018-12-14 21:08:16 +01:00
R. RyanTM
f02fc7610c python37Packages.phonenumbers: 8.10.0 -> 8.10.2 (#52094)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-phonenumbers/versions
2018-12-14 21:08:01 +01:00
R. RyanTM
ea82d95949 python37Packages.pydot: 1.2.4 -> 1.4.0 (#52101)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-pydot/versions
2018-12-14 21:05:38 +01:00
R. RyanTM
ae46af2a51 python37Packages.pyfiglet: 0.7.6 -> 0.8.post0 (#52103)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-pyfiglet/versions
2018-12-14 21:04:25 +01:00
R. RyanTM
153c14a9e4 python37Packages.mwclient: 0.9.2 -> 0.9.3 (#52102)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-mwclient/versions
2018-12-14 21:04:02 +01:00
R. RyanTM
af18f6b121 python37Packages.rasterio: 1.0.10 -> 1.0.12 (#52099)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-rasterio/versions
2018-12-14 20:59:58 +01:00
R. RyanTM
867590b6f7 python37Packages.pycountry: 18.5.26 -> 18.12.8
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-pycountry/versions
2018-12-14 11:53:54 -08:00
Mario Rodas
87d84a6397 pythonPackages.pytest-dependency: init at 0.4.0 (#51912) 2018-12-14 20:53:02 +01:00
R. RyanTM
f58d21ac87 python37Packages.sphinx-testing: 0.7.2 -> 0.8.1 (#52061)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-sphinx-testing/versions
2018-12-14 20:21:52 +01:00
R. RyanTM
b5a69a2557 python37Packages.s3fs: 0.1.6 -> 0.2.0 (#52066)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-s3fs/versions
2018-12-14 20:20:50 +01:00
R. RyanTM
ff2ef48484 python37Packages.yapf: 0.24.0 -> 0.25.0 (#52071)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-yapf/versions
2018-12-14 20:20:00 +01:00
R. RyanTM
b366c1597d python37Packages.ptest: 1.5.3 -> 1.7.4 (#52087)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-ptest/versions
2018-12-14 19:34:31 +01:00
R. RyanTM
fc75d55296 python37Packages.prov: 1.5.2 -> 1.5.3 (#52089)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-prov/versions
2018-12-14 19:33:12 +01:00
R. RyanTM
e17cb15e73 python27Packages.spambayes: 1.1b2 -> 1.1b3 (#52080)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python2.7-spambayes/versions
2018-12-14 19:21:30 +01:00
R. RyanTM
517534810d python37Packages.splinter: 0.9.0 -> 0.10.0 (#52081)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-splinter/versions
2018-12-14 19:20:08 +01:00
R. RyanTM
171b112ef1 python37Packages.rpy2: 2.9.4 -> 2.9.5 (#52084)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-rpy2/versions
2018-12-14 19:16:35 +01:00
R. RyanTM
4387bbf149 python37Packages.ordered-set: 3.0.2 -> 3.1 (#52086)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-ordered-set/versions
2018-12-14 19:09:05 +01:00
R. RyanTM
74fd4f357a python37Packages.timeout-decorator: 0.4.0 -> 0.4.1 (#52085)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-timeout-decorator/versions
2018-12-14 19:04:06 +01:00
Robert Schütz
be096f9a27 python3.pkgs.git-annex-adapter: fix broken test
Apply https://github.com/alpernebbi/git-annex-adapter/pull/9.
2018-12-14 18:51:26 +01:00
Jörg Thalheim
8dd2fb2ffb
Merge pull request #52064 from r-ryantm/auto-update/python3.7-scp
python37Packages.scp: 0.12.1 -> 0.13.0
2018-12-14 15:43:01 +00:00
R. RyanTM
3c249e2cab python37Packages.scp: 0.12.1 -> 0.13.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-scp/versions
2018-12-14 07:22:49 -08:00
Jörg Thalheim
44b02b52ea
Merge pull request #52050 from r-ryantm/auto-update/python3.7-urwidtrees
python37Packages.urwidtrees: 1.0 -> 1.0.2
2018-12-14 14:08:15 +00:00
R. RyanTM
92975d07c6 python37Packages.twilio: 6.19.2 -> 6.21.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-twilio/versions
2018-12-14 06:01:58 -08:00
R. RyanTM
6443b8ecb7 python37Packages.urwidtrees: 1.0 -> 1.0.2
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-urwidtrees/versions
2018-12-14 05:55:40 -08:00
Lorenzo Manacorda
6283971a2c slither-analyzer: init at 0.3.0 2018-12-13 13:37:38 -05:00
Jörg Thalheim
3d4cb55b71
Merge pull request #51937 from ivan/add-cchardet
pythonPackages.cchardet: init at 2.1.4
2018-12-13 13:58:08 +00:00
Alexey Shmalko
bb14e3b1fb
Merge pull request #51929 from ivan/add-manhole
pythonPackages.manhole: init at 1.5.0
2018-12-13 13:39:36 +02:00
Ivan Kozik
76dc4b56f7 pythonPackages.cchardet: init at 2.1.4 2018-12-13 11:12:59 +00:00
Ivan Kozik
e7ec6cdf11 pythonPackages.manhole: init at 1.5.0 2018-12-13 09:07:13 +00:00
Ivan Kozik
f1b814a879 pythonPackages.lmdb: enable tests (#51931) 2018-12-13 09:08:05 +01:00
Ivan Kozik
2232135cf9 pythonPackages.Yapsy: 1.11.223 -> 1.12.0 and enable tests (#51925) 2018-12-13 08:30:49 +01:00
Jörg Thalheim
f49e2ad365
Merge pull request #51758 from rasendubi/pynvim
pythonPackages.neovim-0.3.0 -> pythonPackages.pynvim-0.3.1
2018-12-12 17:01:25 +00:00
Robert Schütz
34f04810cf
Merge pull request #51904 from worldofpeace/secretstorage/3.1.0
python3Packages.secretstorage: 2.3.1 -> 3.1.0
2018-12-12 16:50:41 +01:00
worldofpeace
851e2c7e21 python3Packages.secretstorage: 2.3.1 -> 3.1.0
Changelog: https://github.com/mitya57/secretstorage/blob/master/changelog

Pertinent changes:

- ported from dbus-python to jeepney
  Thusly Python 3.5 or newer is required.
- We can use pypi
- Add pygobject3
2018-12-12 10:22:57 -05:00
worldofpeace
9f66479ffc python3Packages.jeepney: init at 0.4 2018-12-12 10:22:56 -05:00
Gabriel Ebner
a9d7a31817 alot: 0.7 -> 0.8 2018-12-12 13:31:32 +01:00
Justin Humm
df6010aa3a
python3Packages.cytoolz: fix build
cytoolz has a test failure with Python 3.7 [0]. There is a debian patch
for it, which didn't make it into upstream yet [1].

[0] https://github.com/pytoolz/cytoolz/issues/122
[1] 5ce4158dee/debian/patches/py37.patch
2018-12-11 16:06:48 +01:00
Mario Rodas
cf46e28f0a
pythonPackages.robotframework-selenium2library: 1.6.0 -> 3.0.0 2018-12-11 09:10:00 -05:00
Mario Rodas
850b2592c3
pythonPackages.robotframework-seleniumlibrary: init at 3.2.0 2018-12-11 09:10:00 -05:00
Mario Rodas
0890aa4d6a
pythonPackages.mockito: init at 1.1.1 2018-12-11 09:10:00 -05:00
Mario Rodas
e3a0c05a80
pythonPackages.approvaltests: init at 0.2.4 2018-12-11 09:09:59 -05:00
Mario Rodas
f52cb0a6b4
pythonPackages.robotstatuschecker: init at 1.3 2018-12-11 09:09:59 -05:00
Samuel Dionne-Riel
f9b16e60da pythonPackages.protobuf: apply patch for python 3.7 only when building with it
Change introduced in #50672.

The patch does not apply on older protobuf like protobuf3_1

```
$ nix-build -E 'with import ./. { }; python3Packages.protobuf.override { protobuf = protobuf3_1; }'
unpacking sources
unpacking source archive /nix/store/1zdyl0cxaa8ha2v1zp75zzdjd6j99d0m-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/util/python/BUILD
patching sources
applying patch /nix/store/yagx7hvylnnjq7lxbcia0y5lq1r736w3-0a59054c30e4f0ba10f10acfc1d7f3814c63e1a7.patch
patching file google/protobuf/pyext/descriptor.cc
Hunk #1 succeeded at 55 (offset -1 lines).
patching file google/protobuf/pyext/descriptor_containers.cc
patching file google/protobuf/pyext/descriptor_pool.cc
Hunk #1 succeeded at 47 (offset -1 lines).
patching file google/protobuf/pyext/extension_dict.cc
Hunk #1 FAILED at 53.
1 out of 1 hunk FAILED -- saving rejects to file google/protobuf/pyext/extension_dict.cc.rej
patching file google/protobuf/pyext/message.cc
Hunk #1 succeeded at 82 (offset 3 lines).
Hunk #2 succeeded at 1425 (offset -104 lines).
```

Since the patch isn't necessary on python versions older than 3.7, let's
only apply it for version 3.7. This means that most things using older
protobuf implementation will now be able to build when using an older
pythonPackage set (as is most probably the case anyway).

This still leaves protobuf 3.1 using packages hanging, but the errors
will be localized to those that would be breaking anyway with the
upgrade to 3.7 as default python.
2018-12-11 11:30:52 +01:00
Ivan
ca8b128aa1 credstash: add standalone Python application (#51807)
credstash was only available as a library. Provide it as a standalone
application as well.

In order for this to work, I needed to remove the copy of
the library that's placed in $out/bin and marked executable
during the install phase. Other than the patched shebang and
executable bit, it's identical to the library that's installed to
$out/lib/python3.7/site-packages.

Before the postFixup has run `wrapPythonPrograms`, $out/bin contains
two Python files -- credstash and credstash.py -- where bin/credstash
is the executable you'd expect a user to invoke from the command-line
and bin/credstash.py contains the credstash module, which bin/credstash
imports.

After `wrapPythonPrograms` has run, bin/credstash is a shell
wrapper around the bin/.credstash-wrapped python entrypoint, and
bin/credstash.py is shell wrapper around bin/.credstash.py-wrapped.
Invoking bin/credstash execs bin/.credstash-wrapped, and that python
script attempts to import the credstash module from bin/credstash.py,
the shell wrapper, rather than either bin/.credstash.py-wrapped or
lib/python3.7/site-packages/credstash.py.

This leads to an error:

    $ credstash get mykey
    Traceback (most recent call last):
      File "/nix/store/hk6yma716w6141lcdh509d6qyyi7zm0i-python3.7-credstash-1.15.0/bin/.credstash-wrapped", line 8, in <module>
        from credstash import main
      File "/nix/store/hk6yma716w6141lcdh509d6qyyi7zm0i-python3.7-credstash-1.15.0/bin/credstash.py", line 2
        export PATH='/nix/store/6lm4gi5iv8fbf1b1mm6g3gfnnv63f1gn-python3-3.7.1/bin:/nix/store/hk6yma716w6141lcdh509d6qyyi7zm0i-python3.7-credstash-1.15.0/bin:/nix/store/2n13gf1zdr39ir5dynxlkqndxgy36g08-python3.7-setuptools-40.4.3/bin:/nix/store/mhnqwpa4y1l81zi4cwx989i8h8z9g67l-python3.7-jmespath-0.9.0/bin:/nix/store/qc6q3a2nv4211wyh7q319v6zzd3ab6pc-python3.7-docutils-0.14/bin'${PATH:+':'}$PATH
                  ^
    SyntaxError: invalid syntax

If we try using `dontWrapPythonPrograms` to resolve this, runtime
dependency lookups fail:

    $ credstash get mykey
    Traceback (most recent call last):
      File "/run/current-system/sw/bin/credstash", line 7, in <module>
        from credstash import main
      File "/nix/store/8rmldlvlv1z1xl7w02dy7f5qhkzdrg8z-python3.7-credstash-1.15.0/bin/credstash.py", line 26, in <module>
        import boto3
    ModuleNotFoundError: No module named 'boto3'

I was able to resolve things by simply removing bin/credstash.py before
the postFixup phase has a chance to wrap any executables. Now the
executable imports the library correctly:

 (shell wrapper)
  bin/credstash
        │      (python executable)
        └─> bin/.credstash-wrapped
                   │                        (python library)
                   └─> lib/python3.7/site-packages/credstash.py
2018-12-11 10:49:27 +01:00
Alexey Shmalko
bc51418f1a
neovim-pygui: remove 2018-12-10 23:19:45 +02:00