Hello community, here is the log from the commit of package python-agate-sql for openSUSE:Factory checked in at 2020-11-11 20:48:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-agate-sql (Old) and /work/SRC/openSUSE:Factory/.python-agate-sql.new.26437 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-agate-sql" Wed Nov 11 20:48:34 2020 rev:4 rq:847907 version:0.5.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-agate-sql/python-agate-sql.changes 2020-04-16 23:07:20.071892777 +0200 +++ /work/SRC/openSUSE:Factory/.python-agate-sql.new.26437/python-agate-sql.changes 2020-11-11 20:48:35.815771207 +0100 @@ -1,0 +2,7 @@ +Tue Nov 10 13:45:33 UTC 2020 - Marketa Calabkova <mmach...@suse.com> + +- update to 0.5.5 + * Set type to DATETIME for datetime (MS SQL). + * Drop support for Python 2.7 (EOL 2020-01-01), 3.4 (2019-03-18), 3.5 (2020-09-13). + +------------------------------------------------------------------- Old: ---- 0.5.4.tar.gz New: ---- 0.5.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-agate-sql.spec ++++++ --- /var/tmp/diff_new_pack.je933M/_old 2020-11-11 20:48:36.599771943 +0100 +++ /var/tmp/diff_new_pack.je933M/_new 2020-11-11 20:48:36.603771947 +0100 @@ -17,8 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-agate-sql -Version: 0.5.4 +Version: 0.5.5 Release: 0 Summary: SQL read/write support for agate License: MIT @@ -31,15 +32,14 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-SQLAlchemy >= 1.0.8 +Requires: python-agate >= 1.5.0 +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module SQLAlchemy >= 1.0.8} BuildRequires: %{python_module agate >= 1.5.0} BuildRequires: %{python_module pytest} # /SECTION -Requires: python-SQLAlchemy >= 1.0.8 -Requires: python-agate >= 1.5.0 -BuildArch: noarch - %python_subpackages %description @@ -61,7 +61,6 @@ %pytest %files %{python_files} -%defattr(-,root,root,-) %doc AUTHORS.rst README.rst CHANGELOG.rst %license COPYING %{python_sitelib}/* ++++++ 0.5.4.tar.gz -> 0.5.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-sql-0.5.4/.travis.yml new/agate-sql-0.5.5/.travis.yml --- old/agate-sql-0.5.4/.travis.yml 2019-03-16 17:22:33.000000000 +0100 +++ new/agate-sql-0.5.5/.travis.yml 2020-07-07 20:06:43.000000000 +0200 @@ -1,9 +1,6 @@ dist: xenial language: python python: - - "2.7" - - "3.4" - - "3.5" - "3.6" - "3.7" # command to install dependencies diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-sql-0.5.4/CHANGELOG.rst new/agate-sql-0.5.5/CHANGELOG.rst --- old/agate-sql-0.5.4/CHANGELOG.rst 2019-03-16 17:22:33.000000000 +0100 +++ new/agate-sql-0.5.5/CHANGELOG.rst 2020-07-07 20:06:43.000000000 +0200 @@ -1,3 +1,9 @@ +0.5.5 - July 7, 2020 +-------------------- + +* Set type to ``DATETIME`` for datetime (MS SQL). +* Drop support for Python 2.7 (EOL 2020-01-01), 3.4 (2019-03-18), 3.5 (2020-09-13). + 0.5.4 - March 16, 2019 ---------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-sql-0.5.4/MANIFEST.in new/agate-sql-0.5.5/MANIFEST.in --- old/agate-sql-0.5.4/MANIFEST.in 2019-03-16 17:22:33.000000000 +0100 +++ new/agate-sql-0.5.5/MANIFEST.in 2020-07-07 20:06:43.000000000 +0200 @@ -1,3 +1,5 @@ include COPYING include AUTHORS.rst +include CHANGELOG.rst include README.rst +recursive-include tests *.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-sql-0.5.4/agatesql/table.py new/agate-sql-0.5.5/agatesql/table.py --- old/agate-sql-0.5.4/agatesql/table.py 2019-03-16 17:22:33.000000000 +0100 +++ new/agate-sql-0.5.5/agatesql/table.py 2020-07-07 20:06:43.000000000 +0200 @@ -11,7 +11,7 @@ import agate from sqlalchemy import Column, MetaData, Table, UniqueConstraint, create_engine, dialects from sqlalchemy.engine import Connection -from sqlalchemy.types import BOOLEAN, DATE, DECIMAL, FLOAT, TEXT, TIMESTAMP, VARCHAR, Interval +from sqlalchemy.types import BOOLEAN, DATE, DATETIME, DECIMAL, FLOAT, TEXT, TIMESTAMP, VARCHAR, Interval from sqlalchemy.dialects.mssql import BIT from sqlalchemy.dialects.oracle import INTERVAL as ORACLE_INTERVAL from sqlalchemy.dialects.postgresql import INTERVAL as POSTGRES_INTERVAL @@ -22,11 +22,15 @@ agate.Boolean: None, # See below agate.Number: None, # See below agate.Date: DATE, - agate.DateTime: TIMESTAMP, + agate.DateTime: None, # See below agate.TimeDelta: None, # See below agate.Text: VARCHAR, } +DATETIME_MAP = { + 'mssql': DATETIME, +} + BOOLEAN_MAP = { 'mssql': BIT, } @@ -179,6 +183,7 @@ sql_table = Table(table_name, metadata, schema=db_schema) SQL_TYPE_MAP[agate.Boolean] = BOOLEAN_MAP.get(dialect, BOOLEAN) + SQL_TYPE_MAP[agate.DateTime] = DATETIME_MAP.get(dialect, TIMESTAMP) SQL_TYPE_MAP[agate.Number] = NUMBER_MAP.get(dialect, DECIMAL) SQL_TYPE_MAP[agate.TimeDelta] = INTERVAL_MAP.get(dialect, Interval) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-sql-0.5.4/docs/conf.py new/agate-sql-0.5.5/docs/conf.py --- old/agate-sql-0.5.4/docs/conf.py 2019-03-16 17:22:33.000000000 +0100 +++ new/agate-sql-0.5.5/docs/conf.py 2020-07-07 20:06:43.000000000 +0200 @@ -54,9 +54,9 @@ # built documents. # # The short X.Y version. -version = '0.5.4' +version = '0.5.5' # The full version, including alpha/beta/rc tags. -release = '0.5.4 (beta)' +release = '0.5.5' # 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.4/requirements-py2.txt new/agate-sql-0.5.5/requirements-py2.txt --- old/agate-sql-0.5.4/requirements-py2.txt 2019-03-16 17:22:33.000000000 +0100 +++ new/agate-sql-0.5.5/requirements-py2.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ --r requirements-py3.txt -unittest2==0.5.1 -ordereddict>=1.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-sql-0.5.4/setup.py new/agate-sql-0.5.5/setup.py --- old/agate-sql-0.5.4/setup.py 2019-03-16 17:22:33.000000000 +0100 +++ new/agate-sql-0.5.5/setup.py 2020-07-07 20:06:43.000000000 +0200 @@ -9,7 +9,7 @@ setup( name='agate-sql', - version='0.5.4', + version='0.5.5', description='agate-sql adds SQL read/write support to agate.', long_description=open('README.rst').read(), author='Christopher Groskopf', @@ -24,9 +24,6 @@ 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'Programming Language :: Python :: 2.7', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: Implementation :: CPython', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/agate-sql-0.5.4/tox.ini new/agate-sql-0.5.5/tox.ini --- old/agate-sql-0.5.4/tox.ini 2019-03-16 17:22:33.000000000 +0100 +++ new/agate-sql-0.5.5/tox.ini 2020-07-07 20:06:43.000000000 +0200 @@ -1,32 +1,14 @@ [tox] -envlist = py27,py34,py35,py36,py37,pypy +envlist = py36,py37,pypy [testenv] -deps= - nose>=1.1.2 - six>=1.6.1 -commands=nosetests - -[testenv:py27] -deps= - {[testenv]deps} - -[testenv:py34] -deps= - {[testenv]deps} - -[testenv:py35] -deps= - {[testenv:py33]deps} +commands = nosetests [testenv:py36] -deps= - {[testenv:py33]deps} +deps = -rrequirements-py3.txt [testenv:py37] -deps= - {[testenv:py33]deps} +deps = {[testenv:py36]deps} [testenv:pypy] -deps= - {[testenv:py33]deps} +deps = {[testenv:py36]deps} _______________________________________________ openSUSE Commits mailing list -- commit@lists.opensuse.org To unsubscribe, email commit-le...@lists.opensuse.org List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/commit@lists.opensuse.org