diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 0c629a3..ea56cf5 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 3.1.0b1 +current_version = 3.1.0 [bumpversion:file:pyproject.toml] search = version = "{current_version}" diff --git a/.github/workflows/publish_on_pypi.yml b/.github/workflows/publish_on_pypi.yml index 7ce0c8b..99cba8a 100644 --- a/.github/workflows/publish_on_pypi.yml +++ b/.github/workflows/publish_on_pypi.yml @@ -10,12 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11" - name: Install build tool run: python -m pip install build --user diff --git a/.github/workflows/test_with_tox.yml b/.github/workflows/test_with_tox.yml index d829641..5a0f068 100644 --- a/.github/workflows/test_with_tox.yml +++ b/.github/workflows/test_with_tox.yml @@ -7,10 +7,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python }} uses: actions/setup-python@v4 @@ -21,5 +21,5 @@ jobs: - run: tox -e py - - if: matrix.python == 3.10 + - if: matrix.python == 3.11 run: TOXENV=ruff,manifest,docs,spell tox diff --git a/LICENSE b/LICENSE index 15287a3..de120c4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2023 Christoph Zwerschke +Copyright (c) 2024 Christoph Zwerschke Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 09ccb37..fa3b0ef 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ to a database that can be used in all kinds of multi-threaded environments. The suite supports DB-API 2 compliant database interfaces and the classic PyGreSQL interface. -The current version 3.0.3 of DBUtils supports Python versions 3.6 to 3.11. +The current version 3.1.0 of DBUtils supports Python versions 3.7 to 3.12. **Please have a look at the [changelog](https://webwareforpython.github.io/DBUtils/changelog.html), because there were some breaking changes in version 2.0.** diff --git a/dbutils/__init__.py b/dbutils/__init__.py index 9008cfc..e503c5d 100644 --- a/dbutils/__init__.py +++ b/dbutils/__init__.py @@ -5,4 +5,4 @@ 'simple_pooled_pg', 'steady_pg', 'pooled_pg', 'persistent_pg', 'simple_pooled_db', 'steady_db', 'pooled_db', 'persistent_db'] -__version__ = '3.0.3' +__version__ = '3.1.0' diff --git a/docs/changelog.html b/docs/changelog.html index 1f5ce90..c30f65b 100644 --- a/docs/changelog.html +++ b/docs/changelog.html @@ -2,8 +2,8 @@ + - Changelog for DBUtils @@ -12,6 +12,15 @@

Changelog for DBUtils

+

3.1.0

+

DBUtils 3.1.0 was released on March 17, 2024.

+

Changes:

+ +
+

3.0.3

DBUtils 3.0.3 was released on April 27, 2023.

Changes:

@@ -21,19 +30,19 @@

