mirror of https://github.com/ansible/ansible.git
🧪🔥 Delete the `egg-info` integration test (#84686)
Previously, the integration test depended on luck. `setuptools` used to be bundled in Python stdlib's `ensurepip`. Python 3.12 and newer no longer include it. This test imports `pkg_resources` that is a part of `setuptools`, meaning that it'll run out of luck at some point, under newer Python runtimes. This test does not seem to be useful to us so instead of fixing it, we remove it from the repo [[1]]. Supersedes #84681. [1]: https://github.com/ansible/ansible/pull/84681#discussion_r1945525317pull/84689/head
parent
6724e076dd
commit
ee49adfaf4
@ -1,2 +0,0 @@
|
||||
shippable/posix/group3
|
||||
context/controller
|
||||
@ -1,10 +0,0 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import pkg_resources # pylint: disable=unused-import
|
||||
|
||||
from ansible.plugins.lookup import LookupBase
|
||||
|
||||
|
||||
class LookupModule(LookupBase):
|
||||
def run(self, terms, variables, **kwargs):
|
||||
return ['ok']
|
||||
@ -1,3 +0,0 @@
|
||||
- name: Make sure pkg_resources can be imported by plugins
|
||||
debug:
|
||||
msg: "{{ lookup('import_pkg_resources') }}"
|
||||
Loading…
Reference in New Issue