Skip to content

BUG: relpath fails for different drives on windows#16308

Merged
rgommers merged 2 commits into
numpy:masterfrom
mattip:redo-12535
May 20, 2020
Merged

BUG: relpath fails for different drives on windows#16308
rgommers merged 2 commits into
numpy:masterfrom
mattip:redo-12535

Conversation

@mattip

@mattip mattip commented May 20, 2020

Copy link
Copy Markdown
Member

Revive gh-12535. Fixes gh-12530. Sorry, no test.

This PR should fix the immediate problem of broken CI runs or smoke out the reason relpath was used in the first place.

@eric-wieser

Copy link
Copy Markdown
Member

Any reason to not just change this on all platforms?

@mattip

mattip commented May 20, 2020

Copy link
Copy Markdown
Member Author

Any reason to not just change this on all platforms?

Let's give it a try

@eric-wieser

Copy link
Copy Markdown
Member

We could switch to a more conservative implementation after a release of 1.20rc1 or something

@mattip

mattip commented May 20, 2020

Copy link
Copy Markdown
Member Author

Builds are green. Anyone want to take a look and merge it to unblock the CI failures?

@rgommers rgommers merged commit f619644 into numpy:master May 20, 2020
@rgommers

Copy link
Copy Markdown
Member

Green is good, merging to stop the bleeding.

@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label May 20, 2020
@charris charris added this to the 1.19.0 release milestone May 20, 2020
@charris

charris commented May 20, 2020

Copy link
Copy Markdown
Member

Labeled for backport, azure was also failing on 1.19.x.

charris pushed a commit to charris/numpy that referenced this pull request May 20, 2020
* BUG: relpath fails for different drives on windows

* ENH: always use abspath
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label May 20, 2020
@charris charris removed this from the 1.19.0 release milestone May 20, 2020
charris pushed a commit to charris/numpy that referenced this pull request May 30, 2020
* BUG: relpath fails for different drives on windows

* ENH: always use abspath
@mattip mattip deleted the redo-12535 branch April 8, 2021 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BLD: distutils does not gracefully handle separate Windows Drive Paths

4 participants