e7a1052
@@ -13,6 +13,9 @@
# For check phase
BuildRequires: python3-mypy
BuildRequires: python3dist(pytest)
+ %if 0%{?el8}
+ BuildRequires: python3dist(dataclasses)
+ %endif
%description
Data validation and settings management using python type hinting.
Python 3.7 includes dataclasses in the standard library, but Python 3.6 needs the standalone backport package.
This change allows us to build pydantic for epel8.
rebased onto e7a1052
I'll close this for now. This patch no longer applies, we don't build pydantic on el8, and the current specfile is incompatible with el8 to begin with. Thanks!
Pull-Request has been closed by gotmax23
Python 3.7 includes dataclasses in the standard library, but Python 3.6 needs the standalone backport package.
This change allows us to build pydantic for epel8.