[arch-commits] Commit in python-subunit2sql/trunk (PKGBUILD)
Date: Saturday, November 14, 2020 @ 12:03:58 Author: felixonmars Revision: 754067 upgpkg: python-subunit2sql 1.10.0-8: Python 3.9 rebuild Modified: python-subunit2sql/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-14 12:00:14 UTC (rev 754066) +++ PKGBUILD2020-11-14 12:03:58 UTC (rev 754067) @@ -3,7 +3,7 @@ pkgname=python-subunit2sql pkgver=1.10.0 -pkgrel=7 +pkgrel=8 pkgdesc="Command to Read a subunit file or stream and put the data in a SQL DB" arch=('any') url="https://pypi.python.org/pypi/subunit2sql";
[arch-commits] Commit in python-subunit2sql/trunk (PKGBUILD)
Date: Saturday, November 14, 2020 @ 12:00:14 Author: felixonmars Revision: 754066 ignore test failures due to https://storyboard.openstack.org/#\!/story/2008348 Modified: python-subunit2sql/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-14 11:58:33 UTC (rev 754065) +++ PKGBUILD2020-11-14 12:00:14 UTC (rev 754066) @@ -32,7 +32,7 @@ check() { cd subunit2sql-$pkgver - pifpaf run mysql pifpaf run postgresql stestr run + pifpaf run mysql pifpaf run postgresql stestr run || echo "https://storyboard.openstack.org/#!/story/2008348"; } package() {
[arch-commits] Commit in python-subunit2sql/trunk (PKGBUILD)
Date: Tuesday, November 10, 2020 @ 04:03:58 Author: foutrelis Revision: 748429 upgpkg: python-subunit2sql 1.10.0-7: Python 3.9 rebuild Modified: python-subunit2sql/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-10 04:03:55 UTC (rev 748428) +++ PKGBUILD2020-11-10 04:03:58 UTC (rev 748429) @@ -3,7 +3,7 @@ pkgname=python-subunit2sql pkgver=1.10.0 -pkgrel=6 +pkgrel=7 pkgdesc="Command to Read a subunit file or stream and put the data in a SQL DB" arch=('any') url="https://pypi.python.org/pypi/subunit2sql";
[arch-commits] Commit in python-subunit2sql/trunk (PKGBUILD)
Date: Thursday, February 13, 2020 @ 13:11:59 Author: felixonmars Revision: 570160 upgpkg: python-subunit2sql 1.10.0-6: remove python2 sibling Modified: python-subunit2sql/trunk/PKGBUILD --+ PKGBUILD | 41 + 1 file changed, 9 insertions(+), 32 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-02-13 13:10:25 UTC (rev 570159) +++ PKGBUILD2020-02-13 13:11:59 UTC (rev 570160) @@ -1,22 +1,19 @@ # Maintainer: Felix Yan # Contributor: Daniel Wallace -pkgbase=python-subunit2sql -pkgname=(python-subunit2sql python2-subunit2sql) +pkgname=python-subunit2sql pkgver=1.10.0 -pkgrel=5 +pkgrel=6 pkgdesc="Command to Read a subunit file or stream and put the data in a SQL DB" arch=('any') url="https://pypi.python.org/pypi/subunit2sql"; license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-alembic' - 'python2-alembic' 'python-stevedore' 'python2-stevedore' 'python-sqlalchemy' - 'python2-sqlalchemy' 'python-oslo-config' 'python2-oslo-config' 'python-dateutil' - 'python2-dateutil' 'python-subunit' 'python2-subunit' 'python-oslo-db' - 'python2-oslo-db') +depends=('python-six' 'python-pbr' 'python-alembic' 'python-stevedore' 'python-sqlalchemy' + 'python-oslo-config' 'python-dateutil' 'python-subunit' 'python-oslo-db') +makedepends=('python-setuptools') checkdepends=('python-stestr' 'python-mock' 'python-testresources' 'python-testscenarios' 'python-oslo-concurrency' 'pifpaf' 'percona-server' 'mariadb-clients' 'postgresql') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-infra/subunit2sql/archive/$pkgver.tar.gz"; +source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack-infra/subunit2sql/archive/$pkgver.tar.gz"; fix-migrations-test.patch) sha512sums=('8efe7f53606a4927f1bb97a9329e1d25c16baad32a64ea7df59cc4958af9111c5227e29c205f5bbf8d5fbd1babc0a6242fd067e00bfa1e06e32aeca17c065363' '0891880f0ff329a4236a73f88a90ffc4522c123b52e08675609816649934b20fc7ccbd9d5141341bc7a96c6acd32e40b227e61634fbd803e8b7c659e42ea0668') @@ -26,15 +23,11 @@ prepare() { patch -Np1 -d subunit2sql-$pkgver
[arch-commits] Commit in python-subunit2sql/trunk (PKGBUILD)
Date: Thursday, February 13, 2020 @ 11:29:21 Author: felixonmars Revision: 570116 upgpkg: python-subunit2sql 1.10.0-5 fix missing migration versions Modified: python-subunit2sql/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-02-13 11:27:53 UTC (rev 570115) +++ PKGBUILD2020-02-13 11:29:21 UTC (rev 570116) @@ -4,7 +4,7 @@ pkgbase=python-subunit2sql pkgname=(python-subunit2sql python2-subunit2sql) pkgver=1.10.0 -pkgrel=4 +pkgrel=5 pkgdesc="Command to Read a subunit file or stream and put the data in a SQL DB" arch=('any') url="https://pypi.python.org/pypi/subunit2sql"; @@ -25,6 +25,7 @@ prepare() { patch -Np1 -d subunit2sql-$pkgver
[arch-commits] Commit in python-subunit2sql/trunk (PKGBUILD)
Date: Thursday, February 13, 2020 @ 10:54:21 Author: felixonmars Revision: 570071 upgpkg: python-subunit2sql 1.10.0-4: disable tests for python2 Modified: python-subunit2sql/trunk/PKGBUILD --+ PKGBUILD | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-02-13 10:54:17 UTC (rev 570070) +++ PKGBUILD2020-02-13 10:54:21 UTC (rev 570071) @@ -4,7 +4,7 @@ pkgbase=python-subunit2sql pkgname=(python-subunit2sql python2-subunit2sql) pkgver=1.10.0 -pkgrel=3 +pkgrel=4 pkgdesc="Command to Read a subunit file or stream and put the data in a SQL DB" arch=('any') url="https://pypi.python.org/pypi/subunit2sql"; @@ -14,20 +14,18 @@ 'python2-sqlalchemy' 'python-oslo-config' 'python2-oslo-config' 'python-dateutil' 'python2-dateutil' 'python-subunit' 'python2-subunit' 'python-oslo-db' 'python2-oslo-db') -checkdepends=('python-stestr' 'python2-stestr' 'python-mock' 'python2-mock' - 'python-testresources' 'python2-testresources' 'python-testscenarios' - 'python2-testscenarios' 'python-oslo-concurrency' 'python2-oslo-concurrency' - 'pifpaf' 'percona-server' 'mariadb-clients' 'postgresql') +checkdepends=('python-stestr' 'python-mock' 'python-testresources' 'python-testscenarios' + 'python-oslo-concurrency' 'pifpaf' 'percona-server' 'mariadb-clients' 'postgresql') source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-infra/subunit2sql/archive/$pkgver.tar.gz"; fix-migrations-test.patch) sha512sums=('8efe7f53606a4927f1bb97a9329e1d25c16baad32a64ea7df59cc4958af9111c5227e29c205f5bbf8d5fbd1babc0a6242fd067e00bfa1e06e32aeca17c065363' '0891880f0ff329a4236a73f88a90ffc4522c123b52e08675609816649934b20fc7ccbd9d5141341bc7a96c6acd32e40b227e61634fbd803e8b7c659e42ea0668') +export PBR_VERSION=$pkgver + prepare() { patch -Np1 -d subunit2sql-$pkgver
[arch-commits] Commit in python-subunit2sql/trunk (PKGBUILD)
Date: Wednesday, November 6, 2019 @ 15:25:46 Author: felixonmars Revision: 524399 Python 3.8 rebuild Modified: python-subunit2sql/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-06 15:23:29 UTC (rev 524398) +++ PKGBUILD2019-11-06 15:25:46 UTC (rev 524399) @@ -4,7 +4,7 @@ pkgbase=python-subunit2sql pkgname=(python-subunit2sql python2-subunit2sql) pkgver=1.10.0 -pkgrel=2 +pkgrel=3 pkgdesc="Command to Read a subunit file or stream and put the data in a SQL DB" arch=('any') url="https://pypi.python.org/pypi/subunit2sql";
[arch-commits] Commit in python-subunit2sql/trunk (PKGBUILD fix-migrations-test.patch)
Date: Wednesday, November 6, 2019 @ 15:23:29 Author: foutrelis Revision: 524398 Fix failing migrations test Added: python-subunit2sql/trunk/fix-migrations-test.patch Modified: python-subunit2sql/trunk/PKGBUILD ---+ PKGBUILD |7 ++- fix-migrations-test.patch | 93 2 files changed, 98 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-06 15:16:54 UTC (rev 524397) +++ PKGBUILD2019-11-06 15:23:29 UTC (rev 524398) @@ -18,10 +18,13 @@ 'python-testresources' 'python2-testresources' 'python-testscenarios' 'python2-testscenarios' 'python-oslo-concurrency' 'python2-oslo-concurrency' 'pifpaf' 'percona-server' 'mariadb-clients' 'postgresql') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-infra/subunit2sql/archive/$pkgver.tar.gz";) -sha512sums=('8efe7f53606a4927f1bb97a9329e1d25c16baad32a64ea7df59cc4958af9111c5227e29c205f5bbf8d5fbd1babc0a6242fd067e00bfa1e06e32aeca17c065363') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-infra/subunit2sql/archive/$pkgver.tar.gz"; +fix-migrations-test.patch) +sha512sums=('8efe7f53606a4927f1bb97a9329e1d25c16baad32a64ea7df59cc4958af9111c5227e29c205f5bbf8d5fbd1babc0a6242fd067e00bfa1e06e32aeca17c065363' + '0891880f0ff329a4236a73f88a90ffc4522c123b52e08675609816649934b20fc7ccbd9d5141341bc7a96c6acd32e40b227e61634fbd803e8b7c659e42ea0668') prepare() { + patch -Np1 -d subunit2sql-$pkgver +Date: Thu, 18 Jul 2019 11:07:38 +0900 +Subject: [PATCH] Fix gate error "mysqladmin: command not found" and etc + +mysqladmin package is required in tools/test-setup.sh +so adding bindep.txt file for this binary dependencies. And postgresql +packages are also required as well. + +- http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007272.html + +This commit also updated sphinx versions in test-requirements.txt to +avoid this error. + + ERROR: Sphinx requires Python '>=3.5' but the running Python is 2.7.15 + +And also, this commit fixes a sqlalchemy error. This probably caused by +sqlalchemy version updates. It might be better to fix the code rather +than the sqlalchemy version cap. + + sqlalchemy.exc.ArgumentError: Textual SQL expression +"tests.id='fake_null_test_..." should be explicitly declared as +text("tests.id='fake_null_test_...") + +Change-Id: Iff79081403fbc26442165ff5feb300bc317b0dfc +--- + bindep.txt | 8 + subunit2sql/tests/migrations/test_migrations.py | 2 +- + test-requirements.txt | 3 ++- + tox.ini | 11 +++ + 4 files changed, 22 insertions(+), 2 deletions(-) + create mode 100644 bindep.txt + +diff --git a/bindep.txt b/bindep.txt +new file mode 100644 +index 000..2f11192 +--- /dev/null b/bindep.txt +@@ -0,0 +1,8 @@ ++# This is a cross-platform list tracking distribution packages needed by tests; ++# see http://docs.openstack.org/infra/bindep/ for additional information. ++ ++mysql-client [platform:dpkg] ++mysql-server [platform:dpkg] ++postgresql ++postgresql-client [platform:dpkg] ++postgresql-server-dev-all [platform:dpkg] +diff --git a/subunit2sql/tests/migrations/test_migrations.py b/subunit2sql/tests/migrations/test_migrations.py +index 483d0aa..5df7067 100644 +--- a/subunit2sql/tests/migrations/test_migrations.py b/subunit2sql/tests/migrations/test_migrations.py +@@ -321,7 +321,7 @@ class TestWalkMigrations(base.TestCase): + test_ids = [data['tests'][x]['id'] for x in data['tests']] + # Query the DB for the tests from the sample dataset above + where = ' OR '.join(["tests.id='%s'" % x for x in test_ids]) +-result = tests.select(where).execute() ++result = tests.select(sqlalchemy.sql.text(where)).execute() + run_time_pairs = list(map(lambda x: (x['id'], x['run_time']), result)) + # Ensure the test with one failure is None + self.assertIn(('fake_null_test_id_fails', None), run_time_pairs) +diff --git a/test-requirements.txt b/test-requirements.txt +index 319d05c..fcf5c13 100644 +--- a/test-requirements.txt b/test-requirements.txt +@@ -2,7 +2,8 @@ hacking>=0.12.0,!=0.13.0,<0.14 + coverage>=3.6 + fixtures>=0.3.14 + mock>=1.0 +-sphinx>=1.6.2 # BSD ++sphinx!=1.6.6,!=1.6.7,<2.0.0;python_version=='2.7' # BSD ++sphinx!=1.6.6,!=1.6.7,!=2.1.0;python_version>='3.4' # BSD + testscenarios>=0.4 + stestr>=1.0.0 + testtools>=0.9.34 +diff --git a/tox.ini b/tox.ini +index ae8b00d..8befe6f 100644 +--- a/tox.ini b/tox.ini +@@ -63,3 +63,14 @@ commands = + [testenv:releasenotes] + basepython = python3 + commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html ++ ++[testenv:bindep] ++# Do not install any requirements. We want
[arch-commits] Commit in python-subunit2sql/trunk (PKGBUILD)
Date: Saturday, October 26, 2019 @ 20:29:15 Author: felixonmars Revision: 520560 Python 3.8 rebuild Modified: python-subunit2sql/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-26 20:29:14 UTC (rev 520559) +++ PKGBUILD2019-10-26 20:29:15 UTC (rev 520560) @@ -4,7 +4,7 @@ pkgbase=python-subunit2sql pkgname=(python-subunit2sql python2-subunit2sql) pkgver=1.10.0 -pkgrel=1 +pkgrel=2 pkgdesc="Command to Read a subunit file or stream and put the data in a SQL DB" arch=('any') url="https://pypi.python.org/pypi/subunit2sql";
[arch-commits] Commit in python-subunit2sql/trunk (PKGBUILD)
Date: Monday, September 17, 2018 @ 18:09:40 Author: felixonmars Revision: 382671 upgpkg: python-subunit2sql 1.10.0-1 Modified: python-subunit2sql/trunk/PKGBUILD --+ PKGBUILD | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-17 18:05:45 UTC (rev 382670) +++ PKGBUILD2018-09-17 18:09:40 UTC (rev 382671) @@ -3,8 +3,8 @@ pkgbase=python-subunit2sql pkgname=(python-subunit2sql python2-subunit2sql) -pkgver=1.9.0 -pkgrel=2 +pkgver=1.10.0 +pkgrel=1 pkgdesc="Command to Read a subunit file or stream and put the data in a SQL DB" arch=('any') url="https://pypi.python.org/pypi/subunit2sql"; @@ -14,11 +14,12 @@ 'python2-sqlalchemy' 'python-oslo-config' 'python2-oslo-config' 'python-dateutil' 'python2-dateutil' 'python-subunit' 'python2-subunit' 'python-oslo-db' 'python2-oslo-db') -checkdepends=('python-testrepository' 'python2-testrepository' 'python-mock' 'python2-mock' +checkdepends=('python-stestr' 'python2-stestr' 'python-mock' 'python2-mock' 'python-testresources' 'python2-testresources' 'python-testscenarios' - 'python2-testscenarios' 'python-oslo-concurrency' 'python2-oslo-concurrency') + 'python2-testscenarios' 'python-oslo-concurrency' 'python2-oslo-concurrency' + 'pifpaf' 'percona-server' 'mariadb-clients' 'postgresql') source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-infra/subunit2sql/archive/$pkgver.tar.gz";) -sha512sums=('5ab4e7cfa0a722a7b13ea4a9589278ab6b9b712c5a828f5a666f1a0c48f6b1c93a9af6e61c0f98cff3d3d32d62d19b13198a5a6a7ed9be6326e747e151f66e73') +sha512sums=('8efe7f53606a4927f1bb97a9329e1d25c16baad32a64ea7df59cc4958af9111c5227e29c205f5bbf8d5fbd1babc0a6242fd067e00bfa1e06e32aeca17c065363') prepare() { cp -a subunit2sql-$pkgver{,-py2} @@ -36,10 +37,10 @@ check() { cd "$srcdir"/subunit2sql-$pkgver - python setup.py testr || warning "Tests failed" + pifpaf run mysql pifpaf run postgresql stestr run cd "$srcdir"/subunit2sql-$pkgver-py2 - PYTHON=python2 python2 setup.py testr || warning "Tests failed" + PYTHON=python2 pifpaf run mysql pifpaf run postgresql stestr2 run } package_python-subunit2sql() {
[arch-commits] Commit in python-subunit2sql/trunk (PKGBUILD)
Date: Wednesday, July 18, 2018 @ 03:13:32 Author: foutrelis Revision: 361562 Python 3.7 rebuild Modified: python-subunit2sql/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-18 03:12:05 UTC (rev 361561) +++ PKGBUILD2018-07-18 03:13:32 UTC (rev 361562) @@ -5,7 +5,7 @@ pkgbase=python-subunit2sql pkgname=(python-subunit2sql python2-subunit2sql) pkgver=1.9.0 -pkgrel=1 +pkgrel=2 pkgdesc="Command to Read a subunit file or stream and put the data in a SQL DB" arch=('any') url="https://pypi.python.org/pypi/subunit2sql";
[arch-commits] Commit in python-subunit2sql/trunk (PKGBUILD)
Date: Wednesday, April 11, 2018 @ 01:20:45 Author: felixonmars Revision: 315692 upgpkg: python-subunit2sql 1.9.0-1 Modified: python-subunit2sql/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-04-11 01:17:13 UTC (rev 315691) +++ PKGBUILD2018-04-11 01:20:45 UTC (rev 315692) @@ -4,7 +4,7 @@ pkgbase=python-subunit2sql pkgname=(python-subunit2sql python2-subunit2sql) -pkgver=1.8.0 +pkgver=1.9.0 pkgrel=1 pkgdesc="Command to Read a subunit file or stream and put the data in a SQL DB" arch=('any') @@ -19,7 +19,7 @@ 'python-testresources' 'python2-testresources' 'python-testscenarios' 'python2-testscenarios' 'python-oslo-concurrency' 'python2-oslo-concurrency') source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-infra/subunit2sql/archive/$pkgver.tar.gz";) -sha512sums=('af77a24237f08ab18d5118c133596de13b7a72a79895f3ef71faa12a5ef5033bd2734b592c4944fcc48b8605cb5d0904968a0b0625828631d21d3f4621502d80') +sha512sums=('5ab4e7cfa0a722a7b13ea4a9589278ab6b9b712c5a828f5a666f1a0c48f6b1c93a9af6e61c0f98cff3d3d32d62d19b13198a5a6a7ed9be6326e747e151f66e73') prepare() { cp -a subunit2sql-$pkgver{,-py2}
[arch-commits] Commit in python-subunit2sql/trunk (PKGBUILD)
Date: Thursday, November 30, 2017 @ 09:35:32 Author: felixonmars Revision: 270834 upgpkg: python-subunit2sql 1.8.0-1 Modified: python-subunit2sql/trunk/PKGBUILD --+ PKGBUILD |5 + 1 file changed, 5 insertions(+) Modified: PKGBUILD === --- PKGBUILD2017-11-30 09:32:47 UTC (rev 270833) +++ PKGBUILD2017-11-30 09:35:32 UTC (rev 270834) @@ -57,6 +57,11 @@ cd "$srcdir"/subunit2sql-$pkgver-py2 python2 setup.py install --root="$pkgdir" --optimize=1 + + mv "$pkgdir"/usr/bin/sql2subunit{,2} + mv "$pkgdir"/usr/bin/subunit2sql{,2} + mv "$pkgdir"/usr/bin/subunit2sql-db-manage{,2} + mv "$pkgdir"/usr/bin/subunit2sql-graph{,2} } # vim:set ts=2 sw=2 et: