#3 BuildRequires: python3dist(dataclasses) on el8
Closed 6 months ago by gotmax23. Opened 2 years ago by ktdreyer.
rpms/ ktdreyer/python-pydantic br-dataclasses  into  rawhide

file modified
+3
@@ -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

2 years ago

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

6 months ago
Metadata