Skip to content

Conversation

@cottsay
Copy link
Member

@cottsay cottsay commented Nov 3, 2025

Basic Info

Info Please fill out this column
Ticket(s) this addresses N/A
Primary OS tested on Fedora
Is this a breaking change? No
Does this PR contain AI generated software? No

Description of contribution in a few bullet points

I don't really understand why this was working correctly before, but changes to pathname2url in Python 3.14 are causing the resulting URL to have only a single leading slash, e.x. file:/foo/bar.

Found while packaging vcs2l for Fedora Rawhide.

Description of how this change was tested

  • Performed linting validation using pre-commit run --all
  • Verified that the code passes all tests using python3 -m pytest -s -v test

@cottsay cottsay self-assigned this Nov 3, 2025
@cottsay cottsay added the bug Something isn't working label Nov 3, 2025
@codecov-commenter
Copy link

codecov-commenter commented Nov 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 26.98%. Comparing base (2c92f83) to head (b1f0a25).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #82   +/-   ##
=======================================
  Coverage   26.98%   26.98%           
=======================================
  Files          31       31           
  Lines        2238     2238           
  Branches      392      392           
=======================================
  Hits          604      604           
  Misses       1574     1574           
  Partials       60       60           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@leander-dsouza
Copy link
Member

Thank you for pointing out the issue with file paths. I guess we need to add Python 3.14 to the workflow in the near future to catch impending errors.

Co-authored-by: Leander Stephen D'Souza <leanderdsouza1234@gmail.com>
Signed-off-by: Scott K Logan <logans@cottsay.net>
@leander-dsouza leander-dsouza merged commit 3d0f2f9 into main Nov 4, 2025
18 checks passed
@leander-dsouza leander-dsouza deleted the cottsay/temp-url branch November 4, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants