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 2023-02-10 14:36:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-agate-sql (Old)
 and      /work/SRC/openSUSE:Factory/.python-agate-sql.new.1848 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-agate-sql"

Fri Feb 10 14:36:11 2023 rev:10 rq:1064218 version:0.5.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-agate-sql/python-agate-sql.changes        
2022-01-15 21:45:44.285631191 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-agate-sql.new.1848/python-agate-sql.changes  
    2023-02-10 14:36:19.898283107 +0100
@@ -1,0 +2,6 @@
+Fri Feb 10 10:37:14 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 0.5.9:
+  * Disallow SQLAlchemy 2.
+
+-------------------------------------------------------------------

Old:
----
  0.5.8.tar.gz

New:
----
  0.5.9.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-agate-sql.spec ++++++
--- /var/tmp/diff_new_pack.MM4lhy/_old  2023-02-10 14:36:20.394286071 +0100
+++ /var/tmp/diff_new_pack.MM4lhy/_new  2023-02-10 14:36:20.402286119 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-agate-sql
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-agate-sql
-Version:        0.5.8
+Version:        0.5.9
 Release:        0
 Summary:        SQL read/write support for agate
 License:        MIT
@@ -32,11 +32,11 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-SQLAlchemy >= 1.0.8
 Requires:       python-agate >= 1.5.0
+Requires:       (python-SQLAlchemy >= 1.0.8 with python-SQLAlchemy < 2)
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module SQLAlchemy >= 1.0.8}
+BuildRequires:  %{python_module SQLAlchemy >= 1.0.8 with %python-SQLAlchemy < 
2}
 BuildRequires:  %{python_module agate >= 1.5.0}
 BuildRequires:  %{python_module pytest}
 # /SECTION

++++++ 0.5.8.tar.gz -> 0.5.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/agate-sql-0.5.8/.github/workflows/ci.yml 
new/agate-sql-0.5.9/.github/workflows/ci.yml
--- old/agate-sql-0.5.8/.github/workflows/ci.yml        2021-09-15 
20:07:20.000000000 +0200
+++ new/agate-sql-0.5.9/.github/workflows/ci.yml        2023-01-28 
20:54:48.000000000 +0100
@@ -2,28 +2,18 @@
 on: [push, pull_request]
 jobs:
   build:
+    if: github.event_name == 'push' || 
github.event.pull_request.head.repo.full_name != github.repository
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
         os: [macos-latest, windows-latest, ubuntu-latest]
-        python-version: [3.6, 3.7, 3.8, 3.9, pypy-3.6, pypy-3.7]
+        python-version: [3.7, 3.8, 3.9, '3.10', '3.11', pypy-3.7]
     steps:
-      - uses: actions/checkout@v2
-      - uses: actions/setup-python@v2
+      - uses: actions/checkout@v3
+      - uses: actions/setup-python@v4
         with:
           python-version: ${{ matrix.python-version }}
-      # 
https://github.com/actions/cache/blob/main/examples.md#using-a-script-to-get-cache-location
-      - id: pip-cache
-        run: python -c "from pip._internal.locations import USER_CACHE_DIR; 
print('::set-output name=dir::' + USER_CACHE_DIR)"
-      - uses: actions/cache@v1
-        with:
-          path: ${{ steps.pip-cache.outputs.dir }}
-          key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
-          restore-keys: |
-            ${{ runner.os }}-pip-
-      - run: pip install --upgrade check-manifest flake8 isort setuptools
-      - run: check-manifest
-      - run: flake8 .
-      - run: isort . --check-only
+          cache: pip
+          cache-dependency-path: setup.py
       - run: pip install .[test]
-      - run: nosetests
+      - run: pytest --cov agatesql
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/agate-sql-0.5.8/.github/workflows/lint.yml 
new/agate-sql-0.5.9/.github/workflows/lint.yml
--- old/agate-sql-0.5.8/.github/workflows/lint.yml      1970-01-01 
01:00:00.000000000 +0100
+++ new/agate-sql-0.5.9/.github/workflows/lint.yml      2023-01-28 
20:54:48.000000000 +0100
@@ -0,0 +1,19 @@
+name: Lint
+on: [push, pull_request]
+env:
+  BASEDIR: 
https://raw.githubusercontent.com/open-contracting/standard-maintenance-scripts/main
+jobs:
+  build:
+    if: github.event_name == 'push' || 
github.event.pull_request.head.repo.full_name != github.repository
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v3
+      - uses: actions/setup-python@v4
+        with:
+          python-version: '3.10'
+          cache: pip
+          cache-dependency-path: setup.py
+      - run: pip install --upgrade check-manifest flake8 isort setuptools
+      - run: check-manifest
+      - run: flake8 .
+      - run: isort . --check-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/agate-sql-0.5.8/CHANGELOG.rst 
new/agate-sql-0.5.9/CHANGELOG.rst
--- old/agate-sql-0.5.8/CHANGELOG.rst   2021-09-15 20:07:20.000000000 +0200
+++ new/agate-sql-0.5.9/CHANGELOG.rst   2023-01-28 20:54:48.000000000 +0100
@@ -1,3 +1,8 @@
+0.5.9 - Jan 28, 2023
+--------------------
+
+* Disallow SQLAlchemy 2.
+
 0.5.8 - September 15, 2021
 --------------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/agate-sql-0.5.8/agatesql/table.py 
