Add python-alembic to RHEL-9
Resolves: rhbz#2084557
This commit is contained in:
parent
52325fb8c0
commit
b21d0d5ffa
@ -1,7 +0,0 @@
|
||||
error: Failed build dependencies:
|
||||
help2man is needed by python-alembic-0.7.6-1.fc23.noarch
|
||||
python-mock is needed by python-alembic-0.7.6-1.fc23.noarch
|
||||
python3-mock is needed by python-alembic-0.7.6-1.fc23.noarch
|
||||
python3-sqlalchemy >= 0.7.4 is needed by python-alembic-0.7.6-1.fc23.noarch
|
||||
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -28,3 +28,4 @@
|
||||
/alembic-1.3.1.tar.gz
|
||||
/alembic-1.4.0.tar.gz
|
||||
/alembic-1.4.2.tar.gz
|
||||
/alembic-1.7.5.tar.gz
|
||||
|
31
0001-filter-out-DeprecationWarnings.patch
Normal file
31
0001-filter-out-DeprecationWarnings.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From 1a4a106bf202fbd90371087260af2bbc0ef097c3 Mon Sep 17 00:00:00 2001
|
||||
From: Tomas Hrnciar <thrnciar@redhat.com>
|
||||
Date: Thu, 3 Jun 2021 15:20:04 +0200
|
||||
Subject: [PATCH] filter out DeprecationWarnings
|
||||
|
||||
---
|
||||
alembic/testing/warnings.py | 11 +++++++++++
|
||||
1 file changed, 11 insertions(+)
|
||||
|
||||
diff --git a/alembic/testing/warnings.py b/alembic/testing/warnings.py
|
||||
index d809dfe..ae8bcec 100644
|
||||
--- a/alembic/testing/warnings.py
|
||||
+++ b/alembic/testing/warnings.py
|
||||
@@ -30,3 +30,14 @@ def setup_filters():
|
||||
warnings.filterwarnings(
|
||||
"once", category=pytest.PytestDeprecationWarning
|
||||
)
|
||||
+ warnings.filterwarnings(
|
||||
+ "ignore",
|
||||
+ category=DeprecationWarning,
|
||||
+ message="SelectableGroups dict interface is deprecated. Use select.",
|
||||
+ )
|
||||
+ warnings.filterwarnings(
|
||||
+ "ignore",
|
||||
+ category=DeprecationWarning,
|
||||
+ message="The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives",
|
||||
+ )
|
||||
+
|
||||
--
|
||||
2.31.1
|
||||
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.openstack-keylime-integration.functional}
|
@ -1,14 +1,18 @@
|
||||
%global modname alembic
|
||||
|
||||
Name: python-alembic
|
||||
Version: 1.4.2
|
||||
Release: 5%{?dist}
|
||||
Version: 1.7.5
|
||||
Release: 3%{?dist}
|
||||
Summary: Database migration tool for SQLAlchemy
|
||||
|
||||
License: MIT
|
||||
URL: https://pypi.io/project/alembic
|
||||
Source0: %pypi_source alembic
|
||||
|
||||
# Alembic fails with Python 3.10.0b2 due to DeprecationWarnings treated as an error.
|
||||
# Downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=1958159
|
||||
Patch1: 0001-filter-out-DeprecationWarnings.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: help2man
|
||||
@ -16,12 +20,12 @@ BuildRequires: help2man
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-sqlalchemy >= 1.1
|
||||
BuildRequires: python3-mako
|
||||
BuildRequires: python3-nose
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-mock
|
||||
BuildRequires: python3-dateutil
|
||||
BuildRequires: python3-editor
|
||||
BuildRequires: python3-pytest
|
||||
%if 0%{?rhel} == 8
|
||||
BuildRequires: python3-importlib-resources
|
||||
%endif
|
||||
|
||||
|
||||
%global _description\
|
||||
@ -44,11 +48,9 @@ Documentation and status of Alembic is at http://readthedocs.org/docs/alembic/
|
||||
%package -n python3-alembic
|
||||
Summary: %summary
|
||||
|
||||
Requires: python3-sqlalchemy >= 1.1
|
||||
Requires: python3-mako
|
||||
Requires: python3-setuptools
|
||||
Requires: python3-editor
|
||||
Requires: python3-dateutil
|
||||
%if 0%{?rhel} == 8
|
||||
Requires: python3-importlib-resources
|
||||
%endif
|
||||
%{?python_provide:%python_provide python3-alembic}
|
||||
|
||||
|
||||
@ -98,6 +100,64 @@ py.test-3
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 17 2022 Sergio Correia <scorreia@redhat.com> - 1.7.5-3
|
||||
- Add python-alembic to RHEL-9
|
||||
Resolves: rhbz#2084557
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Sun Nov 28 2021 Kevin Fenzi <kevin@scrye.com> - 1.7.5-1
|
||||
- Update to 1.7.5. Fixes rhbz#2022454
|
||||
|
||||
* Sat Nov 06 2021 Kevin Fenzi <kevin@scrye.com> - 1.7.4-1
|
||||
- Update to 1.7.4. Fixes rhbz#2011425
|
||||
|
||||
* Sat Sep 25 2021 Kevin Fenzi <kevin@scrye.com> - 1.7.3-1
|
||||
- Update to 1.7.3. Fixes rhbz#2005403
|
||||
|
||||
* Fri Sep 17 2021 Neal Gompa <ngompa@fedoraproject.org> - 1.7.1-3
|
||||
- Drop redundant manually specified dependencies
|
||||
|
||||
* Thu Sep 16 2021 Joel Capitao <jcapitao@redhat.com> - 1.7.1-2
|
||||
- Add the dist tag again
|
||||
|
||||
* Mon Sep 13 2021 Joel Capitao <jcapitao@redhat.com> - 1.7.1-1
|
||||
- Update to 1.7.1. Fixes rhbz#1999176
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Sat Jun 12 2021 Kevin Fenzi <kevin@scrye.com> - 1.6.5-1
|
||||
- Update to 1.6.5. Fixes rhbz#1964163
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.6.3-2
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Sat May 22 2021 Kevin Fenzi <kevin@scrye.com> - 1.6.3-1
|
||||
- Update to 1.6.3. Fixes rhbz#1957878
|
||||
|
||||
* Tue May 04 2021 Kevin Fenzi <kevin@scrye.com> - 1.6.0-1
|
||||
- Update to 1.6.0. Fixes rhbz#1956482
|
||||
|
||||
* Sat Mar 27 2021 Kevin Fenzi <kevin@scrye.com> - 1.5.8-1
|
||||
- Update to 1.5.8. Fixes rhbz#1935790
|
||||
|
||||
* Mon Feb 22 2021 Kevin Fenzi <kevin@scrye.com> - 1.5.5-1
|
||||
- Update to 1.5.5. Fixes rhbz#1931142
|
||||
|
||||
* Fri Feb 12 2021 Kevin Fenzi <kevin@scrye.com> - 1.5.3-1
|
||||
- Update to 1.5.3. Fixes rhbz#1922496
|
||||
|
||||
* Thu Jan 28 2021 Kevin Fenzi <kevin@scrye.com> - 1.5.0-1
|
||||
- Update to 1.5.0. Fixes rhbz#1917596
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Nov 19 2020 Joel Capitao <jcapitao@redhat.com> - 1.4.3-1
|
||||
- Update to 1.4.3 (rhbz#1878203)
|
||||
|
||||
* Thu Aug 20 2020 Merlin Mathesius <mmathesi@redhat.com> - 1.4.2-5
|
||||
- Correct macro usage to fix Rawhide and ELN FTBFS errors
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (alembic-1.4.2.tar.gz) = 82bdfe442c19033aa2b802ec49edd13ed265c00a2b5a048490a83ffa8e53587c56a90b64d554e746a9189923419c528482cb7a7c950c210e0de47b32fa7c270e
|
||||
SHA512 (alembic-1.7.5.tar.gz) = 4223116c3610f3196335c1fb2032a9a236c3e6ec4e4ca5cb85ccc3667d614e77d51d9fee1ee0173a32451198929428c1fcf39afd90b6df32584b076e0a4ab1a4
|
||||
|
Loading…
Reference in New Issue
Block a user