Don't import deprecated module
Signed-off-by: zhang-liang-pengkun <zhangliangpengkun@xfusion.com>
This commit is contained in:
parent
3832749ddc
commit
59bc710be0
28
0003-Don-t-import-deprecated-module.patch
Normal file
28
0003-Don-t-import-deprecated-module.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From 96bb1c2ae28333046e2a81f9dfcc1e21aa7624d2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jeff Forcier <jeff@bitprophet.org>
|
||||||
|
Date: Thu, 8 Sep 2022 17:41:11 -0400
|
||||||
|
Subject: [PATCH] Don't import deprecated module
|
||||||
|
|
||||||
|
---
|
||||||
|
tasks.py | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tasks.py b/tasks.py
|
||||||
|
index b15ee74..b3358e5 100644
|
||||||
|
--- a/tasks.py
|
||||||
|
+++ b/tasks.py
|
||||||
|
@@ -1,9 +1,9 @@
|
||||||
|
from invoke import Collection
|
||||||
|
-from invocations import docs, travis, checks
|
||||||
|
+from invocations import docs, checks
|
||||||
|
from invocations.packaging import release
|
||||||
|
|
||||||
|
|
||||||
|
-ns = Collection(release, docs, travis, checks.blacken)
|
||||||
|
+ns = Collection(release, docs, checks.blacken)
|
||||||
|
ns.configure(
|
||||||
|
{
|
||||||
|
"packaging": {
|
||||||
|
--
|
||||||
|
2.39.0.windows.2
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
name: python-sphinx-theme-alabaster
|
name: python-sphinx-theme-alabaster
|
||||||
Version: 0.7.12
|
Version: 0.7.12
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Configurable sidebar-enabled Sphinx theme
|
Summary: Configurable sidebar-enabled Sphinx theme
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -8,6 +8,7 @@ URL: https://pypi.python.org/pypi/alabaster
|
|||||||
Source0: https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f83c4d5463a7614cb1d078ad7ae890c9143edebbf072/alabaster-0.7.12.tar.gz
|
Source0: https://files.pythonhosted.org/packages/cc/b4/ed8dcb0d67d5cfb7f83c4d5463a7614cb1d078ad7ae890c9143edebbf072/alabaster-0.7.12.tar.gz
|
||||||
Patch0001: 0001-Declare-support-for-Python-3.8-only.patch
|
Patch0001: 0001-Declare-support-for-Python-3.8-only.patch
|
||||||
Patch0002: 0002-Nix-setup.cfg.patch
|
Patch0002: 0002-Nix-setup.cfg.patch
|
||||||
|
Patch0003: 0003-Don-t-import-deprecated-module.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-devel python2-setuptools
|
BuildRequires: python2-devel python2-setuptools
|
||||||
@ -66,6 +67,9 @@ rm -rf alabaster.egg-info
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 28 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-4
|
||||||
|
- Don't import deprecated module
|
||||||
|
|
||||||
* Tue Dec 05 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-3
|
* Tue Dec 05 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 0.7.12-3
|
||||||
- Nix setup.cfg
|
- Nix setup.cfg
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user