new/agate-sql-0.5.9/agatesql/table.py
--- old/agate-sql-0.5.8/agatesql/table.py       2021-09-15 20:07:20.000000000 
+0200
+++ new/agate-sql-0.5.9/agatesql/table.py       2023-01-28 20:54:48.000000000 
+0100
@@ -9,7 +9,6 @@
 import decimal
 
 import agate
-import six
 from sqlalchemy import Column, MetaData, Table, UniqueConstraint, 
create_engine, dialects
 from sqlalchemy.dialects.mssql import BIT
 from sqlalchemy.dialects.oracle import INTERVAL as ORACLE_INTERVAL
@@ -57,7 +56,7 @@
         engine = create_engine('sqlite:///:memory:')
         connection = engine.connect()
         return None, connection
-    elif isinstance(connection_or_string, Connection):
+    if isinstance(connection_or_string, Connection):
         connection = connection_or_string
         return None, connection
 
@@ -100,7 +99,7 @@
             column_types.append(agate.Number())
         elif py_type is bool:
             column_types.append(agate.Boolean())
-        elif issubclass(py_type, six.string_types):
+        elif issubclass(py_type, str):
             column_types.append(agate.Text())
         elif py_type is datetime.date:
             column_types.append(agate.Date())
@@ -326,7 +325,7 @@
     else:
         sql_dialect = None
 
-    return 
six.text_type(CreateTable(sql_table).compile(dialect=sql_dialect)).strip() + ';'
+    return str(CreateTable(sql_table).compile(dialect=sql_dialect)).strip() + 
';'
 
 
 def sql_query(self, query, table_name='agate'):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/agate-sql-0.5.8/docs/conf.py 
new/agate-sql-0.5.9/docs/conf.py
--- old/agate-sql-0.5.8/docs/conf.py    2021-09-15 20:07:20.000000000 +0200
+++ new/agate-sql-0.5.9/docs/conf.py    2023-01-28 20:54:48.000000000 +0100
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
 #
 # This file is execfile()d with the current directory set to its containing 
dir.
 #
@@ -44,8 +43,8 @@
 master_doc = 'index'
 
 # General information about the project.
-project = u'agate-sql'
-copyright = u'2017, Christopher Groskopf'
+project = 'agate-sql'
+copyright = '2017, Christopher Groskopf'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
@@ -189,8 +188,8 @@
 # Grouping the document tree into LaTeX files. List of tuples
 # (source start file, target name, title, author, documentclass 
[howto/manual]).
 latex_documents = [
-    ('index', 'agate-sql.tex', u'agate-sql Documentation',
-     u'Christopher Groskopf', 'manual'),
+    ('index', 'agate-sql.tex', 'agate-sql Documentation',
+     'Christopher Groskopf', 'manual'),
 ]
 
 # The name of an image file (relative to this directory) to place at the top of
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/agate-sql-0.5.8/setup.py new/agate-sql-0.5.9/setup.py
--- old/agate-sql-0.5.8/setup.py        2021-09-15 20:07:20.000000000 +0200
+++ new/agate-sql-0.5.9/setup.py        2023-01-28 20:54:48.000000000 +0100
@@ -5,7 +5,7 @@
 
 setup(
     name='agate-sql',
-    version='0.5.8',
+    version='0.5.9',
     description='agate-sql adds SQL read/write support to agate.',
     long_description=long_description,
     long_description_content_type='text/x-rst',
@@ -21,10 +21,11 @@
         'Natural Language :: English',
         'Operating System :: OS Independent',
         'Programming Language :: Python',
-        'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
         'Programming Language :: Python :: 3.8',
         'Programming Language :: Python :: 3.9',
+        'Programming Language :: Python :: 3.10',
+        'Programming Language :: Python :: 3.11',
         'Programming Language :: Python :: Implementation :: CPython',
         'Programming Language :: Python :: Implementation :: PyPy',
         'Topic :: Scientific/Engineering :: Information Analysis',
@@ -33,13 +34,14 @@
     packages=find_packages(exclude=['tests', 'tests.*']),
     install_requires=[
         'agate>=1.5.0',
-        'sqlalchemy>=1.0.8',
+        'sqlalchemy<2',
     ],
     extras_require={
         'test': [
             'crate',
-            'nose>=1.1.2',
             'geojson',
+            'pytest',
+            'pytest-cov',
         ],
         'docs': [
             'Sphinx>=1.2.2',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/agate-sql-0.5.8/tests/test_agatesql.py 
new/agate-sql-0.5.9/tests/test_agatesql.py
--- old/agate-sql-0.5.8/tests/test_agatesql.py  2021-09-15 20:07:20.000000000 
+0200
+++ new/agate-sql-0.5.9/tests/test_agatesql.py  2023-01-28 20:54:48.000000000 
+0100
@@ -1,5 +1,4 @@
 #!/usr/bin/env python
-# -*- coding: utf8 -*-
 
 from decimal import Decimal
 from textwrap import dedent
@@ -15,8 +14,8 @@
     def setUp(self):
         self.rows = (
             (1.123, 'a', True, '11/4/2015', '11/4/2015 12:22 PM'),
-            (2, u'👍', False, '11/5/2015', '11/4/2015 12:45 PM'),
-            (2, u'c', False, '11/5/2015', '11/4/2015 12:45 PM'),
+            (2, '👍', False, '11/5/2015', '11/4/2015 12:45 PM'),
+            (2, 'c', False, '11/5/2015', '11/4/2015 12:45 PM'),
             (None, 'b', None, None, None),
         )
 

Reply via email to