3.0.3

  • Minor fixes and section an advanced usage in docs.

  • -
    +

    3.0.2

    DBUtils 3.0.2 was released on January 14, 2022.

    The optional iterator protocol on cursors is now supported.

    -
    +

    3.0.1

    DBUtils 3.0.1 was released on December 22, 2021.

    It includes InterfaceError to the default list of exceptions for which the connection failover mechanism is applied. You can override this with the failures parameter.

    -
    +

    3.0.0

    DBUtils 3.0.0 was released on November 26, 2021.

    It is intended to be used with Python versions 3.6 to 3.10.

    @@ -42,7 +51,7 @@

    3.0.0

  • Cease support for Python 2 and 3.5, minor optimizations.

  • -
    +

    2.0.3

    DBUtils 2.0.3 was released on November 26, 2021.

    Changes:

    @@ -50,7 +59,7 @@

    2.0.3

  • Support Python version 3.10.

  • -
    +

    2.0.2

    DBUtils 2.0.2 was released on June 8, 2021.

    Changes:

    @@ -58,7 +67,7 @@

    2.0.2

  • Allow using context managers for pooled connections.

  • -
    +

    2.0.1

    DBUtils 2.0.1 was released on April 8, 2021.

    Changes:

    @@ -66,7 +75,7 @@

    2.0.1

  • Avoid "name Exception is not defined" when exiting.

  • -
    +

    2.0

    DBUtils 2.0 was released on September 26, 2020.

    It is intended to be used with Python versions 2.7 and 3.5 to 3.9.

    @@ -82,7 +91,7 @@

    2.0

  • This changelog has been compiled from the former release notes.

  • -
    +

    1.4

    DBUtils 1.4 was released on September 26, 2020.

    It is intended to be used with Python versions 2.7 and 3.5 to 3.9.

    @@ -93,7 +102,7 @@

    1.4

    inside a transaction.

    -
    +

    1.3

    DBUtils 1.3 was released on March 3, 2018.

    It is intended to be used with Python versions 2.6, 2.7 and 3.4 to 3.7.

    @@ -102,12 +111,12 @@

    1.3

  • This version now supports context handlers for connections and cursors.

  • -
    +

    1.2

    DBUtils 1.2 was released on February 5, 2017.

    It is intended to be used with Python versions 2.6, 2.7 and 3.0 to 3.6.

    -
    +

    1.1.1

    DBUtils 1.1.1 was released on February 4, 2017.

    It is intended to be used with Python versions 2.3 to 2.7.

    @@ -121,7 +130,7 @@

    1.1.1

  • Fixed a problem when running under Jython (reported by Vitaly Kruglikov).

  • -
    +

    1.1

    DBUtils 1.1 was released on August 14, 2011.

    Improvements:

    @@ -150,7 +159,7 @@

    1.1

  • Fixed some minor issues with the DBUtilsExample for Webware.

  • -
    +

    1.0

    DBUtils 1.0 was released on November 29, 2008.

    It is intended to be used with Python versions 2.2 to 2.6.

    @@ -183,7 +192,7 @@

    1.0

    the MySQLdb module (problem reported by Gregory Pinero).

    -
    +

    0.9.4

    DBUtils 0.9.4 was released on July 7, 2007.

    This release fixes a problem in the destructor code and has been supplemented @@ -192,7 +201,7 @@

    0.9.4

    in the last release, since you can now pass custom creator functions for database connections instead of DB-API 2 modules.

    -
    +

    0.9.3

    DBUtils 0.9.3 was released on May 21, 2007.

    Changes:

    @@ -207,7 +216,7 @@

    0.9.3

    Added Chinese translation of the User's Guide, kindly contributed by gashero.

    -
    +

    0.9.2

    DBUtils 0.9.2 was released on September 22, 2006.

    It is intended to be used with Python versions 2.2 to 2.5.

    @@ -217,7 +226,7 @@

    0.9.2

    storage engine. Accordingly, renamed SolidPg to SteadyPg.

    -
    +

    0.9.1

    DBUtils 0.9.1 was released on May 8, 2006.

    It is intended to be used with Python versions 2.2 to 2.4.

    @@ -231,7 +240,7 @@

    0.9.1

  • Improved the documentation and added a User's Guide.

  • -
    +

    0.8.1 - 2005-09-13

    DBUtils 0.8.1 was released on September 13, 2005.

    It is intended to be used with Python versions 2.0 to 2.4.

    diff --git a/docs/changelog.rst b/docs/changelog.rst index 6d0833f..796684e 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,17 @@ Changelog for DBUtils +++++++++++++++++++++ +3.1.0 +===== + +DBUtils 3.1.0 was released on March 17, 2024. + +Changes: + +* Support Python version 3.12, cease support for Python 3.6. +* Various small internal improvements and modernizations. + + 3.0.3 ===== diff --git a/docs/main.de.html b/docs/main.de.html index 1a2dda7..e4f5834 100644 --- a/docs/main.de.html +++ b/docs/main.de.html @@ -2,8 +2,8 @@ + - Benutzeranleitung für DBUtils @@ -12,7 +12,7 @@

    Benutzeranleitung für DBUtils

    Version:
    -
    3.0.3
    +
    3.1.0
    Translations:

    English | German

    @@ -137,7 +137,7 @@

    Installation

    Anforderungen

    -

    DBUtils unterstützt die Python Versionen 3.6 bis 3.11.

    +

    DBUtils unterstützt die Python Versionen 3.7 bis 3.12.

    Die Module in der Variante für klassisches PyGreSQL benötigen PyGreSQL Version 4.0 oder höher, während die Module in der allgemeinen Variante für DB-API 2 mit jedem beliebigen Python-Datenbankadapter-Modul zusammenarbeiten, @@ -536,7 +536,7 @@

    Autoren

    Requirements

    -

    DBUtils supports Python versions 3.6 to 3.11.

    +

    DBUtils supports Python versions 3.7 to 3.12.

    The modules in the classic PyGreSQL variant need PyGreSQL version 4.0 or above, while the modules in the universal DB-API 2 variant run with any Python DB-API 2 compliant database interface module.

    @@ -494,7 +494,7 @@

    Credits