From d6c766a40a364761568a6a0145b8ebd669939f2a Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Sep 26 2023 09:58:39 +0000 Subject: Retired: Does not install with Python 3.12 See https://bugzilla.redhat.com/show_bug.cgi?id=2220336 --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 08ef9db..0000000 --- a/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.tar.gz -*.tar.bz2 -results_* -*.src.rpm -*.swp diff --git a/0001-Remove-Sphinx-pinning-and-unneeded-test-deps.patch b/0001-Remove-Sphinx-pinning-and-unneeded-test-deps.patch deleted file mode 100644 index 9bbfc80..0000000 --- a/0001-Remove-Sphinx-pinning-and-unneeded-test-deps.patch +++ /dev/null @@ -1,41 +0,0 @@ -From f54b6ab62f21c9d4fd49660e141261246c3e69be Mon Sep 17 00:00:00 2001 -From: Maxwell G -Date: Thu, 15 Dec 2022 15:51:01 -0600 -Subject: [PATCH] Remove Sphinx pinning and unneeded test deps - ---- - setup.cfg | 7 +------ - 1 file changed, 1 insertion(+), 6 deletions(-) - -diff --git a/setup.cfg b/setup.cfg -index 9005357..deb6699 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -72,7 +72,7 @@ install_requires = - docs = - ansible-core >= 2.12.0 - jinja2<3.2.0 # https://twitter.com/readthedocs/status/1507388916013314048 -- Sphinx >= 5.0.0, < 6.0.0 # https://github.com/sphinx-doc/sphinx/issues/10112 -+ Sphinx >= 4.5.0 - simplejson >= 3.17.2 - sphinx-ansible-theme >= 0.8.0, < 0.10.0 - sphinx-notfound-page >= 0.7.1 -@@ -83,15 +83,10 @@ podman = - windows = - pywinrm - test = -- ansi2html >= 1.6.0 -- coverage >= 6.2 - filelock - - pexpect >= 4.8.0, < 5 -- pytest-cov >= 2.10.1 -- pytest-html >= 3.0.0 - pytest-mock >= 3.3.1 -- pytest-plus >= 0.2 - pytest-testinfra >= 6.1.0 - pytest-xdist >= 2.1.0 - pytest >= 6.1.2 --- -2.38.1 - diff --git a/README.md b/README.md deleted file mode 100644 index 49628c0..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# python-molecule - -The python-molecule package \ No newline at end of file diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..1713572 --- /dev/null +++ b/dead.package @@ -0,0 +1,3 @@ +Retired: Does not install with Python 3.12 + +See https://bugzilla.redhat.com/show_bug.cgi?id=2220336 diff --git a/python-molecule.spec b/python-molecule.spec deleted file mode 100644 index c36c3e7..0000000 --- a/python-molecule.spec +++ /dev/null @@ -1,118 +0,0 @@ -%global srcname molecule -%global pkgname python-molecule -%global forgeurl https://github.com/ansible/%{srcname} - -%global common_description %{expand: -Molecule is designed to aid in the development and testing of Ansible roles. -Molecule provides support for testing with multiple instances, operating -systems and distributions, virtualization providers, test frameworks and -testing scenarios. Molecule is opinionated in order to encourage an approach -that results in consistently developed roles that are well-written, easily -understood and maintained. Molecule uses Ansible playbooks to exercise the role -and its associated tests. Molecule supports any provider that Ansible supports. -} - -%global documentation_description %{expand: -Documentation for python-molecule a tool designed to aid in the development and -testing of Ansible roles. -} - -%bcond_without doc -%bcond_without tests - -Name: %{pkgname} -Version: 4.0.4 -Release: %autorelease -Summary: Molecule is designed to aid in the development and testing of Ansible roles -URL: %{forgeurl} -Source: %{pypi_source molecule} -# Remove unnecessary test deps and sphinx pinning -Patch: 0001-Remove-Sphinx-pinning-and-unneeded-test-deps.patch -BuildArch: noarch - -######################################################################## -# Most of the package is MIT licensed. # -# # -# There are two files in the archive that are licensed with ASL 2.0: # -# - molecule-2.7/molecule/interpolation.py # -# - molecule-2.7/test/unit/test_interpolation.py # -######################################################################## -License: MIT AND Apache-2.0 - -BuildRequires: python3-devel -BuildRequires: pyproject-rpm-macros - -%if %{with tests} -BuildRequires: yamllint -BuildRequires: python3dist(ansible-lint) -%endif - -%description %{common_description} -######################################################################## -# Documentation package # -######################################################################## -%package -n python3-%{srcname}-doc -Summary: %summary -%description -n python3-%{srcname}-doc %{documentation_description} - -######################################################################## -# Python package # -######################################################################## -%package -n python3-%{srcname} -Summary: %summary -Provides: molecule = %{version}-%{release} - -Requires: ansible-core -Recommends: python-molecule-doc -Recommends: python3dist(molecule-docker) -Recommends: python3dist(molecule-podman) - -%description -n python3-%{srcname} %{common_description} - -%prep -%autosetup -p1 -n %{srcname}-%{version} - -%generate_buildrequires -%pyproject_buildrequires %{?with_tests:-x test} %{?with_doc:-x docs} - -%build -%pyproject_wheel - -%if %{with doc} -PYTHONPATH=src sphinx-build-3 docs html -rm -rf html/.{doctrees,buildinfo} -%endif - -%install -%pyproject_install - -%if %{with tests} -%check -%pytest \ - -vv \ - -n auto \ - -k 'not test_command_dependency' \ - src/molecule/test -%endif - -######################################################################## -# Python package files # -######################################################################## -%files -n python3-%{srcname} -%license LICENSE -%{_bindir}/%{srcname} -%{python3_sitelib}/molecule/ -%{python3_sitelib}/molecule-%{version}.dist-info/ - -######################################################################## -# Documentation package files # -######################################################################## -%if %{with doc} -%files -n python3-%{srcname}-doc -%license LICENSE -%doc *.rst -%doc html/ -%endif - -%changelog -%autochangelog diff --git a/sources b/sources deleted file mode 100644 index 6586258..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (molecule-4.0.4.tar.gz) = d7c1ceefbf74cbc27a397e7a40d855b23325bbde31a4cd1920961413a7db950e9fc530fec180de877eb37984bac8603033aa5a582e68e7f4c4ac2a10721c6630