Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-agate-sql for
openSUSE:Factory checked in at 2021-03-05 13:49:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-agate-sql (Old)
and /work/SRC/openSUSE:Factory/.python-agate-sql.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-agate-sql"
Fri Mar 5 13:49:17 2021 rev:6 rq:876972 version:0.5.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-agate-sql/python-agate-sql.changes
2021-02-22 14:40:34.860632340 +0100
+++
/work/SRC/openSUSE:Factory/.python-agate-sql.new.2378/python-agate-sql.changes
2021-03-05 13:51:32.683967922 +0100
@@ -1,0 +2,6 @@
+Fri Mar 5 09:57:08 UTC 2021 - Matej Cepl <[email protected]>
+
+- Update to 0.5.6:
+ - Fix test that fails in specific environments.
+
+-------------------------------------------------------------------
Old:
----
0.5.5.tar.gz
New:
----
0.5.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-agate-sql.spec ++++++
--- /var/tmp/diff_new_pack.r2gllj/_old 2021-03-05 13:51:33.259968476 +0100
+++ /var/tmp/diff_new_pack.r2gllj/_new 2021-03-05 13:51:33.263968480 +0100
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-agate-sql
-Version: 0.5.5
+Version: 0.5.6
Release: 0
Summary: SQL read/write support for agate
License: MIT
@@ -58,8 +58,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-# gh#wireservice/agate-sql#33
-%pytest -k 'not test_to_sql_create_statement_with_schema'
+%pytest
%files %{python_files}
%doc AUTHORS.rst README.rst CHANGELOG.rst
++++++ 0.5.5.tar.gz -> 0.5.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/agate-sql-0.5.5/.gitignore
new/agate-sql-0.5.6/.gitignore
--- old/agate-sql-0.5.5/.gitignore 2020-07-07 20:06:43.000000000 +0200
+++ new/agate-sql-0.5.6/.gitignore 2021-03-05 01:29:48.000000000 +0100
@@ -2,7 +2,6 @@
*.pyc
*.swp
*.swo
-.tox
*.egg-info
docs/_build
dist
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/agate-sql-0.5.5/.travis.yml
new/agate-sql-0.5.6/.travis.yml
--- old/agate-sql-0.5.5/.travis.yml 2020-07-07 20:06:43.000000000 +0200
+++ new/agate-sql-0.5.6/.travis.yml 2021-03-05 01:29:48.000000000 +0100
@@ -3,9 +3,6 @@
python:
- "3.6"
- "3.7"
-# command to install dependencies
-install:
- - if [[ $TRAVIS_PYTHON_VERSION == 3* ]]; then pip install -r
requirements-py3.txt; else pip install -r requirements-py2.txt; fi
-# command to run tests
+install: pip install .[test]
script: nosetests tests
sudo: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/agate-sql-0.5.5/CHANGELOG.rst
new/agate-sql-0.5.6/CHANGELOG.rst
--- old/agate-sql-0.5.5/CHANGELOG.rst 2020-07-07 20:06:43.000000000 +0200
+++ new/agate-sql-0.5.6/CHANGELOG.rst 2021-03-05 01:29:48.000000000 +0100
@@ -1,3 +1,6 @@
+0.5.6
+-----
+
0.5.5 - July 7, 2020
--------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/agate-sql-0.5.5/docs/conf.py
new/agate-sql-0.5.6/docs/conf.py
--- old/agate-sql-0.5.5/docs/conf.py 2020-07-07 20:06:43.000000000 +0200
+++ new/agate-sql-0.5.6/docs/conf.py 2021-03-05 01:29:48.000000000 +0100
@@ -54,9 +54,9 @@
# built documents.
#
# The short X.Y version.
-version = '0.5.5'
+version = '0.5.6'
# The full version, including alpha/beta/rc tags.
-release = '0.5.5'
+release = '0.5.6'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/agate-sql-0.5.5/requirements-py3.txt
new/agate-sql-0.5.6/requirements-py3.txt
--- old/agate-sql-0.5.5/requirements-py3.txt 2020-07-07 20:06:43.000000000
+0200
+++ new/agate-sql-0.5.6/requirements-py3.txt 1970-01-01 01:00:00.000000000
+0100
@@ -1,8 +0,0 @@
-crate
-nose>=1.1.2
-tox>=1.3
-Sphinx>=1.2.2
-sphinx_rtd_theme>=0.1.6
-wheel>=0.24.0
-agate>=1.5.0
-sqlalchemy>=1.0.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/agate-sql-0.5.5/setup.py new/agate-sql-0.5.6/setup.py
--- old/agate-sql-0.5.5/setup.py 2020-07-07 20:06:43.000000000 +0200
+++ new/agate-sql-0.5.6/setup.py 2021-03-05 01:29:48.000000000 +0100
@@ -2,14 +2,9 @@
from setuptools import setup
-install_requires = [
- 'agate>=1.5.0',
- 'sqlalchemy>=1.0.8'
-]
-
setup(
name='agate-sql',
- version='0.5.5',
+ version='0.5.6',
description='agate-sql adds SQL read/write support to agate.',
long_description=open('README.rst').read(),
author='Christopher Groskopf',
@@ -36,5 +31,19 @@
packages=[
'agatesql'
],
- install_requires=install_requires
+ install_requires=[
+ 'agate>=1.5.0',
+ 'sqlalchemy>=1.0.8'
+ ],
+ extras_require={
+ 'test': [
+ 'crate',
+ 'nose>=1.1.2',
+ 'geojson',
+ ],
+ 'docs': [
+ 'Sphinx>=1.2.2',
+ 'sphinx_rtd_theme>=0.1.6',
+ ],
+ }
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/agate-sql-0.5.5/tests/test_agatesql.py
new/agate-sql-0.5.6/tests/test_agatesql.py
--- old/agate-sql-0.5.5/tests/test_agatesql.py 2020-07-07 20:06:43.000000000
+0200
+++ new/agate-sql-0.5.6/tests/test_agatesql.py 2021-03-05 01:29:48.000000000
+0100
@@ -18,7 +18,7 @@
)
self.column_names = [
- 'number', 'text', 'boolean', 'date', 'datetime',
+ 'number', 'textcol', 'boolean', 'date', 'datetime',
]
self.column_types = [
@@ -107,7 +107,7 @@
self.assertEqual(statement.replace('\t', ' '), '''CREATE TABLE
test_table (
number DECIMAL,
- text VARCHAR NOT NULL,
+ textcol VARCHAR NOT NULL,
boolean BOOLEAN,
date DATE,
datetime TIMESTAMP
@@ -118,22 +118,22 @@
self.assertEqual(statement.replace('\t', ' '), '''CREATE TABLE
test_table (
number DECIMAL,
- text VARCHAR,
+ textcol VARCHAR,
boolean BOOLEAN,
date DATE,
datetime TIMESTAMP
);''') # noqa
def test_to_sql_create_statement_unique_constraint(self):
- statement = self.table.to_sql_create_statement('test_table',
unique_constraint=['number', 'text'])
+ statement = self.table.to_sql_create_statement('test_table',
unique_constraint=['number', 'textcol'])
self.assertEqual(statement.replace('\t', ' '), '''CREATE TABLE
test_table (
number DECIMAL,
- text VARCHAR NOT NULL,
+ textcol VARCHAR NOT NULL,
boolean BOOLEAN,
date DATE,
datetime TIMESTAMP,
- UNIQUE (number, text)
+ UNIQUE (number, textcol)
);''') # noqa
def test_to_sql_create_statement_with_schema(self):
@@ -141,7 +141,7 @@
self.assertEqual(statement.replace('\t', ' '), '''CREATE TABLE
test_schema.test_table (
number DECIMAL(38, 3),
- text VARCHAR(1) NOT NULL,
+ textcol VARCHAR(1) NOT NULL,
boolean BOOL,
date DATE,
datetime TIMESTAMP NULL,
@@ -188,7 +188,7 @@
constraints=True,
col_len_multiplier=1.5)
- self.assertEquals(sql_table.columns.get('name').type.length, 15)
+ self.assertEqual(sql_table.columns.get('name').type.length, 15)
def test_make_sql_table_min_col_len(self):
rows = ((1, 'x' * 10), (2, ''))
@@ -200,7 +200,7 @@
constraints=True,
min_col_len=20)
- self.assertEquals(sql_table.columns.get('name').type.length, 20)
+ self.assertEqual(sql_table.columns.get('name').type.length, 20)
def test_sql_query_simple(self):
results = self.table.sql_query('select * from agate')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/agate-sql-0.5.5/tox.ini new/agate-sql-0.5.6/tox.ini
--- old/agate-sql-0.5.5/tox.ini 2020-07-07 20:06:43.000000000 +0200
+++ new/agate-sql-0.5.6/tox.ini 1970-01-01 01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-[tox]
-envlist = py36,py37,pypy
-
-[testenv]
-commands = nosetests
-
-[testenv:py36]
-deps = -rrequirements-py3.txt
-
-[testenv:py37]
-deps = {[testenv:py36]deps}
-
-[testenv:pypy]
-deps = {[testenv:py36]deps}
++++++ python-agate-sql-no-crate.patch ++++++
--- /var/tmp/diff_new_pack.r2gllj/_old 2021-03-05 13:51:33.351968564 +0100
+++ /var/tmp/diff_new_pack.r2gllj/_new 2021-03-05 13:51:33.351968564 +0100
@@ -1,7 +1,5 @@
-Index: agate-sql-0.5.4/tests/test_agatesql.py
-===================================================================
---- agate-sql-0.5.4.orig/tests/test_agatesql.py 2019-03-16
17:22:33.000000000 +0100
-+++ agate-sql-0.5.4/tests/test_agatesql.py 2019-04-17 13:38:17.158819021
+0200
+--- a/tests/test_agatesql.py
++++ b/tests/test_agatesql.py
@@ -149,7 +149,7 @@ class TestSQL(agate.AgateTestCase):
);''') # noqa