Skip to content

Handle setuptools changing sys.path for importing packaging.version - #344

Merged
alexmojaki merged 1 commit into
mainfrom
alex/setuptools-packaging-version
Jul 29, 2024
Merged

alexmojaki merged 1 commit into
mainfrom
alex/setuptools-packaging-version

Conversation

@alexmojaki

Copy link
Copy Markdown
Contributor

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying logfire-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d61f4ba
Status: ✅  Deploy successful!
Preview URL: https://20f6ac96.logfire-docs.pages.dev
Branch Preview URL: https://alex-setuptools-packaging-ve.logfire-docs.pages.dev

View logs

@alexmojaki
alexmojaki requested a review from Kludex July 29, 2024 13:54
from setuptools._vendor.packaging.version import Version

try:
# See https://pydanticlogfire.slack.com/archives/C06EDRBSAH3/p1722017944332959

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reference will disappear, FYI.

@codecov

codecov Bot commented Jul 29, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (36db52e) to head (d61f4ba).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #344   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          119       119           
  Lines         8895      8895           
  Branches      1159      1159           
=========================================
  Hits          8895      8895           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@alexmojaki
alexmojaki merged commit a9b0019 into main Jul 29, 2024
@alexmojaki
alexmojaki deleted the alex/setuptools-packaging-version branch July 29, 2024 13:59
aditkumar72 pushed a commit to aditkumar72/logfire that referenced this pull request Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants