Drop no longer used runtime dependency on attrs
This commit is contained in:
parent
b65a136c52
commit
b8c8be55fa
31
0001-Drop-no-longer-used-runtime-dependency-on-attrs.patch
Normal file
31
0001-Drop-no-longer-used-runtime-dependency-on-attrs.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From a37b6f58ce9fa270848bd805f3f05ea03f0ae10e Mon Sep 17 00:00:00 2001
|
||||||
|
From: Stanislav Levin <slev@altlinux.org>
|
||||||
|
Date: Fri, 30 Sep 2022 14:45:33 +0300
|
||||||
|
Subject: [PATCH] Drop no longer used runtime dependency on attrs
|
||||||
|
|
||||||
|
The last usage of attrs has been dropped in 22b12e7, but
|
||||||
|
attrs is still marked as runtime dependency in pyproject.toml.
|
||||||
|
|
||||||
|
Fixes: https://github.com/p1c2u/openapi-schema-validator/issues/53
|
||||||
|
Signed-off-by: Stanislav Levin <slev@altlinux.org>
|
||||||
|
|
||||||
|
Reference: https://github.com/python-openapi/openapi-schema-validator/commit/a37b6f58ce9fa270848bd805f3f05ea03f0ae10e
|
||||||
|
---
|
||||||
|
pyproject.toml | 1 -
|
||||||
|
1 file changed, 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index 6269156..499fb44 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -56,7 +56,6 @@ jsonschema = "^4.0.0"
|
||||||
|
rfc3339-validator = {version = "*", optional = true}
|
||||||
|
strict-rfc3339 = {version = "*", optional = true}
|
||||||
|
isodate = {version = "*", optional = true}
|
||||||
|
-attrs = ">=19.2.0"
|
||||||
|
|
||||||
|
[tool.poetry.extras]
|
||||||
|
rfc3339-validator = ["rfc3339-validator"]
|
||||||
|
--
|
||||||
|
2.18.2
|
||||||
|
|
||||||
@ -1,13 +1,14 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: openapi-schema-validator
|
Name: openapi-schema-validator
|
||||||
Version: 0.3.4
|
Version: 0.3.4
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: OpenAPI schema validation for Python
|
Summary: OpenAPI schema validation for Python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/p1c2u/openapi-schema-validator
|
URL: https://github.com/p1c2u/openapi-schema-validator
|
||||||
Source0: https://files.pythonhosted.org/packages/65/be/7d6fd03612863dd597e6411b8b77593e13f9d33231ac3964342c2715ca80/openapi-schema-validator-0.3.4.tar.gz
|
Source0: https://files.pythonhosted.org/packages/65/be/7d6fd03612863dd597e6411b8b77593e13f9d33231ac3964342c2715ca80/openapi-schema-validator-0.3.4.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
Patch0001: 0001-Drop-no-longer-used-runtime-dependency-on-attrs.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Openapi-schema-validator is a Python library that validates schema against the OpenAPI
|
Openapi-schema-validator is a Python library that validates schema against the OpenAPI
|
||||||
@ -70,6 +71,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 09 2024 lixiaoyong <lixiaoyong@kylinos.cn> - 0.3.4-2
|
||||||
|
- Drop no longer used runtime dependency on attrs
|
||||||
|
|
||||||
* Mon Nov 21 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.3.4-1
|
* Mon Nov 21 2022 wangjunqi <wangjunqi@kylinos.cn> - 0.3.4-1
|
||||||
- Update package to version 0.3.4
|
- Update package to version 0.3.4
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user