Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pymssql for openSUSE:Factory checked in at 2024-11-24 11:05:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pymssql (Old) and /work/SRC/openSUSE:Factory/.python-pymssql.new.28523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymssql" Sun Nov 24 11:05:02 2024 rev:7 rq:1226014 version:2.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pymssql/python-pymssql.changes 2024-09-04 13:22:41.036895678 +0200 +++ /work/SRC/openSUSE:Factory/.python-pymssql.new.28523/python-pymssql.changes 2024-11-24 11:05:13.657408239 +0100 @@ -1,0 +2,7 @@ +Sat Nov 23 12:40:00 UTC 2024 - Martin Hauke <mar...@gmx.de> + +- Update to version 2.3.2 + * Update FreeTDS to 1.4.23. + * Workaround setuptools-74.0 changes. + +------------------------------------------------------------------- Old: ---- pymssql-2.3.1.tar.gz New: ---- pymssql-2.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pymssql.spec ++++++ --- /var/tmp/diff_new_pack.Nv8CDQ/_old 2024-11-24 11:05:14.285434349 +0100 +++ /var/tmp/diff_new_pack.Nv8CDQ/_new 2024-11-24 11:05:14.285434349 +0100 @@ -17,7 +17,7 @@ Name: python-pymssql -Version: 2.3.1 +Version: 2.3.2 Release: 0 Summary: A simple database interface to MS-SQL for Python License: LGPL-2.1-only @@ -57,5 +57,6 @@ %files %{python_files} %license LICENSE %doc ChangeLog.rst README.rst -%{python_sitearch}/pymssql* +%{python_sitearch}/pymssql +%{python_sitearch}/pymssql-%{version}*-info ++++++ pymssql-2.3.1.tar.gz -> pymssql-2.3.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymssql-2.3.1/.github/workflows/test_linux.yml new/pymssql-2.3.2/.github/workflows/test_linux.yml --- old/pymssql-2.3.1/.github/workflows/test_linux.yml 2024-08-25 18:16:56.000000000 +0200 +++ new/pymssql-2.3.2/.github/workflows/test_linux.yml 2024-11-21 05:04:43.000000000 +0100 @@ -33,7 +33,7 @@ runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] os: [ubuntu-20.04] services: @@ -128,8 +128,8 @@ pip install twine --upgrade twine upload --skip-existing -u __token__ -p ${{secrets.PYMSSQL_PYPI_TOKEN}} dist/* - - name: Publish wheels and sdist on test.pypi.org - if: github.repository_owner == 'pymssql' && github.ref == 'refs/heads/master' - run: | - pip install twine --upgrade - twine upload --skip-existing -u __token__ -p ${{secrets.PYMSSQL_TEST_PYPI_TOKEN}} --repository-url=https://test.pypi.org/legacy/ dist/* + #- name: Publish wheels and sdist on test.pypi.org + #if: github.repository_owner == 'pymssql' && github.ref == 'refs/heads/master' + #run: | + #pip install twine --upgrade + #twine upload --skip-existing -u __token__ -p ${{secrets.PYMSSQL_TEST_PYPI_TOKEN}} --repository-url=https://test.pypi.org/legacy/ dist/* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymssql-2.3.1/.github/workflows/test_linux_aarch64.yml new/pymssql-2.3.2/.github/workflows/test_linux_aarch64.yml --- old/pymssql-2.3.1/.github/workflows/test_linux_aarch64.yml 2024-08-25 18:16:56.000000000 +0200 +++ new/pymssql-2.3.2/.github/workflows/test_linux_aarch64.yml 2024-11-21 05:04:43.000000000 +0100 @@ -30,7 +30,7 @@ runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] os: [ubuntu-20.04] services: @@ -125,8 +125,8 @@ pip install twine --upgrade twine upload --skip-existing -u __token__ -p ${{secrets.PYMSSQL_PYPI_TOKEN}} dist/* - - name: Publish wheels and sdist on test.pypi.org - if: github.repository_owner == 'pymssql' && github.ref == 'refs/heads/master' - run: | - pip install twine --upgrade - twine upload --skip-existing -u __token__ -p ${{secrets.PYMSSQL_TEST_PYPI_TOKEN}} --repository-url=https://test.pypi.org/legacy/ dist/* + #- name: Publish wheels and sdist on test.pypi.org + #if: github.repository_owner == 'pymssql' && github.ref == 'refs/heads/master' + #run: | + #pip install twine --upgrade + #twine upload --skip-existing -u __token__ -p ${{secrets.PYMSSQL_TEST_PYPI_TOKEN}} --repository-url=https://test.pypi.org/legacy/ dist/* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymssql-2.3.1/.github/workflows/test_macos.yml new/pymssql-2.3.2/.github/workflows/test_macos.yml --- old/pymssql-2.3.1/.github/workflows/test_macos.yml 2024-08-25 18:16:56.000000000 +0200 +++ new/pymssql-2.3.2/.github/workflows/test_macos.yml 2024-11-21 05:04:43.000000000 +0100 @@ -31,7 +31,7 @@ runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] os: [macos-13] steps: @@ -84,8 +84,8 @@ pip install twine --upgrade twine upload --skip-existing -u __token__ -p ${{secrets.PYMSSQL_PYPI_TOKEN}} dist/*.whl - - name: Publish wheels on test.pypi.org - if: github.repository_owner == 'pymssql' && github.ref == 'refs/heads/master' - run: | - pip install twine --upgrade - twine upload --skip-existing -u __token__ -p ${{secrets.PYMSSQL_TEST_PYPI_TOKEN}} --repository-url=https://test.pypi.org/legacy/ dist/*.whl + #- name: Publish wheels on test.pypi.org + #if: github.repository_owner == 'pymssql' && github.ref == 'refs/heads/master' + #run: | + #pip install twine --upgrade + #twine upload --skip-existing -u __token__ -p ${{secrets.PYMSSQL_TEST_PYPI_TOKEN}} --repository-url=https://test.pypi.org/legacy/ dist/*.whl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymssql-2.3.1/.github/workflows/test_windows.yml new/pymssql-2.3.2/.github/workflows/test_windows.yml --- old/pymssql-2.3.1/.github/workflows/test_windows.yml 2024-08-25 18:16:56.000000000 +0200 +++ new/pymssql-2.3.2/.github/workflows/test_windows.yml 2024-11-21 05:04:43.000000000 +0100 @@ -33,7 +33,7 @@ strategy: fail-fast: false matrix: - python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] os: [windows-latest] python-architecture: [x86, x64] @@ -75,7 +75,7 @@ - name: Archive wheels and sdist uses: actions/upload-artifact@v4 with: - name: pymssql-${{ matrix.runs-on }}-${{ matrix.python-architecture }}-${{ github.sha }} + name: pymssql-${{ matrix.runs-on }}-${{ matrix.python-architecture }}-${{ matrix.arch }}-${{ github.sha }} path: dist overwrite: true @@ -85,8 +85,8 @@ pip install twine --upgrade twine upload --skip-existing -u __token__ -p ${{secrets.PYMSSQL_PYPI_TOKEN}} dist/*.whl - - name: Publish wheels on test.pypi.org - if: github.repository_owner == 'pymssql' && github.ref == 'refs/heads/master' - run: | - pip install twine --upgrade - twine upload --skip-existing -u __token__ -p ${{secrets.PYMSSQL_TEST_PYPI_TOKEN}} --repository-url=https://test.pypi.org/legacy/ dist/*.whl + #- name: Publish wheels on test.pypi.org + #if: github.repository_owner == 'pymssql' && github.ref == 'refs/heads/master' + #run: | + #pip install twine --upgrade + #twine upload --skip-existing -u __token__ -p ${{secrets.PYMSSQL_TEST_PYPI_TOKEN}} --repository-url=https://test.pypi.org/legacy/ dist/*.whl diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymssql-2.3.1/ChangeLog.rst new/pymssql-2.3.2/ChangeLog.rst --- old/pymssql-2.3.1/ChangeLog.rst 2024-08-25 18:16:56.000000000 +0200 +++ new/pymssql-2.3.2/ChangeLog.rst 2024-11-21 05:04:43.000000000 +0100 @@ -1,7 +1,25 @@ Recent Changes ============== -Version 2.3.1 - 2024- - Mikhail Terekhov +Version 2.3.2 - 2024-11-20 - Mikhail Terekhov +============================================= + +General +------- + +- Update FreeTDS to 1.4.23. +- Build wheels for Python-3.13 on Windows and MacOS. + +Internals +--------- + +- Fix build wheels for Python-3.13 on Windows. +- Drop build in actions for Python 3.6, 3.7 and 3.8. +- Add build in actions for Python-3.13. +- Workaround setuptools-74.0 changes. + + +Version 2.3.1 - 2024-08-25 - Mikhail Terekhov ============================================= General diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymssql-2.3.1/PKG-INFO new/pymssql-2.3.2/PKG-INFO --- old/pymssql-2.3.1/PKG-INFO 2024-08-25 18:19:38.994532300 +0200 +++ new/pymssql-2.3.2/PKG-INFO 2024-11-21 05:06:30.449875000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pymssql -Version: 2.3.1 +Version: 2.3.2 Summary: DB-API interface to Microsoft SQL Server for Python. (new Cython-based version) Author: Damien Churchill Author-email: dam...@gmail.com @@ -111,7 +111,25 @@ Recent Changes ============== -Version 2.3.1 - 2024- - Mikhail Terekhov +Version 2.3.2 - 2024-11-20 - Mikhail Terekhov +============================================= + +General +------- + +- Update FreeTDS to 1.4.23. +- Build wheels for Python-3.13 on Windows and MacOS. + +Internals +--------- + +- Fix build wheels for Python-3.13 on Windows. +- Drop build in actions for Python 3.6, 3.7 and 3.8. +- Add build in actions for Python-3.13. +- Workaround setuptools-74.0 changes. + + +Version 2.3.1 - 2024-08-25 - Mikhail Terekhov ============================================= General @@ -124,67 +142,3 @@ - Drop manylinux2010 wheels. - Drop 3.7 and 3.8 wheels on MacOS. - Drop 3.6 wheels on Linux. - -Version 2.3.0 - 2024-04-06 - Mikhail Terekhov -============================================= - -General -------- - -- Add python 3.12 support (fix #851). Thanks to Raphael Jacob. -- Update FreeTDS to 1.4.10. -- Add read_only parameter for connection. -- Add encryption parameter to connect. -- Add use_datetime2 parameter to connect. -- Use utf-8 for connection properties. -- Implement batching in executemany based on optional batch_size parameter. - with default equal arraysize cursor attribute (closes #332, #462). -- Build aarch64 wheels. Thanks to Jun Tang. -- Build musllinux wheels. -- Some documentation fixes. Thanks to Casey Korver and Quentin LEGAY. -- FAQ update: #877. -- Add stubs (closes #767). -- Fix DBAPI-2.0 compliance - DataError must be a subclass of DatabaseError. -- Fix DBAPI-2.0 compliance: rename `batchsize` cursor attribute to `arraysize`. -- Implement DATETIMEOFFSET handling for stored procedures. -- Implement DATETIMEOFFSET handling for insert and select queries (fixes #649). -- Return instance of datetime.datetime on select from SQLDATETIM4, SQLDATETIME, SQLDATETIME2 columns (closes #662, #695, #792, #844). - -Bug fixes ---------- - -- Fix SQLDATETIME2 handling in convert_python_value(). -- Use four digits for the year in SP args binding (fix #454). -- Fix convert_python_value to work with datetime.date. Thanks to Testsr. -- Check if C compiler is installed if check for clock_gettime fails (fix #825). -- Add missing `charset` parameter in the `_substitute_params` method when - calling `ensure_bytes` (fix #650). Thans to Andrey Yuroshev. -- Fix empty, zero or None parameter substitution. (fix #609). - -Internals ---------- - -- Add tests for fetchall(), fetchmany(), fetchone() and next() with SP. -- Add test for #134. -- Require Cython>3.0.7. -- Use Cython 3 for compilation. -- Use docker image for MSSQL2019 as a default for tests. -- Take FreeTDS version for PyPI wheels from pyproject.toml. -- Check sdist with twine. -- Use OpenSSL-1.1.1.2100 for Windows x86 wheels. Thanks to PrimozGodec (fixes #839). -- Use OpenSSL-3.1.1 for Windows x64 wheels (FreeTDS build fails with OpenSSL-3.2.1). -- Add SQLTIME and SQLDATETIME2 to convert_python_value. -- Use dbanydatecrack() function instead of dbdatecrack(). -- Replace DEF with cdef enum for buffer array size (compatibility with Cython 3). -- Remove references to tox. Thanks to Christoph Wegener. -- Update readthedocs configuration. -- Add tests for timeout in wait callback (#305). -- Clean up some legacy FreeTDS shims. -- Add tests for tds_version parameter. -- Move check for clock_gettime to dev/ccompiler.py. -- Remove some Python2 remnants. -- Move FreeTDS version from workflow files to pyproject.toml. -- Move exceptions into separate module. -- Use strftime for date & time conversion. -- Simplify parameters quoting. -- Add tests for _quote_simple_value. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymssql-2.3.1/dev/build.py new/pymssql-2.3.2/dev/build.py --- old/pymssql-2.3.1/dev/build.py 2024-08-25 18:16:56.000000000 +0200 +++ new/pymssql-2.3.2/dev/build.py 2024-11-21 05:04:43.000000000 +0100 @@ -98,7 +98,17 @@ from distutils import _msvccompiler as _msvcc plat_name = get_platform() - plat_spec = _msvcc.PLAT_TO_VCVARS[plat_name] + try: + plat_spec = _msvcc.PLAT_TO_VCVARS[plat_name] + except AttributeError: + # setuptools removed PLAT_TO_VCVARS in 74.0 + PLAT_TO_VCVARS = { + 'win32' : 'x86', + 'win-amd64' : 'x86_amd64', + 'win-arm32' : 'x86_arm', + 'win-arm64' : 'x86_arm64' + } + plat_spec = PLAT_TO_VCVARS[plat_name] vcvarsall, _ = _msvcc._find_vcvarsall(plat_spec) cmd = f'(call "{vcvarsall}" {plat_spec}>nul)&&"{sys.executable}" -c "import os;print(repr(os.environ))"' env = check_output(cmd, shell=True) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymssql-2.3.1/dev/build_manylinux_wheels.sh new/pymssql-2.3.2/dev/build_manylinux_wheels.sh --- old/pymssql-2.3.1/dev/build_manylinux_wheels.sh 2024-08-25 18:16:56.000000000 +0200 +++ new/pymssql-2.3.2/dev/build_manylinux_wheels.sh 2024-11-21 05:04:43.000000000 +0100 @@ -49,7 +49,7 @@ fi fi git config --global --add safe.directory /pymssql -/opt/python/cp38-cp38/bin/python dev/build.py \ +/opt/python/cp39-cp39/bin/python dev/build.py \ --ws-dir=./freetds \ --dist-dir=. \ --prefix=/usr/local \ @@ -58,7 +58,7 @@ --static-freetds # Install Python dependencies and compile wheels -PYTHONS="cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 cp313-cp313" +PYTHONS="cp39-cp39 cp310-cp310 cp311-cp311 cp312-cp312 cp313-cp313 cp314-cp314" for i in $PYTHONS; do PYBIN="/opt/python/$i/bin" if [ -d ${PYBIN} ] ; then @@ -77,7 +77,7 @@ done # Create .tar.gz dist. -/opt/python/cp38-cp38/bin/python setup.py sdist +/opt/python/cp39-cp39/bin/python setup.py sdist # Install the wheels that were built. Need to be able to connect to mssql and to run the pytest suite after install # psutil 5.9.2 had a bug preventing it from being imported on some platforms. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymssql-2.3.1/dev/requirements-dev.txt new/pymssql-2.3.2/dev/requirements-dev.txt --- old/pymssql-2.3.1/dev/requirements-dev.txt 2024-08-25 18:16:56.000000000 +0200 +++ new/pymssql-2.3.2/dev/requirements-dev.txt 2024-11-21 05:04:43.000000000 +0100 @@ -10,3 +10,4 @@ sphinx sqlalchemy wheel>=0.36.2 +standard-distutils>3.11 ; python_version>="3.12" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymssql-2.3.1/pyproject.toml new/pymssql-2.3.2/pyproject.toml --- old/pymssql-2.3.1/pyproject.toml 2024-08-25 18:16:56.000000000 +0200 +++ new/pymssql-2.3.2/pyproject.toml 2024-11-21 05:04:43.000000000 +0100 @@ -13,4 +13,4 @@ local_scheme = "no-local-version" [tool.freetds] -version_for_pypi_wheels = "1.4.22" +version_for_pypi_wheels = "1.4.23" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymssql-2.3.1/src/pymssql/version.h new/pymssql-2.3.2/src/pymssql/version.h --- old/pymssql-2.3.1/src/pymssql/version.h 2024-08-25 18:19:38.000000000 +0200 +++ new/pymssql-2.3.2/src/pymssql/version.h 2024-11-21 05:06:30.000000000 +0100 @@ -1 +1 @@ -const char* PYMSSQL_VERSION = "2.3.1"; \ No newline at end of file +const char* PYMSSQL_VERSION = "2.3.2"; \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pymssql-2.3.1/src/pymssql.egg-info/PKG-INFO new/pymssql-2.3.2/src/pymssql.egg-info/PKG-INFO --- old/pymssql-2.3.1/src/pymssql.egg-info/PKG-INFO 2024-08-25 18:19:38.000000000 +0200 +++ new/pymssql-2.3.2/src/pymssql.egg-info/PKG-INFO 2024-11-21 05:06:30.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pymssql -Version: 2.3.1 +Version: 2.3.2 Summary: DB-API interface to Microsoft SQL Server for Python. (new Cython-based version) Author: Damien Churchill Author-email: dam...@gmail.com @@ -111,7 +111,25 @@ Recent Changes ============== -Version 2.3.1 - 2024- - Mikhail Terekhov +Version 2.3.2 - 2024-11-20 - Mikhail Terekhov +============================================= + +General +------- + +- Update FreeTDS to 1.4.23. +- Build wheels for Python-3.13 on Windows and MacOS. + +Internals +--------- + +- Fix build wheels for Python-3.13 on Windows. +- Drop build in actions for Python 3.6, 3.7 and 3.8. +- Add build in actions for Python-3.13. +- Workaround setuptools-74.0 changes. + + +Version 2.3.1 - 2024-08-25 - Mikhail Terekhov ============================================= General @@ -124,67 +142,3 @@ - Drop manylinux2010 wheels. - Drop 3.7 and 3.8 wheels on MacOS. - Drop 3.6 wheels on Linux. - -Version 2.3.0 - 2024-04-06 - Mikhail Terekhov -============================================= - -General -------- - -- Add python 3.12 support (fix #851). Thanks to Raphael Jacob. -- Update FreeTDS to 1.4.10. -- Add read_only parameter for connection. -- Add encryption parameter to connect. -- Add use_datetime2 parameter to connect. -- Use utf-8 for connection properties. -- Implement batching in executemany based on optional batch_size parameter. - with default equal arraysize cursor attribute (closes #332, #462). -- Build aarch64 wheels. Thanks to Jun Tang. -- Build musllinux wheels. -- Some documentation fixes. Thanks to Casey Korver and Quentin LEGAY. -- FAQ update: #877. -- Add stubs (closes #767). -- Fix DBAPI-2.0 compliance - DataError must be a subclass of DatabaseError. -- Fix DBAPI-2.0 compliance: rename `batchsize` cursor attribute to `arraysize`. -- Implement DATETIMEOFFSET handling for stored procedures. -- Implement DATETIMEOFFSET handling for insert and select queries (fixes #649). -- Return instance of datetime.datetime on select from SQLDATETIM4, SQLDATETIME, SQLDATETIME2 columns (closes #662, #695, #792, #844). - -Bug fixes ---------- - -- Fix SQLDATETIME2 handling in convert_python_value(). -- Use four digits for the year in SP args binding (fix #454). -- Fix convert_python_value to work with datetime.date. Thanks to Testsr. -- Check if C compiler is installed if check for clock_gettime fails (fix #825). -- Add missing `charset` parameter in the `_substitute_params` method when - calling `ensure_bytes` (fix #650). Thans to Andrey Yuroshev. -- Fix empty, zero or None parameter substitution. (fix #609). - -Internals ---------- - -- Add tests for fetchall(), fetchmany(), fetchone() and next() with SP. -- Add test for #134. -- Require Cython>3.0.7. -- Use Cython 3 for compilation. -- Use docker image for MSSQL2019 as a default for tests. -- Take FreeTDS version for PyPI wheels from pyproject.toml. -- Check sdist with twine. -- Use OpenSSL-1.1.1.2100 for Windows x86 wheels. Thanks to PrimozGodec (fixes #839). -- Use OpenSSL-3.1.1 for Windows x64 wheels (FreeTDS build fails with OpenSSL-3.2.1). -- Add SQLTIME and SQLDATETIME2 to convert_python_value. -- Use dbanydatecrack() function instead of dbdatecrack(). -- Replace DEF with cdef enum for buffer array size (compatibility with Cython 3). -- Remove references to tox. Thanks to Christoph Wegener. -- Update readthedocs configuration. -- Add tests for timeout in wait callback (#305). -- Clean up some legacy FreeTDS shims. -- Add tests for tds_version parameter. -- Move check for clock_gettime to dev/ccompiler.py. -- Remove some Python2 remnants. -- Move FreeTDS version from workflow files to pyproject.toml. -- Move exceptions into separate module. -- Use strftime for date & time conversion. -- Simplify parameters quoting. -- Add tests for _quote_simple_value.