Matthew Honnibal
2f051c6793
Fix future_entity_ruler import hook
2025-05-21 15:24:57 +02:00
Matthew Honnibal
4318f8fc85
Add __getattr__ import hooks for factories for backwards compatibility
2025-05-21 15:11:03 +02:00
Matthew Honnibal
d8388aa591
Make factories top-level functions in registrations.py
2025-05-21 14:03:11 +02:00
Matthew Honnibal
5c331884c3
Fix test
2025-05-20 18:47:23 +02:00
Matthew Honnibal
b207df4ebb
Remove test checking for compatibility warning
...
We had a test that relied on an __init_subclass__ on the Pipe,
as we did this to provide a migration warning for v2 -> v3.
The __init_subclass__ no longer works on Cython classes and the
test is old, so just removed it.
2025-05-20 18:46:03 +02:00
Matthew Honnibal
f6b1546a74
Fix syntax
2025-05-20 18:35:13 +02:00
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
22c1bc785b
Replace lte with lt for clarity
2025-05-18 12:18:17 +02:00
Matthew Honnibal
cb5e760e91
Fix python version supported
2025-05-18 12:17:23 +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
bdbfd5bf75
Test python3.13
2025-05-14 19:17:45 +03:00
Matthew Honnibal
5df0722c31
Disable cython-lint
2025-05-14 19:17:45 +03:00
Matthew Honnibal
8aa74d69ee
Update cython
2025-05-14 19:17:45 +03:00
Matthew Honnibal
40a4e2c310
Update requirements
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
Gunther Cox
87ec2b72a5
Update spaCy Universe entry for ChatterBot to use correct name casing ( #13784 )
2025-05-12 07:47:50 +02:00
翟持江
aa8de0ed37
Update embeddings-transformers.mdx, update trf_data examples info in <Runtime usage> ( #13811 )
2025-05-12 07:47:12 +02:00
Adrien Carpentier
98a19df91a
docs: fix README.md for compatible Python versions ( #13749 )
2025-04-11 20:56:52 +02:00
Matthew Honnibal
92bd042502
Allow Python 3.13
2025-04-03 23:15:12 +02:00
Matthew Honnibal
d0c705cbc9
Increment version
2025-04-01 09:40:59 +02:00
Matthew Honnibal
b3c46c315e
Add support for linux-arm
2025-02-03 18:32:23 +01:00
Ines Montani
d194f06437
Add live stream to site [ci skip]
2025-02-03 09:42:52 +01:00
Ines Montani
055e07d9cc
Update README.md [ci skip]
2025-02-03 09:38:32 +01:00
Ines Montani
8e1c14e977
Add live stream to README [ci skip]
2025-02-03 09:37:48 +01:00
Christine P. Chai
4278182dd0
Change Twitter to X ( #13740 ) [ci skip]
...
Co-authored-by: Ines Montani <ines@ines.io>
2025-02-03 09:30:21 +01:00
Matthew Honnibal
85cc763006
Fix python version requirement
2025-01-13 18:17:36 +01: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
682140496a
Align requirements better
2024-12-11 14:13:51 +01:00
Matthew Honnibal
343f4f21d7
Enable Python 3.13
2024-12-11 14:13:28 +01:00
Matthew Honnibal
be0fa812c2
Update cibuildwheel
2024-12-11 13:08:40 +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