Drop workarounds for Python 3.10 and older
This commit is contained in:
parent
ed346894d1
commit
62bda0b241
@ -6,10 +6,7 @@ from argparse import ArgumentParser, FileType, RawDescriptionHelpFormatter
|
||||
from pathlib import Path
|
||||
from sys import exit, stderr
|
||||
|
||||
try:
|
||||
import tomllib
|
||||
except ImportError:
|
||||
import tomli as tomllib
|
||||
import tomllib
|
||||
|
||||
|
||||
def main():
|
||||
|
@ -71,7 +71,6 @@ BuildRequires: gcc-c++
|
||||
|
||||
# For check-null-licenses
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: (python3dist(tomli) if python3 < 3.11)
|
||||
|
||||
%description
|
||||
This project is a port of http_parser to TypeScript. llparse is used to
|
||||
|
Loading…
Reference in New Issue
Block a user