Skip to content

Conversation

@FFY00
Copy link
Member

@FFY00 FFY00 commented Oct 23, 2021

@FFY00
Copy link
Member Author

FFY00 commented Oct 23, 2021

__file__ is not set anymore. I don't know exactly which part of the code is responsible for that. Should we keep setting __file__, or is leaving it out fine?

@jaraco
Copy link
Member

jaraco commented Oct 31, 2021

I see tests are failing. I suspect that's because the change modifies bootstrap_external but the C version hasn't been regenerated from it. I believe you need to run make regen-importlib to regenerate the C version of that module. It's been a while, so I only have 50% confidence in my understanding.

Edit: I ran make regen-importlib and nothing changed, so I guess that step isn't needed. I guess the test failures are actual test failures needing investigation.

@FFY00
Copy link
Member Author

FFY00 commented Oct 31, 2021

I am not home now, so I will finish up looking into the feedback later.

@github-actions
Copy link

github-actions bot commented Dec 1, 2021

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Dec 1, 2021
@Tayodele
Copy link

Any progress on this PR? I have run into the same issue and was wondering if this fix was coming anytime soon. I can take a look but I have never contributed so I don't really know how that works with a PR I didn't make myself.

@FFY00
Copy link
Member Author

FFY00 commented Apr 13, 2022

I will try to rebase the PR and fix the tests in the weekend.

@picnixz picnixz changed the title bpo-40350: fix namespace package support in modulefinder gh-84530: fix namespace package support in modulefinder Dec 3, 2024
Copy link
Member

@brettcannon brettcannon left a comment

Choose a reason for hiding this comment

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

I think the importlib changes look okay (no comment on the modulefinder changes).

Signed-off-by: Filipe Laíns <[email protected]>
@FFY00
Copy link
Member Author

FFY00 commented Oct 10, 2025

I rewrote the fix to drop the importlib changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants