tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.sqlalchemy-utils: 0.38.2 -> 0.38.3
Martin Weinelt
3 years ago
f77427b1
c5539bc5
+8
-6
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
sqlalchemy-utils
default.nix
skip-database-tests.patch
+2
-2
pkgs/development/python-modules/sqlalchemy-utils/default.nix
···
17
17
18
18
buildPythonPackage rec {
19
19
pname = "sqlalchemy-utils";
20
20
-
version = "0.38.2";
20
20
+
version = "0.38.3";
21
21
22
22
src = fetchPypi {
23
23
inherit version;
24
24
pname = "SQLAlchemy-Utils";
25
25
-
sha256 = "9e01d6d3fb52d3926fcd4ea4a13f3540701b751aced0316bff78264402c2ceb4";
25
25
+
sha256 = "sha256-n5r7pgekBFXPcDrfqYRlhL8mFooMWmCnAGO3DWUFH00=";
26
26
};
27
27
28
28
patches = [
+6
-4
pkgs/development/python-modules/sqlalchemy-utils/skip-database-tests.patch
···
2
2
index 9e146cd..8dbc9a5 100644
3
3
--- a/conftest.py
4
4
+++ b/conftest.py
5
5
-
@@ -61,16 +61,12 @@ def mysql_db_user():
5
5
+
@@ -61,17 +61,12 @@ def mysql_db_user():
6
6
7
7
@pytest.fixture
8
8
-
def postgresql_dsn(postgresql_db_user, postgresql_db_password, db_name):
9
9
-
- return 'postgresql://{0}:{1}@localhost/{2}'.format(
8
8
+
def postgresql_dsn(postgresql_db_user, postgresql_db_password, postgresql_db_host,
9
9
+
db_name):
10
10
+
- return 'postgresql://{0}:{1}@{2}/{3}'.format(
10
11
- postgresql_db_user,
11
12
- postgresql_db_password,
13
13
+
- postgresql_db_host,
12
14
- db_name
13
15
- )
14
16
+ pytest.skip()
···
68
70
'TEMPLATE "my-template"') in str(excinfo.value)
69
71
70
72
71
71
-
-class TestDatabasePostgresCreateDatabaseCloseConnection(object):
73
73
+
-class TestDatabasePostgresCreateDatabaseCloseConnection:
72
74
- def test_create_database_twice(
73
75
- self,
74
76
- postgresql_db_user,