Skip to content

Commit

Permalink
chore: remove ipython pin (#3548)
Browse files Browse the repository at this point in the history
this pr is stacked on
#3538 and
#3547

This pr removes dependency pins for IPython, anyio, and pyparsing. It
also updates the label-studio-sdk import statement so we don't have to
have that pinned and make some minor type hinting edits. Label Studio
had a breaking change in their 1.13.0
[release](https://github.com/HumanSignal/label-studio/releases/tag/1.13.0)
  • Loading branch information
Coniferish authored Aug 21, 2024
1 parent 01dbc7b commit 604cadf
Show file tree
Hide file tree
Showing 33 changed files with 341 additions and 253 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 0.15.7
## 0.15.8-dev0

### Enhancements

Expand Down
9 changes: 4 additions & 5 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
#
# pip-compile ./base.in
#
anyio==3.7.1
# via
# -c ././deps/constraints.txt
# httpx
anyio==4.4.0
# via httpx
backoff==2.2.1
# via -r ./base.in
beautifulsoup4==4.12.3
Expand Down Expand Up @@ -59,7 +57,7 @@ langdetect==1.0.9
# via -r ./base.in
lxml==5.3.0
# via -r ./base.in
marshmallow==3.21.3
marshmallow==3.22.0
# via
# dataclasses-json
# unstructured-client
Expand Down Expand Up @@ -121,6 +119,7 @@ tqdm==4.66.5
typing-extensions==4.12.2
# via
# -r ./base.in
# anyio
# emoji
# pypdf
# typing-inspect
Expand Down
9 changes: 1 addition & 8 deletions requirements/deps/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ wheel>=0.38.1
# NOTE(robinson) - The following pins are to address
# vulnerabilities in dependency scans
certifi>=2023.7.22
# From pycocotools in local-inference
pyparsing<3.1.0
scipy<1.11.4
IPython<8.13
grpcio>=1.65.5
# NOTE(alan) Pinned to avoid error that occurs with 2.4.3:
# AttributeError: 'ResourcePath' object has no attribute 'collection'
Office365-REST-Python-Client<2.4.3
Expand All @@ -26,8 +24,6 @@ Office365-REST-Python-Client<2.4.3
weaviate-client>3.25.0
# TODO: Pinned in transformers package, remove when that gets updated
tokenizers>=0.19,<0.20
# langchain limits anyio to below 4.0
anyio<4.0
# NOTE(crag): earlier versions fail in compilation step when pip installing the package
pycocotools>=2.0.7
# NOTE(crag): python3.8-python3.11 compat (if it ends up being required)
Expand Down Expand Up @@ -56,6 +52,3 @@ fsspec==2024.5.0
wrapt>=1.14.0

langchain-community>=0.2.5

grpcio==1.64.3
label-studio-sdk==0.0.34
Loading

0 comments on commit 604cadf

Please sign in to comment.