| |
@@ -16,7 +16,7 @@
|
| |
aiosqlite
|
| |
|
| |
Name: python-sqlalchemy
|
| |
- Version: 1.4.48
|
| |
+ Version: 2.0.17
|
| |
# cope with pre-release versions containing tildes
|
| |
%global srcversion %{lua: srcversion, num = rpm.expand("%{version}"):gsub("~", ""); print(srcversion);}
|
| |
Release: %autorelease
|
| |
@@ -28,9 +28,11 @@
|
| |
|
| |
BuildRequires: gcc
|
| |
BuildRequires: python3-devel >= 3.6
|
| |
+ BuildRequires: python3-Cython
|
| |
BuildRequires: python3-greenlet >= 1.0
|
| |
BuildRequires: python3-setuptools
|
| |
BuildRequires: python3-pytest
|
| |
+ BuildRequires: python3-typing-extensions
|
| |
%if %{with xdist}
|
| |
BuildRequires: python3-pytest-xdist
|
| |
%endif
|
| |
@@ -78,6 +80,8 @@
|
| |
|
| |
# remove unnecessary scripts for building documentation
|
| |
rm -rf doc/build
|
| |
+ # remove unnecessary mypy tests
|
| |
+ rm -rf test/ext/mypy
|
| |
|
| |
%check
|
| |
%pytest test \
|
| |