Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 10, 2025

Updates the requirements on crate[sqlalchemy] to permit the latest version.

Release notes

Sourced from crate[sqlalchemy]'s releases.

2.0.0

What's Changed

  • Switched JSON encoder to use the orjson library, to improve JSON marshalling performance. Thanks, @​widmogrod.

    orjson is fast and in some spots even more correct when compared against Python's stdlib json module. Contrary to the stdlib variant, orjson will serialize to bytes instead of str. When sending data to CrateDB, crate-python uses a custom encoder to add support for additional data types.

    • Python's Decimal type will be serialized to str.
    • Python's dt.datetime and dt.date types will be serialized to int (LONG) after converting to milliseconds since epoch, to optimally accommodate CrateDB's TIMESTAMP representation.
    • NumPy's data types will be handled by orjson without any ado.

Details

Full Changelog: crate/crate-python@1.0.1...2.0.0

Changelog

Sourced from crate[sqlalchemy]'s changelog.

2025/01/30 2.0.0

  • Switched JSON encoder to use the orjson_ library, to improve JSON marshalling performance. Thanks, @​widmogrod.

    orjson is fast and in some spots even more correct when compared against Python's stdlib json module. Contrary to the stdlib variant, orjson will serialize to bytes instead of str. When sending data to CrateDB, crate-python uses a custom encoder to add support for additional data types.

    • Python's Decimal type will be serialized to str.
    • Python's dt.datetime and dt.date types will be serialized to int (LONG) after converting to milliseconds since epoch, to optimally accommodate CrateDB's TIMESTAMP_ representation.
    • NumPy's data types will be handled by orjson without any ado.

.. _orjson: https://github.com/ijl/orjson .. _TIMESTAMP: https://cratedb.com/docs/crate/reference/en/latest/general/ddl/data-types.html#type-timestamp

2024/11/23 1.0.1

  • Python: Fixed "implicit namespace packages" migration by omitting __init__.py from crate namespace package, see PEP 420_ and Package Discovery and Namespace Package » Finding namespace packages_.

2024/11/05 1.0.0

  • BREAKING CHANGE: The SQLAlchemy dialect has been split off into the sqlalchemy-cratedb_ package, see notice below.
  • Feature: Returned Python datetime objects are now always timezone-aware, using UTC by default. It may be a breaking change for some users of the library that don't expect to receive "aware" instead of "naive" Python datetime objects from now on, i.e. instances with or without the tzinfo attribute set. When no time_zone information is specified when creating a database connection or cursor, datetime objects will now use Coordinated Universal Time (UTC), like CrateDB is storing timestamp values in this format. This update is coming from a deprecation of Python's datetime.utcfromtimestamp(), which is effectively also phasing out the use of "naive" timestamp objects in Python, in favor of using timezone-aware objects, also to represent datetimes in UTC.
  • Feature: Configured DB API interface attribute threadsafety = 1, which signals "Threads may share the module, but not connections."
  • Feature: Added error_trace to string representation of an Error,

... (truncated)

Commits
  • 6ec9995 Release 2.0.0
  • 44cad01 Marshalling: Restore CrateDB standard encoder
  • f53cfe6 Marshalling: Use orjson to improve JSON serialization performance
  • b44ca89 Remove tox, recommend uv
  • a2aae9b Chore: Format code using Ruff 0.9
  • 4d47a26 Chore(deps-dev): Update ruff requirement from <0.8 to <0.10
  • 4820f8f Chore: Fix test case because https://example.org/ responds differently
  • c6892d5 Chore(deps): Bump advanced-security/dismiss-alerts from 1 to 2
  • b4a2ed4 Chore(deps): Bump astral-sh/setup-uv from 4 to 5
  • 026f5c3 Chore(deps-dev): Update poethepoet requirement from <0.32 to <0.33
  • Additional commits viewable in compare view

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)

Updates the requirements on [crate[sqlalchemy]](https://github.com/crate/crate-python) to permit the latest version.
- [Release notes](https://github.com/crate/crate-python/releases)
- [Changelog](https://github.com/crate/crate-python/blob/main/CHANGES.rst)
- [Commits](crate/crate-python@0.0.1...2.0.0)

---
updated-dependencies:
- dependency-name: crate[sqlalchemy]
  dependency-version: 2.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 10, 2025
@amotl
Copy link
Contributor

amotl commented Nov 10, 2025

That other patch will take care of this.

@amotl amotl closed this Nov 10, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 10, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/crate-sqlalchemy--lt-3 branch November 10, 2025 19:58
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 python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants