Matthew Honnibal
216ef7ee7a
Move imports
2025-05-20 18:34:01 +02:00
Matthew Honnibal
fd91e8a0e4
Remove component factory functions from component files
2025-05-20 18:29:31 +02:00
Matthew Honnibal
6f1a65a8bd
Move component registrations under registrations.py
...
The functions can't be in Cython anymore, as we can't read
the types off the signatures in Cython 3. To avoid having some
in the file and some not, I've moved the Python ones as well.
We'll need to do a re-import of these functions into the files that
had them before to maintain backwards compatibility. This might
require some import trickery to avoid circular imports.
2025-05-20 18:27:12 +02:00
Matthew Honnibal
c3f9fab5e8
WIP
2025-05-19 17:41:34 +02:00
Matthew Honnibal
cda2bd01d4
Fix enum population
2025-05-19 17:24:56 +02:00
Matthew Honnibal
ceda7b0732
Fix global population of parts_of_speech enum
2025-05-19 17:22:59 +02:00
Matthew Honnibal
906bf04239
Merge branch 'refactor/move-registrations' into kamikaze-cython3-upd
2025-05-19 16:27:23 +02:00
Matthew Honnibal
d20445ef6f
Add test for factory registrations
2025-05-19 16:26:09 +02:00
Matthew Honnibal
c62b9dac0b
Register factories in spacy.registrations, to avoid import-time side-effects
2025-05-19 16:25:33 +02:00
Matthew Honnibal
15bd029be5
Centralise registrations
2025-05-19 13:07:21 +02:00
Matthew Honnibal
43f87b991b
Centralise registry calls
2025-05-19 12:33:58 +02:00
Matthew Honnibal
9d7b22c52e
Start centralising registry calls
2025-05-19 12:33:24 +02:00
Matthew Honnibal
911539e9a4
Update version
2025-05-18 12:18:38 +02:00
Matthew Honnibal
b4b6b125f6
Revert "xfail pydantic config tests for now"
...
This reverts commit 2dcedb8aa5 .
2025-05-16 12:55:30 +02:00
Matthew Honnibal
9b92eb42fe
Revert "Disable validation"
...
This reverts commit fbf845dfc9 .
2025-05-16 12:55:08 +02:00
Oleg Korsak
5f3365369c
made code building again.
2025-05-14 19:43:15 +03:00
Matthew Honnibal
fbf845dfc9
Disable validation
2025-05-14 19:17:45 +03:00
Matthew Honnibal
2dcedb8aa5
xfail pydantic config tests for now
2025-05-14 19:17:45 +03:00
Matthew Honnibal
dfc01fdc62
Add noexcept for Cython 3
2025-05-14 19:17:45 +03:00
Matthew Honnibal
05edfeac52
Add inline markers in state
2025-05-14 19:17:45 +03:00
Matthew Honnibal
17cc5440ea
Remove __init_subclass__ used for deprecation warning (incompatible with cython3)
2025-05-14 19:17:45 +03:00
Matthew Honnibal
d0c705cbc9
Increment version
2025-04-01 09:40:59 +02:00
Matthew Honnibal
ba7468e32e
Update requirements, fixing windows crashes ( #13727 )
...
* Re-enable pretraining test
* Require thinc 8.3.4
* Reformat
* Re-enable test
2025-01-13 16:39:46 +01:00
Matthew Honnibal
311f7cc9fb
Set version to v3.8.4
2024-12-11 14:14:08 +01:00
Matthew Honnibal
a6317b3836
Fix allocation of non-transient strings in StringStore ( #13713 )
...
* Fix bug in memory-zone code when adding non-transient strings. The error could result in segmentation faults or other memory errors during memory zones if new labels were added to the model.
* Fix handling of new morphological labels within memory zones. Addresses second issue reported in Memory leak of MorphAnalysis object. #13684
2024-12-11 13:06:53 +01:00
Andrei (Andrey) Khropov
8d2902b0e7
Fix misspelling ( #13631 ) [ci skip]
2024-10-11 11:23:12 +02:00
Matthew Honnibal
bda4bb0184
Try disabling pretraining tests to probe windows ci failure ( #13646 )
2024-10-02 01:01:40 +02:00
Matthew Honnibal
0cdcfe56cb
Set version to v3.8.2
2024-10-01 16:47:24 +02:00
Matthew Honnibal
9c5b61bdff
isort
2024-10-01 12:38:51 +02:00
Matthew Honnibal
725ccbac39
Format
2024-10-01 12:38:02 +02:00
Matthew Honnibal
a8837beab7
Set version to v3.8.1
2024-10-01 12:37:11 +02:00
Matthew Honnibal
114b4894fb
Fix --require-parent default
2024-09-29 15:50:31 +02:00
Matthew Honnibal
dec13b4258
Fix inverted cli arg
2024-09-29 15:50:05 +02:00
Matthew Honnibal
c03f060527
Allow positive option --require-parent
2024-09-29 14:30:14 +02:00
Matthew Honnibal
6255cb985f
Include version constraint in parent package requirement
2024-09-29 14:22:21 +02:00
Matthew Honnibal
3b165a8716
Simplify setting to require parent package
2024-09-29 14:19:10 +02:00
Matthew Honnibal
969832f5d6
Fix package
2024-09-29 14:00:11 +02:00
Matthew Honnibal
8ce53a6bbe
Syntax
2024-09-29 13:51:44 +02:00
Matthew Honnibal
6fa0d709d5
Support option to not depend on parent package in spacy package
2024-09-29 13:51:04 +02:00
Matthew Honnibal
5010fcbd3a
Fix numpy constant
2024-09-14 13:13:11 +02:00
Matthew Honnibal
de4f19f3a3
Fix version
2024-09-14 13:12:44 +02:00
Matthew Honnibal
3d03565498
Replace numpy floats in evaluate and update
2024-09-14 12:55:53 +02:00
Matthew Honnibal
0576a1ff56
Fix numpy floats in meta.json
2024-09-14 12:54:08 +02:00
Matthew Honnibal
2f1e7ed09a
Lint
2024-09-14 11:36:27 +02:00
Matthew Honnibal
e2dc9b79e1
Format
2024-09-14 11:29:40 +02:00
Matthew Honnibal
3c3d75015b
Set version to v3.7.7
2024-09-14 11:27:32 +02:00
Matthew Honnibal
50aa3b5cbe
Merge branch 'master' of https://github.com/explosion/spaCy
2024-09-14 11:09:44 +02:00
Matthew Honnibal
8266031454
Merge numpy version update
2024-09-14 11:08:35 +02:00
Matthew Honnibal
69ecb85fad
Set version to v3.8.1
2024-09-13 10:43:40 +02:00
Matthew Honnibal
b427597fc8
Set version to v3.8.0
2024-09-11 21:32:26 +02:00