3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

55 commits

Author SHA1 Message Date
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
Daniël de Kok 57f858d61e python3Packages.spacy: passthru.tests should be an attrset 2020-12-15 06:51:19 +01:00
Daniël de Kok 9edd8887d8 python3Packages.spacy: nixpkgs-fmt 2020-12-15 06:51:18 +01:00
Daniël de Kok 9eaec03930 python3Packages.spacy: 2.3.4 -> 2.3.5
Changelog:

https://github.com/explosion/spacy/releases/tag/v2.3.5
2020-12-15 06:51:08 +01:00
Daniël de Kok 5814d60b51 python3Packages.spacy: 2.3.3 -> 2.3.4
This is a bugfix release:

https://github.com/explosion/spaCy/releases/tag/v2.3.4
2020-11-28 23:42:03 -08:00
R. RyanTM b41f944eeb python37Packages.spacy: 2.3.2 -> 2.3.3 2020-11-25 09:01:38 -08:00
Daniël de Kok fb7acacd42 python3Packages.spacy: add passthru test
I have been using the main example of the spaCy web page for testing
updates of spacy (and its transitive dependencies). Let's convert this
into a proper test to take out manual testing.
2020-08-18 11:10:47 -07:00
Daniël de Kok 9b55e5bfcb python3Packages.spacy_models: use pythonImportCheck
For each model, check whether we can actually import the model after
building.
2020-08-18 11:10:47 -07:00
Daniël de Kok f41909e3be python3Packages.spacy: relax blis version bound 2020-08-17 09:15:55 -07:00
Daniël de Kok 777bcfd337 python3Packages.spacy: 2.3.1 -> 2.3.2
Changelog:

https://github.com/explosion/spaCy/releases/tag/v2.3.2
2020-07-15 18:10:31 -07:00
Daniël de Kok 6c14fb9d18 python3Packages.spacy: 2.3.0 -> 2.3.1
Changelog:

https://github.com/explosion/spaCy/releases/tag/v2.3.1
2020-07-08 08:06:13 +02:00
Daniël de Kok 4059ac951b pythonPackages.spacy_models: add more models
This change adds the missing language-specific spaCy models:

da_core_news_lg, da_core_news_md, da_core_news_sm, de_core_news_lg,
el_core_news_lg, es_core_news_lg, fr_core_news_lg, it_core_news_lg,
it_core_news_md, lt_core_news_lg, lt_core_news_md, nb_core_news_lg,
nb_core_news_md, nl_core_news_lg, nl_core_news_md, pl_core_news_lg,
pl_core_news_md, pl_core_news_sm, pt_core_news_lg, pt_core_news_md,
ro_core_news_sm, ro_core_news_md, ro_core_news_lg, zh_core_web_lg,
zh_core_web_md, zh_core_web_sm

I also checked the licenses and fixed them where necessary.
2020-06-27 23:03:39 -07:00
Daniël de Kok 916330f28e python3Packages.spacy: relax catalogue, plac, and srsly versions
Also add an import check.
2020-06-20 20:47:59 +02:00
Daniël de Kok b0909224e7 python3Packages.spacy_models: 2.2.5 -> 2.3.0
Update all *existing* models for compatibility with spaCy 2.3.0.
2020-06-17 12:04:42 -07:00
Daniël de Kok ce1ea86f1b python3Packages.spacy: 2.2.4 -> 2.3.0
Changelog:

https://github.com/explosion/spaCy/releases/tag/v2.3.0
2020-06-17 12:04:42 -07:00
Daniël de Kok 8c5f4b8a3b python3Packages.spacy: relax thinc version constraint 2020-05-28 15:17:07 -07:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Daniël de Kok 86af0de552 python3Packages.spacy_models: 2.2.0 -> 2.2.5
With the exception of xx_ent_wiki_sm, since it does not have a newer
model available.
2020-03-26 10:42:49 -07:00
Daniël de Kok 80d85b68a3 python3Packages.spacy: 2.2.3 -> 2.2.4
Changelog:

