Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

importlib.metadata test fixtures should prefer test.support fixtures #120801

Closed
jaraco opened this issue Jun 20, 2024 · 0 comments
Closed

importlib.metadata test fixtures should prefer test.support fixtures #120801

jaraco opened this issue Jun 20, 2024 · 0 comments

Comments

@jaraco
Copy link
Member

jaraco commented Jun 20, 2024

In #116131, I learned that there are some fixtures in importlib.metadata that now appear to have substantial overlap with those in support.os_helper. There was a time when the backport was the dominant implementation and the fixtures needed to stand alone, but as we move to a more stable implementation in the stdlib, the tests should rely on fixtures from the stdlib wherever possible.

Linked PRs

jaraco added a commit to jaraco/cpython that referenced this issue Jun 20, 2024
These changes released with importlib_metadata 7.2.0.
jaraco added a commit to jaraco/cpython that referenced this issue Jun 20, 2024
These changes released with importlib_metadata 7.2.0.
@jaraco jaraco closed this as completed Jun 20, 2024
jaraco added a commit that referenced this issue Jun 20, 2024
These changes released with importlib_metadata 7.2.0.
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Jun 26, 2024
v7.2.0
======

Features
--------

- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.
mrahtz pushed a commit to mrahtz/cpython that referenced this issue Jun 30, 2024
These changes released with importlib_metadata 7.2.0.
noahbkim pushed a commit to hudson-trading/cpython that referenced this issue Jul 11, 2024
These changes released with importlib_metadata 7.2.0.
mmitchel pushed a commit to distro-core-curated-mirrors/poky-contrib that referenced this issue Jul 12, 2024
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

(From OE-Core rev: 1911538f4553d0d975fcc2dec239534252233664)

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
halstead pushed a commit to yoctoproject/poky that referenced this issue Jul 14, 2024
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

(From OE-Core rev: 0f3ea53a655611ac864eecefea481fda220e535a)

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
halstead pushed a commit to openembedded/openembedded-core that referenced this issue Jul 14, 2024
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
halstead pushed a commit to yoctoproject/poky that referenced this issue Jul 14, 2024
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

(From OE-Core rev: 31b3f7196ed250171905283741918cc255045dde)

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
halstead pushed a commit to openembedded/openembedded-core that referenced this issue Jul 14, 2024
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
halstead pushed a commit to yoctoproject/poky that referenced this issue Jul 14, 2024
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

(From OE-Core rev: 31b3f7196ed250171905283741918cc255045dde)

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
halstead pushed a commit to yoctoproject/poky that referenced this issue Jul 15, 2024
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

(From OE-Core rev: d1a1d5407b3d1e932646c5fd55038dd843b626c5)

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
halstead pushed a commit to openembedded/openembedded-core that referenced this issue Jul 15, 2024
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
halstead pushed a commit to yoctoproject/poky that referenced this issue Jul 16, 2024
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

(From OE-Core rev: d1a1d5407b3d1e932646c5fd55038dd843b626c5)

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
halstead pushed a commit to yoctoproject/poky that referenced this issue Jul 16, 2024
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

(From OE-Core rev: 6976b87b6eeb8ac406731782170f923c8835b446)

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
halstead pushed a commit to openembedded/openembedded-core that referenced this issue Jul 16, 2024
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
daregit pushed a commit to daregit/yocto-combined that referenced this issue Jul 16, 2024
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

(From OE-Core rev: 6976b87b6eeb8ac406731782170f923c8835b446)

Signed-off-by: Wang Mingyu <wangmyfujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.bellonibootlin.com>
Signed-off-by: Richard Purdie <richard.purdielinuxfoundation.org>
estyxx pushed a commit to estyxx/cpython that referenced this issue Jul 17, 2024
These changes released with importlib_metadata 7.2.0.
daregit pushed a commit to daregit/yocto-combined that referenced this issue Aug 1, 2024
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

(From OE-Core rev: 6976b87b6eeb8ac406731782170f923c8835b446)

Signed-off-by: Wang Mingyu <wangmyfujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.bellonibootlin.com>
Signed-off-by: Richard Purdie <richard.purdielinuxfoundation.org>
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

No branches or pull requests

1 participant