GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GH-78707: Drop deprecated `pathlib.PurePath.[is_]relative_to()` arguments by barneygale · Pull Request #118780 · python/cpython

Conversation

@barneygale

@barneygale barneygale commented May 8, 2024 •
edited by github-actions Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Remove support for supplying additional positional arguments to PurePath.relative_to() and is_relative_to(). This has been deprecated since Python 3.12.

  • Issue: Path.relative_to() taking multiple arguments could be better documented #78707

📚 Documentation preview 📚: https://cpython-previews--118780.org.readthedocs.build/

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@barneygale
pythonGH-78707: Drop deprecated pathlib.PurePath.[is_]relative_to()…
a3db1b9
… arguments

Remove support for supplying additional positional arguments to
`PurePath.relative_to()` and `is_relative_to()`. This has been deprecated
since Python 3.12.
@barneygale barneygale added the topic-pathlib label May 8, 2024
@bedevere-app bedevere-app Bot added the awaiting core review label May 8, 2024
@bedevere-app bedevere-app Bot mentioned this pull request May 8, 2024
Path.relative_to() taking multiple arguments could be better documented #78707
Closed
barneygale added 2 commits May 8, 2024 19:00
@barneygale
Add news blurb
4116250
@barneygale
Merge branch 'main' into pythongh-78707-remove
0be21b1
@barneygale barneygale mentioned this pull request May 8, 2024
GH-74033: Drop deprecated pathlib.Path keyword arguments #118793
Merged
@barneygale
barneygale requested review from brettcannon and hugovk May 8, 2024 20:44
hugovk
hugovk reviewed May 9, 2024
View reviewed changes
Comment thread Doc/whatsnew/3.14.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Misc/NEWS.d/next/Library/2024-05-08-18-59-19.gh-issue-78707._Lz1sw.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

barneygale added 2 commits May 10, 2024 15:56
@barneygale
Merge branch 'main' into pythongh-78707-remove
ececcd9
@barneygale
Fix whatsnew
0ce3967
hugovk
hugovk approved these changes May 10, 2024
View reviewed changes

@hugovk hugovk left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thanks!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting core review labels May 10, 2024
@barneygale

barneygale commented May 10, 2024

Copy link
Copy Markdown
Contributor Author

Thank you!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@barneygale
barneygale enabled auto-merge (squash) May 10, 2024 15:17
@barneygale
barneygale merged commit f772d0d into python:main May 10, 2024
@bedevere-app bedevere-app Bot removed the awaiting merge label May 10, 2024
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
@barneygale @estyxx
pythonGH-78707: Drop deprecated pathlib.PurePath.[is_]relative_to()…
17dec15
… arguments (python#118780)

Remove support for supplying additional positional arguments to
`PurePath.relative_to()` and `is_relative_to()`. This has been deprecated
since Python 3.12.
@WindSoilder WindSoilder mentioned this pull request Apr 22, 2025
Allow path relative-to to use parent directory symbols nushell/nushell#14055
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@hugovk hugovk hugovk approved these changes
@brettcannon brettcannon Awaiting requested review from brettcannon

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

topic-pathlib

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@barneygale @hugovk
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.