python3Packages.sqlbag: drop support for python 2.7

sqlbag: fix
This commit is contained in:
Sigmanificient
2024-05-13 01:01:03 +02:00
parent c578b44ad2
commit a0a71fbb55

View File

@@ -1,11 +1,9 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, isPy27
, psycopg2 , psycopg2
, pymysql , pymysql
, sqlalchemy , sqlalchemy
, pathlib
, six , six
, flask , flask
, pendulum , pendulum
@@ -17,7 +15,6 @@
, pytest-sugar , pytest-sugar
, postgresql , postgresql
, postgresqlTestHook , postgresqlTestHook
,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sqlbag"; pname = "sqlbag";
@@ -46,8 +43,7 @@ buildPythonPackage rec {
pymysql pymysql
setuptools # needed for 'pkg_resources' setuptools # needed for 'pkg_resources'
] ];
++ lib.optional isPy27 pathlib;
nativeCheckInputs = [ nativeCheckInputs = [
pytestCheckHook pytestCheckHook