Skip to content

Commit

Permalink
Make catalogue a dev-only requirement (#35)
Browse files Browse the repository at this point in the history
* Make catalogue a dev-only requirement

* Add note about installing catalogue to README
  • Loading branch information
adrianeboyd committed Jul 3, 2023
1 parent c02750c commit a8823dd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ learn_rate = 0.001
gamma = 1e-8
```

To load and parse this configuration:
To load and parse this configuration using a `catalogue` registry (install
[`catalogue`](https://github.com/explosion/catalogue) separately):

```python
import dataclasses
Expand Down
1 change: 0 additions & 1 deletion confection/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from pydantic.main import ModelMetaclass
from pydantic.fields import ModelField
import srsly
import catalogue
import inspect
import io
import copy
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ pydantic>=1.7.4,!=1.8,!=1.8.1,<1.11.0
typing_extensions>=3.7.4.1,<4.5.0; python_version < "3.8"
srsly>=2.4.0,<3.0.0
# Development requirements
catalogue>=2.0.3,<2.1.0
pathy>=0.3.5
pytest>=5.2.0,!=7.1.0
mypy>=0.980,<0.990; platform_machine != 'aarch64' and python_version >= '3.7'
Expand Down

0 comments on commit a8823dd

Please sign in to comment.