Skip to content

Inherit PYTHONPATH when spawning workers.#148

Merged
vstinner merged 2 commits intopsf:mainfrom
tjni:pythonpath
Nov 22, 2022
Merged

Inherit PYTHONPATH when spawning workers.#148
vstinner merged 2 commits intopsf:mainfrom
tjni:pythonpath

Conversation

@tjni
Copy link
Copy Markdown
Contributor

@tjni tjni commented Nov 21, 2022

Resolves #146.

Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

Would you mind to document the change in doc/changelog.rst?

You have to increase the pyperf version and add a new section. setup.py says:

update version in setup.py, pyperf/init.py and doc/conf.py

@vstinner
Copy link
Copy Markdown
Member

Ah, mention also that PYTHONPATH is inherited in --inherit-environ doc: doc/runner.rst.

@tjni
Copy link
Copy Markdown
Contributor Author

tjni commented Nov 21, 2022

I added an entry to the changelog and updated the documentation. The second commit prepares to release 2.6.0, but it can be dropped if you prefer to do that separately.

Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the update.

@vstinner vstinner merged commit d373c5e into psf:main Nov 22, 2022
@vstinner
Copy link
Copy Markdown
Member

Merged, thanks.

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.

Propagating PYTHONPATH in tests

2 participants