https://github.com/explosion/spaCy/releases/tag/v2.2.4

Also remove some unused propagatedBuildInputs.
2020-03-14 22:48:02 +01:00
Daniël de Kok ba718f536e python3Packages.spacy: 2.2.2 -> 2.2.3
Changelog:

https://github.com/explosion/spaCy/releases/tag/v2.2.3
2019-11-24 11:18:35 -08:00
Daniël de Kok 5751e005b4 python3Packages.spacy_models: add Norwegian and Lithuanian models (#70306) 2019-11-09 20:37:35 -05:00
Daniël de Kok d91debafde python3Packages.spacy: 2.2.1 -> 2.2.2
Major changes:

- Multiprocessing support in nlp.pipe.
- Base language support for Luxembourgish.

Changelog:
https://github.com/explosion/spaCy/releases/tag/v2.2.2
2019-11-02 09:40:26 +01:00
Jonathan Ringer e38b3df09d pythonPackages.spacy: fix build 2019-10-27 16:26:57 +01:00
Daniël de Kok 4c37faa8da python3Packages.spacy_models.nl_core_news_sm 2019-10-03 09:02:34 -07:00
Daniël de Kok e2f87b7d5f python3Packages.spacy: 2.2.0 -> 2.2.1
Changes:

* Vectors.most_similar returns the top most similar vectors instead
  only one.
* Fixes tag map in Dutch model.
* Fix initialization of DocBin with attributes.
2019-10-03 09:02:34 -07:00
Daniël de Kok c4fdb91a0b python3Packages.spacy_models: update for spaCy 2.2.0 compatibility 2019-10-02 17:05:22 -07:00
Daniël de Kok 4491958922 python3Packages.spacy: 2.1.8 -> 2.2.0
Changelog:
https://github.com/explosion/spaCy/releases/tag/v2.2.0
2019-10-02 17:05:22 -07:00
Jon e249ee41e1
Merge pull request #67716 from danieldk/blis-thinc-update
pythonPackages.blis: 0.2.4 -> 0.4.0, pythonPackages.thinc: 7.0.8 -> 7.1.0
2019-09-30 08:17:03 -07:00
Frederik Rietdijk 22aef72ff1 python: get rid of msgpack-python, fixes #48864
We already have msgpack, which is the same. Building a Python env with
`spacy` resulted in a collision between an `.so` provided through both
`msgpack` and `msgpack-python`.

I don't know why `transitional = True` was set. These kind of things
should be documented!
2019-09-29 11:01:58 +02:00
Daniël de Kok d2ccabaeea pythonPackages.spacy: fix import error
Importing spacy fails with:

ModuleNotFoundError: No module named 'pkg_resources

spaCy probably worked before because a dependency had setuptools as a
propagated dependency. This change adds setuptools to spacy's
propogatedBuildInputs.

Tested with the en_core_web_sm model.
2019-09-29 10:48:15 +02:00
Daniël de Kok 0cca8578ae python3Packages.spacy: remove blis/thinc upper bounds 2019-08-29 20:27:43 +02:00
volth 35d68ef143 treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
Daniël de Kok 7c398bda52 pythonPackages.spacy: 2.1.7 -> 2.1.8
Changelog:

https://github.com/explosion/spaCy/releases/tag/v2.1.8
2019-08-08 22:15:24 +01:00
Daniël de Kok 7944f2a207 pythonPackages.spacy: 2.1.6 -> 2.1.7
Changelog:

https://github.com/explosion/spaCy/releases/tag/v2.1.7
2019-08-01 21:01:15 +02:00
Daniël de Kok 4b334cf1d5 pythonPackages.spacy: 2.1.4 -> 2.1.6
Includes various improvements, including:

- Improvements for various languages.
- Evaluation metrics per entity type.
- Pretraining improvements.

Changelogs:

https://github.com/explosion/spaCy/releases/tag/v2.1.5
https://github.com/explosion/spaCy/releases/tag/v2.1.6

Also add myself as a maintainer.
2019-07-17 09:55:59 +02:00
Matt Melling 00898f0ada pythonPackages.spacy: loosen dependency version bounds 2019-07-11 09:58:39 +02:00
Daniël de Kok 635385388f python3Packages.spacy: 2.1.3 -> 2.1.4
This release has some improvements for training models:

https://github.com/explosion/spaCy/releases/tag/v2.1.4
2019-05-13 20:03:21 +02:00
Daniël de Kok 21ec7004f6 python3Packages.spacy_models: 2.0.0 -> 2.1.0
- Update models for spaCy 2.1.
- Add medium/small-sized models for Greek.
- Add medium-sized model for German.
2019-05-13 20:01:37 +02:00
Daniël de Kok 52731eb4f6 python3Packages.spacy: 2.0.18 -> 2.1.3
Changes:
https://github.com/explosion/spaCy/releases

The largest change since 2.0.x is support for ELMo/BERT-like
pretraining.
2019-05-13 20:01:37 +02:00
Daniël de Kok 58c473985c python3Packages.spacy: fix build (#60276)
spaCy 2.0.18 requires an older version of wheel. Remove upper bound.
2019-04-26 20:47:31 +02:00
Daniël de Kok 0730a55dca python3Packages.spacy: 2.0.16 -> 2.0.18
Changes:

https://github.com/explosion/spaCy/releases/tag/v2.0.18
https://github.com/explosion/spaCy/releases/tag/v2.0.17
2018-12-15 10:57:04 +01:00
Daniël de Kok b932a35c08 pythonPackages.spacy: 2.0.12 -> 2.0.16 2018-10-20 12:20:42 +02:00
Daniël de Kok d261df5fc1 python2Packages.spacy_models: update all models to version 2.0.0 (#46182)
Update the model list to those models that are compatibly with the
latest spaCy version:

https://github.com/explosion/spacy-models/blob/master/compatibility.json

The updated model file evaluates to the following packages:

python2Packages.spacy_models.de_core_news_sm
python2Packages.spacy_models.en_core_web_lg
python2Packages.spacy_models.en_core_web_md
python2Packages.spacy_models.en_core_web_sm
python2Packages.spacy_models.en_vectors_web_lg
python2Packages.spacy_models.es_core_news_md
python2Packages.spacy_models.es_core_news_sm
python2Packages.spacy_models.fr_core_news_md
python2Packages.spacy_models.fr_core_news_sm
python2Packages.spacy_models.it_core_news_sm
python2Packages.spacy_models.nl_core_news_sm
python2Packages.spacy_models.pt_core_news_sm
python2Packages.spacy_models.xx_ent_wiki_sm
python3Packages.spacy_models.de_core_news_sm
python3Packages.spacy_models.en_core_web_lg
python3Packages.spacy_models.en_core_web_md
python3Packages.spacy_models.en_core_web_sm
python3Packages.spacy_models.en_vectors_web_lg
python3Packages.spacy_models.es_core_news_md
python3Packages.spacy_models.es_core_news_sm
python3Packages.spacy_models.fr_core_news_md
python3Packages.spacy_models.fr_core_news_sm
python3Packages.spacy_models.it_core_news_sm
python3Packages.spacy_models.nl_core_news_sm
python3Packages.spacy_models.pt_core_news_sm
python3Packages.spacy_models.xx_ent_wiki_sm
2018-09-07 12:58:53 +02:00
Daniël de Kok da8475736e spacy: relax dependency versions 2018-09-05 10:39:03 +02:00
Frederik Rietdijk 8bb0a5a15b python: spacy: 2.0.9 -> 2.0.12 2018-07-26 12:43:09 +02:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00: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
Robert Schütz dc35d7bc7c python.pkgs.spacy: clean up propagatedBuildInputs 2018-04-08 11:36:06 +02:00
Robert Schütz 8dd4e0711f python.pkgs.spacy: loosen version constraints 2018-04-08 11:36:06 +02:00
Augustin Borsu 22fdb0bd9d python.spacy: 1.8.2 -> 2.0.9 2018-03-14 20:29:10 +01:00