Skip to content

Commit cdc8eb5

Browse files
authored
Remove extra deps that were only for tests now skipped in 3.8 (#353)
1 parent d73f474 commit cdc8eb5

File tree

4 files changed

+24
-58
lines changed

4 files changed

+24
-58
lines changed

logfire/_internal/tracer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def start_span(
201201

202202
# This means that `with start_as_current_span(...):`
203203
# is roughly equivalent to `with use_span(start_span(...)):`
204-
start_as_current_span = SDKTracer.start_as_current_span # type: ignore
204+
start_as_current_span = SDKTracer.start_as_current_span
205205

206206

207207
@dataclass

pyproject.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,6 @@ dev-dependencies = [
139139
"celery>=5.4.0",
140140
"testcontainers",
141141
"mysql-connector-python~=8.0",
142-
# Python 3.8 requires an older version of testcontainers, which in turn needs these for a mysql container
143-
"pymysql; python_version < '3.9'",
144-
"cryptography; python_version < '3.9'",
145142
]
146143

147144
[tool.rye.scripts]

requirements-dev.lock

Lines changed: 22 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -9,33 +9,34 @@
99
# generate-hashes: false
1010

1111
-e file:.
12-
aiohttp==3.9.5
12+
aiohappyeyeballs==2.3.4
13+
# via aiohttp
14+
aiohttp==3.10.1
1315
aiosignal==1.3.1
1416
# via aiohttp
1517
amqp==5.2.0
1618
# via kombu
1719
annotated-types==0.7.0
1820
# via pydantic
19-
anthropic==0.31.2
21+
anthropic==0.32.0
2022
anyio==4.3.0
2123
# via anthropic
2224
# via httpx
2325
# via openai
2426
# via starlette
25-
# via watchfiles
2627
asgiref==3.8.1
2728
# via django
2829
# via opentelemetry-instrumentation-asgi
2930
asttokens==2.4.1
3031
# via inline-snapshot
3132
asyncpg==0.29.0
32-
attrs==23.2.0
33+
attrs==24.1.0
3334
# via aiohttp
3435
babel==2.15.0
3536
# via mkdocs-material
3637
billiard==4.2.0
3738
# via celery
38-
black==24.4.2
39+
black==24.8.0
3940
# via inline-snapshot
4041
blinker==1.8.2
4142
# via flask
@@ -58,8 +59,6 @@ click==8.1.7
5859
# via inline-snapshot
5960
# via mkdocs
6061
# via mkdocstrings
61-
# via typer
62-
# via uvicorn
6362
click-didyoumean==0.3.1
6463
# via celery
6564
click-plugins==1.1.1
@@ -70,7 +69,7 @@ cloudpickle==3.0.0
7069
colorama==0.4.6
7170
# via griffe
7271
# via mkdocs-material
73-
coverage==7.6.0
72+
coverage==7.6.1
7473
deprecated==1.2.14
7574
# via opentelemetry-api
7675
# via opentelemetry-exporter-otlp-proto-http
@@ -83,19 +82,14 @@ distro==1.9.0
8382
# via openai
8483
django==5.0.7
8584
dnspython==2.6.1
86-
# via email-validator
8785
# via pymongo
8886
docker==7.1.0
8987
# via testcontainers
90-
email-validator==2.2.0
91-
# via fastapi
9288
eval-type-backport==0.2.0
9389
executing==2.0.1
9490
# via inline-snapshot
9591
# via logfire
96-
fastapi==0.111.1
97-
fastapi-cli==0.0.4
98-
# via fastapi
92+
fastapi==0.112.0
9993
filelock==3.15.4
10094
# via huggingface-hub
10195
# via virtualenv
@@ -113,22 +107,17 @@ griffe==0.48.0
113107
# via mkdocstrings-python
114108
h11==0.14.0
115109
# via httpcore
116-
# via uvicorn
117110
httpcore==1.0.5
118111
# via httpx
119-
httptools==0.6.1
120-
# via uvicorn
121112
httpx==0.27.0
122113
# via anthropic
123-
# via fastapi
124114
# via openai
125-
huggingface-hub==0.24.2
115+
huggingface-hub==0.24.5
126116
# via tokenizers
127117
identify==2.6.0
128118
# via pre-commit
129119
idna==3.7
130120
# via anyio
131-
# via email-validator
132121
# via httpx
133122
# via requests
134123
# via yarl
@@ -141,7 +130,6 @@ inline-snapshot==0.12.0
141130
itsdangerous==2.2.0
142131
# via flask
143132
jinja2==3.1.4
144-
# via fastapi
145133
# via flask
146134
# via mkdocs
147135
# via mkdocs-material
@@ -179,16 +167,16 @@ mkdocs-autorefs==1.0.1
179167
mkdocs-get-deps==0.2.0
180168
# via mkdocs
181169
mkdocs-glightbox==0.4.0
182-
mkdocs-material==9.5.30
170+
mkdocs-material==9.5.31
183171
mkdocs-material-extensions==1.3.1
184172
# via mkdocs-material
185-
mkdocstrings==0.25.1
173+
mkdocstrings==0.25.2
186174
# via mkdocstrings-python
187-
mkdocstrings-python==1.10.5
175+
mkdocstrings-python==1.10.7
188176
multidict==6.0.5
189177
# via aiohttp
190178
# via yarl
191-
mypy==1.11.0
179+
mypy==1.11.1
192180
mypy-extensions==1.0.0
193181
# via black
194182
# via mypy
@@ -198,7 +186,7 @@ nodeenv==1.9.1
198186
# via pyright
199187
numpy==2.0.1
200188
# via pandas
201-
openai==1.37.0
189+
openai==1.38.0
202190
opentelemetry-api==1.26.0
203191
# via opentelemetry-exporter-otlp-proto-http
204192
# via opentelemetry-instrumentation
@@ -327,7 +315,7 @@ platformdirs==4.2.2
327315
# via virtualenv
328316
pluggy==1.5.0
329317
# via pytest
330-
pre-commit==3.7.1
318+
pre-commit==3.8.0
331319
prompt-toolkit==3.0.47
332320
# via click-repl
333321
protobuf==4.25.4
@@ -350,12 +338,12 @@ pydantic-core==2.20.1
350338
pygments==2.18.0
351339
# via mkdocs-material
352340
# via rich
353-
pymdown-extensions==10.8.1
341+
pymdown-extensions==10.9
354342
# via mkdocs-material
355343
# via mkdocstrings
356344
pymongo==4.8.0
357-
pyright==1.1.373
358-
pytest==8.3.1
345+
pyright==1.1.374
346+
pytest==8.3.2
359347
# via pytest-django
360348
# via pytest-pretty
361349
pytest-django==4.8.0
@@ -364,10 +352,6 @@ python-dateutil==2.9.0.post0
364352
# via celery
365353
# via ghp-import
366354
# via pandas
367-
python-dotenv==1.0.1
368-
# via uvicorn
369-
python-multipart==0.0.9
370-
# via fastapi
371355
pytz==2024.1
372356
# via dirty-equals
373357
# via pandas
@@ -378,10 +362,9 @@ pyyaml==6.0.1
378362
# via pre-commit
379363
# via pymdown-extensions
380364
# via pyyaml-env-tag
381-
# via uvicorn
382365
pyyaml-env-tag==0.1
383366
# via mkdocs
384-
redis==5.0.7
367+
redis==5.0.8
385368
regex==2024.7.24
386369
# via mkdocs-material
387370
requests==2.32.3
@@ -395,12 +378,9 @@ rich==13.7.1
395378
# via inline-snapshot
396379
# via logfire
397380
# via pytest-pretty
398-
# via typer
399-
ruff==0.5.4
400-
setuptools==71.1.0
381+
ruff==0.5.6
382+
setuptools==72.1.0
401383
# via opentelemetry-instrumentation
402-
shellingham==1.5.4
403-
# via typer
404384
six==1.16.0
405385
# via asttokens
406386
# via python-dateutil
@@ -422,11 +402,9 @@ tokenizers==0.19.1
422402
# via anthropic
423403
toml==0.10.2
424404
# via inline-snapshot
425-
tqdm==4.66.4
405+
tqdm==4.66.5
426406
# via huggingface-hub
427407
# via openai
428-
typer==0.12.3
429-
# via fastapi-cli
430408
types-toml==0.10.8.20240310
431409
# via inline-snapshot
432410
typing-extensions==4.12.2
@@ -443,18 +421,13 @@ typing-extensions==4.12.2
443421
# via pydantic-core
444422
# via sqlalchemy
445423
# via testcontainers
446-
# via typer
447424
tzdata==2024.1
448425
# via celery
449426
# via pandas
450427
urllib3==2.2.2
451428
# via docker
452429
# via requests
453430
# via testcontainers
454-
uvicorn==0.30.3
455-
# via fastapi
456-
uvloop==0.19.0
457-
# via uvicorn
458431
vine==5.1.0
459432
# via amqp
460433
# via celery
@@ -463,12 +436,8 @@ virtualenv==20.26.3
463436
# via pre-commit
464437
watchdog==4.0.1
465438
# via mkdocs
466-
watchfiles==0.22.0
467-
# via uvicorn
468439
wcwidth==0.2.13
469440
# via prompt-toolkit
470-
websockets==12.0
471-
# via uvicorn
472441
werkzeug==3.0.3
473442
# via flask
474443
wrapt==1.16.0

requirements.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ requests==2.32.3
5858
# via opentelemetry-exporter-otlp-proto-http
5959
rich==13.7.1
6060
# via logfire
61-
setuptools==71.1.0
61+
setuptools==72.1.0
6262
# via opentelemetry-instrumentation
6363
typing-extensions==4.12.2
6464
# via logfire

0 commit comments

Comments
 (0)