Update to 1.11.2 (Fixes RHBZ#2229186)
This commit is contained in:
parent
f0054b0d61
commit
12ec1e9db5
1
.gitignore
vendored
1
.gitignore
vendored
@ -45,3 +45,4 @@
|
|||||||
/alembic-1.9.3.tar.gz
|
/alembic-1.9.3.tar.gz
|
||||||
/alembic-1.10.4.tar.gz
|
/alembic-1.10.4.tar.gz
|
||||||
/alembic-1.11.1.tar.gz
|
/alembic-1.11.1.tar.gz
|
||||||
|
/alembic-1.11.2.tar.gz
|
||||||
|
@ -1,31 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
Name: python-alembic
|
Name: python-alembic
|
||||||
Version: 1.11.1
|
Version: 1.11.2
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
Summary: Database migration tool for SQLAlchemy
|
Summary: Database migration tool for SQLAlchemy
|
||||||
|
|
||||||
@ -8,10 +8,6 @@ License: MIT
|
|||||||
URL: https://pypi.io/project/alembic
|
URL: https://pypi.io/project/alembic
|
||||||
Source0: %{pypi_source 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
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: help2man
|
BuildRequires: help2man
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (alembic-1.11.1.tar.gz) = d068d581df952c2d304534218bd8f948407e288005514501816e60600b186bf03bcc60f485c4c6d5c80caf718210c2bf619f1758327bc592663f160c3bd21e65
|
SHA512 (alembic-1.11.2.tar.gz) = 7a3c2c723134d7d3048596dc7a98993edf737e09cea0b7df5cf5a05fbc37b9c7eb7fa28e4f1ce2adbb9c4683f838227b760feae148fbc617bc9fdd8e52c667c1
|
||||||
|
Loading…
Reference in New Issue
Block a user