Skip to content

Commit

Permalink
fix(lib-injection): remove python-json-logger from library compatibil…
Browse files Browse the repository at this point in the history
…ity check (#11817)
  • Loading branch information
brettlangdon authored Jan 7, 2025
1 parent 2a6774e commit 4970e6d
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 7 deletions.
10 changes: 7 additions & 3 deletions lib-injection/sources/min_compatible_versions.csv
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ asyncpg,~=0.23
asynctest,==0.13.0
austin-python,~=1.0
avro,0
azure.functions,0
blinker,0
boto3,==1.34.49
bottle,>=0.12
bytecode,0
cassandra-driver,~=3.24.0
cattrs,<23.1.1
celery,~=5.1.0
celery[redis],0
cfn-lint,~=0.53.1
channels,~=3.0
cherrypy,>=17
Expand Down Expand Up @@ -68,12 +70,13 @@ flask,~=0.12.0
flask-caching,~=1.10.0
flask-openapi3,0
gevent,~=20.12.0
google-ai-generativelanguage,0
google-generativeai,0
googleapis-common-protos,0
graphene,~=3.0.0
graphql-core,~=3.2.0
graphql-relay,0
greenlet,~=1.0
greenlet,~=1.0.0
grpcio,~=1.34.0
gunicorn,==20.0.4
gunicorn[gevent],0
Expand All @@ -97,9 +100,10 @@ langchain-pinecone,==0.1.0
langchain_experimental,==0.0.47
logbook,~=1.0.0
loguru,~=0.4.0
lxml,0
lz4,0
mako,~=1.1.0
mariadb,~=1.0
mariadb,~=1.0.0
markupsafe,<2.0
mock,0
molten,>=1.0
Expand Down Expand Up @@ -149,7 +153,6 @@ pytest-memray,~=1.7.0
pytest-mock,==2.0.0
pytest-sanic,~=1.6.2
python-consul,>=1.1
python-json-logger,==2.0.7
python-memcached,0
python-multipart,0
ragas,==0.1.21
Expand Down Expand Up @@ -180,6 +183,7 @@ typing_extensions,0
urllib3,~=1.0
uwsgi,0
vcrpy,==4.2.1
vertexai,0
vertica-python,>=0.6.0
virtualenv-clone,0
websockets,<11.0
Expand Down
10 changes: 7 additions & 3 deletions min_compatible_versions.csv
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ asyncpg,~=0.23
asynctest,==0.13.0
austin-python,~=1.0
avro,0
azure.functions,0
blinker,0
boto3,==1.34.49
bottle,>=0.12
bytecode,0
cassandra-driver,~=3.24.0
cattrs,<23.1.1
celery,~=5.1.0
celery[redis],0
cfn-lint,~=0.53.1
channels,~=3.0
cherrypy,>=17
Expand Down Expand Up @@ -68,12 +70,13 @@ flask,~=0.12.0
flask-caching,~=1.10.0
flask-openapi3,0
gevent,~=20.12.0
google-ai-generativelanguage,0
google-generativeai,0
googleapis-common-protos,0
graphene,~=3.0.0
graphql-core,~=3.2.0
graphql-relay,0
greenlet,~=1.0
greenlet,~=1.0.0
grpcio,~=1.34.0
gunicorn,==20.0.4
gunicorn[gevent],0
Expand All @@ -97,9 +100,10 @@ langchain-pinecone,==0.1.0
langchain_experimental,==0.0.47
logbook,~=1.0.0
loguru,~=0.4.0
lxml,0
lz4,0
mako,~=1.1.0
mariadb,~=1.0
mariadb,~=1.0.0
markupsafe,<2.0
mock,0
molten,>=1.0
Expand Down Expand Up @@ -149,7 +153,6 @@ pytest-memray,~=1.7.0
pytest-mock,==2.0.0
pytest-sanic,~=1.6.2
python-consul,>=1.1
python-json-logger,==2.0.7
python-memcached,0
python-multipart,0
ragas,==0.1.21
Expand Down Expand Up @@ -180,6 +183,7 @@ typing_extensions,0
urllib3,~=1.0
uwsgi,0
vcrpy,==4.2.1
vertexai,0
vertica-python,>=0.6.0
virtualenv-clone,0
websockets,<11.0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
fixes:
- |
lib-injection: remove python-json-logger from library compatibility check.
11 changes: 10 additions & 1 deletion scripts/min_compatible_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,16 @@

OUT_FILENAME = "min_compatible_versions.csv"
OUT_DIRECTORIES = (".", "lib-injection/sources")
IGNORED_PACKAGES = {"setuptools", "attrs", "pytest-randomly", "pillow", "botocore", "pytest-asyncio", "click"}
IGNORED_PACKAGES = {
"attrs",
"botocore",
"click",
"pillow",
"pytest-asyncio",
"pytest-randomly",
"python-json-logger",
"setuptools",
}


def _format_version_specifiers(spec: Set[str]) -> Set[str]:
Expand Down

0 comments on commit 4970e6d

Please sign in to comment.