Skip to content

ENH: Extension should be able to accept PathLike sources objects#230

Merged
jaraco merged 4 commits intopypa:mainfrom
MridulS:pathlike_ext
Mar 2, 2024
Merged

ENH: Extension should be able to accept PathLike sources objects#230
jaraco merged 4 commits intopypa:mainfrom
MridulS:pathlike_ext

Conversation

@MridulS
Copy link
Copy Markdown
Contributor

@MridulS MridulS commented Feb 29, 2024

In the spirit of #142 I think we should be able to pass a list of file objects to the extension class too.

Let me know if there is any else needed here to push this forward :)

@jaraco jaraco merged commit 9fc9671 into pypa:main Mar 2, 2024
@jaraco
Copy link
Copy Markdown
Member

jaraco commented Mar 3, 2024

I think I got ahead of myself with the merge. I see now the changes are causing issues with both Windows and setuptools integration tests, both of which are expecting string objects for .sources, so before a change like this can be accepted, the downstream consumers are all going to need to be able to support PathLike objects.

I've gone ahead and force-pushed main back to 08699b6, backing out this change, and I've pushed 9fc9671 to the pathlike_ext branch and opened a new PR with that branch to work out the details.

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