This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jamesls
Recipients brett.cannon, gregory.p.smith, jamesls, steve.dower
Date 2021-05-07.22:06:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620425194.33.0.138766845916.issue44070@roundup.psfhosted.org>
In-reply-to
Content
> What's the actual scenario that this broke?

I only noticed this because a project that I work on (https://github.com/aws/chalice/) started failing CI for seemingly unrelated changes.  A specific test run is here: https://github.com/jamesls/chalice/runs/2529906754.  This didn't actually break the framework itself, just the tests for the framework.  Chalice imports your application to figure out what resources to deploy to AWS, so the functional tests need to setup/teardown misc. applications and re-import them fresh for each test.

Turns out the GitHub action I was using switched their Python 3.8 from 3.8.9 to 3.8.10 so I started looking into why this failed.  My takeaway from this is to stop using relative imports in sys.path (I don't recall us having a specific reason to do this other than it worked).  I figured I'd file an issue as I'm not actually sure if this consequence was intentional (I only saw bpo-43105 mentioned in the changelog), and was surprised this behavior changed in a patch release.
History
Date User Action Args
2021-05-07 22:06:34jameslssetrecipients: + jamesls, brett.cannon, gregory.p.smith, steve.dower
2021-05-07 22:06:34jameslssetmessageid: <1620425194.33.0.138766845916.issue44070@roundup.psfhosted.org>
2021-05-07 22:06:34jameslslinkissue44070 messages
2021-05-07 22:06:34jameslscreate