Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump oracledb from 1.4 to 2.5.1 #98

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 16, 2024

Bumps oracledb from 1.4 to 2.5.1.

Release notes

Sourced from oracledb's releases.

v2.5.1

python-oracledb 2.5.1 is now released. This release addresses a number of reported issues. See the full release notes for all of the details.

v2.5.0

python-oracledb 2.5.0 is now released. This release adds a number of new features and corrects a number of issues. See the full release notes for all of the details.

v2.4.1

python-oracledb 2.4.1 is now released. This release addresses one reported issue. See the full release notes for all of the details.

v2.4.0

python-oracledb 2.4.0 is now released. This release adds support for Oracle Database 23ai pipelining and corrects a number of reported bugs. See the full release notes for all of the details.

v2.3.0

python-oracledb 2.3.0 is now released. This release adds support for a new VECTOR storage format (BINARY) available in Oracle Database 23.5. It also implements a number of other requested features and corrects a number of reported bugs. See the full release notes for all of the details.

v2.2.1

python-oracledb 2.2.1 is now released. This release addresses a number of reported issues. See the full release notes for all of the details.

v2.2.0

python-oracledb 2.2.0 is now released. This release adds support for VECTOR columns (new to Oracle Database 23ai) and INTERVAL YEAR TO MONTH columns, implements a number of other requested features and corrects a number of reported bugs. See the full release notes for all of the details.

v2.1.2

python-oracledb 2.1.2 is now released. This release addresses a number of reported issues. See the full release notes for all of the details.

v2.1.1

python-oracledb 2.1.1 is now released. This release addresses a number of reported issues. See the full release notes for all of the details.

v2.1.0

python-oracledb 2.1.0 is now released. This release adds support for additional features new to Oracle Database 23c and corrects a number of reported bugs. See the full release notes for all of the details.

v2.0.1

python-oracledb 2.0.1 is now released. This release addresses a number of reported issues. See the full release notes for all of the details.

v2.0.0

python-oracledb 2.0.0 is now released. This release adds support for asynchronous programming with asyncio and a large number of smaller enhancements and bug fixes. See the full release notes for all of the details.

v1.4.2

python-oracledb 1.4.2 is now released. This release addresses one issue and begins to supply pre-built binaries for Python 3.12. See the full release notes for all of the details.

v1.4.1

python-oracledb 1.4.1 is now released. This release addresses a number of reported issues. See the full release notes for all of the details.

Commits
  • 11659a3 Preparing to release python-oracledb 2.5.1.
  • bff87e6 Tweak release notes.
  • aa2707f Update ODPI-C to released version.
  • 6f7fd0b Check if server supports OOB check at connect (#419).
  • cb110f9 All exceptions subclassed from OSError now cause connection retry
  • 3f9c4b3 Fixed bug when fetching an empty CLOB or BLOB column marked with the
  • 7c4736b Fixed bug resulting in a segfault when using external authentication
  • 435fb8a Fixed bug when the fetched data type of a column changes from
  • 65536ad Fixed bug calculating property max_identifier_length in thick mode when
  • 68887bd Bump version in preparation for new changes.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [oracledb](https://github.com/oracle/python-oracledb) from 1.4 to 2.5.1.
- [Release notes](https://github.com/oracle/python-oracledb/releases)
- [Commits](oracle/python-oracledb@v1.4.0...v2.5.1)

---
updated-dependencies:
- dependency-name: oracledb
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner December 16, 2024 08:52
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 16, 2024
Copy link
Contributor

🚨 Python code is not properly formatted. Click to expand.
Would reformat: cli/ldap_cmds/rbac.py
1 file would be reformatted, 8 files already formatted

Please run ruff format to format the code.

Copy link
Contributor

🚨 Linting errors found in Python code. Click to expand.
cli/ldap_cmds/rbac.py:466:43: F821 Undefined name `dn`
    |
464 |         # loop through the records
465 |         for entry in records.all_records:
466 |             log.info(f"Got entry record: {dn}")
    |                                           ^^ F821
467 |             # add the record to ldap
468 |             try:
    |

cli/ldap_cmds/user.py:349:13: F841 Local variable `removed` is assigned to but never used
    |
347 |                 log.debug(ldap_connection_action.result)
348 |         elif remove:
349 |             removed = 0
    |             ^^^^^^^ F841
350 |             not_removed = 0
351 |             failed = 0
    |
    = help: Remove assignment to unused variable `removed`

cli/ldap_cmds/user.py:350:13: F841 Local variable `not_removed` is assigned to but never used
    |
348 |         elif remove:
349 |             removed = 0
350 |             not_removed = 0
    |             ^^^^^^^^^^^ F841
351 |             failed = 0
352 |             ldap_connection_action.delete(
    |
    = help: Remove assignment to unused variable `not_removed`

cli/ldap_cmds/user.py:432:13: E722 Do not use bare `except`
    |
430 |                 connection.commit()
431 |                 log.info("Committed changes to database successfully")
432 |             except:
    |             ^^^^^^ E722
433 |                 log.exception(f"Failed to update notes for user {user}")
434 |         connection.close()
    |

cli/ldap_cmds/user.py:533:9: E722 Do not use bare `except`
    |
531 |             connection.commit()
532 |             log.info("Committed changes to database successfully")
533 |         except:
    |         ^^^^^^ E722
534 |             log.exception(f"Failed to update END_DATE for user {user_dn}")
535 |     connection.close()
    |

Found 5 errors.
No fixes available (2 hidden fixes can be enabled with the `--unsafe-fixes` option).

Tip: You can run ruff check --fix to fix automatically fixable errors.

Copy link
Contributor

Image built and pushed to ghcr.io/ministryofjustice/hmpps-ldap-automation:dependabot-pip-main-oracledb-2.5.1-12349082961-30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants