-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lint is very slow #2419
Comments
Can you give an example? I'm also confused how running individual pip install commands would fix that issue if it's the case. |
Can you give an example? I'm also confused how running individual Just to be clear, I don't want to have multiple Actually having multiple
The previously installed version gets uninstalled, resulting in a usable virtual environment, this gives the impression that using multiple Let's check out this commit and run
We could try and change the version of diff --git a/instrumentation/opentelemetry-instrumentation-boto/test-requirements.txt b/instrumentation/opentelemetry-instrumentation-boto/test-requirements.txt
index b8097cb4..642dbed8 100644
--- a/instrumentation/opentelemetry-instrumentation-boto/test-requirements.txt
+++ b/instrumentation/opentelemetry-instrumentation-boto/test-requirements.txt
@@ -62,7 +62,7 @@ sshpubkeys==3.3.1
sympy==1.12
tomli==2.0.1
typing_extensions==4.10.0
-urllib3==1.26.18
+urllib3==2.2.1
Werkzeug==3.0.1
wrapt==1.16.0
xmltodict==0.13.0
diff --git a/instrumentation/opentelemetry-instrumentation-boto3sqs/test-requirements.txt b/instrumentation/opentelemetry-instrumentation-boto3sqs/test-requirements.txt
index 0358844f..0effff9e 100644
--- a/instrumentation/opentelemetry-instrumentation-boto3sqs/test-requirements.txt
+++ b/instrumentation/opentelemetry-instrumentation-boto3sqs/test-requirements.txt
@@ -17,7 +17,7 @@ s3transfer==0.10.0
six==1.16.0
tomli==2.0.1
typing_extensions==4.10.0
-urllib3==1.26.18
+urllib3==2.2.1
wrapt==1.16.0
zipp==3.17.0
-e opentelemetry-instrumentation
diff --git a/instrumentation/opentelemetry-instrumentation-botocore/test-requirements.txt b/instrumentation/opentelemetry-instrumentation-botocore/test-requirements.txt
index e12d6f6b..23443d99 100644
--- a/instrumentation/opentelemetry-instrumentation-botocore/test-requirements.txt
+++ b/instrumentation/opentelemetry-instrumentation-botocore/test-requirements.txt
@@ -60,7 +60,7 @@ sshpubkeys==3.3.1
sympy==1.12
tomli==2.0.1
typing_extensions==4.10.0
-urllib3==1.26.18
+urllib3==2.2.1
Werkzeug==2.1.2
wrapt==1.16.0
xmltodict==0.13.0
diff --git a/instrumentation/opentelemetry-instrumentation-elasticsearch/test-requirements-0.txt b/instrumentation/opentelemetry-instrumentation-elasticsearch/test-requirements-0.txt
index 216d1c0b..43c896f6 100644
--- a/instrumentation/opentelemetry-instrumentation-elasticsearch/test-requirements-0.txt
+++ b/instrumentation/opentelemetry-instrumentation-elasticsearch/test-requirements-0.txt
@@ -15,7 +15,7 @@ python-dateutil==2.8.2
six==1.16.0
tomli==2.0.1
typing_extensions==4.10.0
-urllib3==1.26.18
+urllib3==2.2.1
wrapt==1.16.0
zipp==3.17.0
-e opentelemetry-instrumentation
diff --git a/instrumentation/opentelemetry-instrumentation-urllib3/test-requirements-0.txt b/instrumentation/opentelemetry-instrumentation-urllib3/test-requirements-0.txt
index 730ef169..1f10502f 100644
--- a/instrumentation/opentelemetry-instrumentation-urllib3/test-requirements-0.txt
+++ b/instrumentation/opentelemetry-instrumentation-urllib3/test-requirements-0.txt
@@ -12,7 +12,7 @@ pytest==7.1.3
pytest-benchmark==4.0.0
tomli==2.0.1
typing_extensions==4.10.0
-urllib3==1.26.18
+urllib3==2.2.1
wrapt==1.16.0
zipp==3.17.0
-e opentelemetry-instrumentation
After thinking a bit about this issue, I now think that there is no reason why there should exist a combination of package versions that should satisfy all tests for all packages including I now think the solution for this issue is to separate |
@ocelotl if we remove the transitive dependencies from the test-requirements.txt files, would it fix the issue?
I agree this would be better in theory, but I'm worried this will be slow. |
It means installing the same packages several times for every package (which is bad). It would mean we can use Github CI paralellization (which is good) and it would also mean users could run There is only one way to find out, I'll try to separate |
This cannot be applied to this repo because there are many packages that share the same dependency but require different versions of it.
We should instead separate linting in as many actions as packages we have. This will speed up linting in CI significantly thanks to the fact that many jobs can run in parallel.
The text was updated successfully, but these errors were encountered: