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 the python-packages group with 6 updates #82

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 9, 2024

Bumps the python-packages group with 6 updates:

Package From To
pydantic 2.8.2 2.9.0
sqlalchemy 2.0.32 2.0.34
fastapi 0.112.2 0.114.0
onetl 0.11.1 0.12.0
faker 28.1.0 28.4.1
platformdirs 4.2.2 4.3.2

Updates pydantic from 2.8.2 to 2.9.0

Release notes

Sourced from pydantic's releases.

v2.9.0 (2024-09-05)

The code released in v2.9.0 is practically identical to that of v2.9.0b2.

Check out our blog post to learn more about the release highlights!

What's Changed

Packaging

New Features

Changes

Performance

... (truncated)

Changelog

Sourced from pydantic's changelog.

v2.9.0 (2024-09-05)

GitHub release

The code released in v2.9.0 is practically identical to that of v2.9.0b2.

What's Changed

Packaging

New Features

Changes

Performance

... (truncated)

Commits

Updates sqlalchemy from 2.0.32 to 2.0.34

Release notes

Sourced from sqlalchemy's releases.

2.0.34

Released: September 4, 2024

orm

  • [orm] [bug] Fixed regression caused by issue #11814 which broke support for certain flavors of PEP 593 Annotated in the type_annotation_map when builtin types such as list, dict were used without an element type. While this is an incomplete style of typing, these types nonetheless previously would be located in the type_annotation_map correctly.

    References: #11831

sqlite

  • [sqlite] [bug] Fixed regression in SQLite reflection caused by #11677 which interfered with reflection for CHECK constraints that were followed by other kinds of constraints within the same table definition. Pull request courtesy Harutaka Kawamura.

    References: #11832

2.0.33

Released: September 3, 2024

general

  • [general] [change] The pin for setuptools<69.3 in pyproject.toml has been removed. This pin was to prevent a sudden change in setuptools to use PEP 625 from taking place, which would change the file name of SQLAlchemy's source distribution on pypi to be an all lower case name, which is likely to cause problems with various build environments that expected the previous naming style. However, the presence of this pin is holding back environments that otherwise want to use a newer setuptools, so we've decided to move forward with this change, with the assumption that build environments will have largely accommodated the setuptools change by now.

    References: #11818

orm

  • [orm] [bug] [regression] Fixed regression from 1.3 where the column key used for a hybrid property might be populated with that of the underlying column that it returns, for a property that returns an ORM mapped column directly, rather than the key

... (truncated)

Commits

Updates fastapi from 0.112.2 to 0.114.0

Release notes

Sourced from fastapi's releases.

0.114.0

You can restrict form fields to only include those declared in a Pydantic model and forbid any extra field sent in the request using Pydantic's model_config = {"extra": "forbid"}:

from typing import Annotated
from fastapi import FastAPI, Form
from pydantic import BaseModel
app = FastAPI()
class FormData(BaseModel):
username: str
password: str
model_config = {"extra": "forbid"}
@​app.post("/login/")
async def login(data: Annotated[FormData, Form()]):
return data

Read the new docs: Form Models - Forbid Extra Form Fields.

Features

  • ✨ Add support for forbidding extra form fields with Pydantic models. PR #12134 by @​tiangolo.

Docs

  • 📝 Update docs, Form Models section title, to match config name. PR #12152 by @​tiangolo.

Internal

  • ✅ Update internal tests for latest Pydantic, including CI tweaks to install the latest Pydantic. PR #12147 by @​tiangolo.

0.113.0

Now you can declare form fields with Pydantic models:

from typing import Annotated
from fastapi import FastAPI, Form
from pydantic import BaseModel
app = FastAPI()
class FormData(BaseModel):
</tr></table>

... (truncated)

Commits
  • bde12fa 🔖 Release version 0.114.0
  • 74842f0 📝 Update release notes
  • e68d8c6 📝 Update release notes
  • 4ff22a0 📝 Update docs, Form Models section title, to match config name (#12152)
  • a11e392 📝 Update release notes
  • 4633b1b ✨ Add support for forbidding extra form fields with Pydantic models (#12134)
  • 1b06b53 📝 Update release notes
  • c411b81 ✅ Update internal tests for latest Pydantic, including CI tweaks to install t...
  • d86f660 🔖 Release version 0.113.0
  • 179f838 📝 Update release notes
  • Additional commits viewable in compare view

Updates onetl from 0.11.1 to 0.12.0

Release notes

Sourced from onetl's releases.

0.12.0 (2024-09-03)

Breaking Changes

    • Change connection URL used for generating HWM names of S3 and Samba sources:

      • smb://host:port -> smb://host:port/share
      • s3://host:port -> s3://host:port/bucket (#304)
    • Update DB connectors/drivers to latest versions:

      • Clickhouse 0.6.0-patch50.6.5
      • MongoDB 10.3.010.4.0
      • MSSQL 12.6.212.8.1
      • MySQL 8.4.09.0.0
      • Oracle 23.4.0.24.0523.5.0.24.07
      • Postgres 42.7.342.7.4
  • Update Excel package from 0.20.3 to 0.20.4, to include Spark 3.5.1 support. (#306)

Features

  • Add support for specifying file formats (ORC, Parquet, CSV, etc.) in HiveWriteOptions.format (#292):

    Hive.WriteOptions(format=ORC(compression="snappy"))
    • Collect Spark execution metrics in following methods, and log then in DEBUG mode:

      • DBWriter.run()
      • FileDFWriter.run()
      • Hive.sql()
      • Hive.execute()
This is implemented using custom `SparkListener` which wraps the entire method call, and then report collected metrics. But these metrics sometimes may be missing due to Spark architecture, so they are not reliable source of information. That's why logs are printed only in DEBUG mode, and are not returned as method call result. ([#303](https://github.com/MobileTeleSystems/onetl/issues/303))
    • Generate default jobDescription based on currently executed method. Examples:

      • DBWriter.run(schema.table) -> Postgres[host:5432/database]
      • MongoDB[localhost:27017/admin] -> DBReader.has_data(mycollection)
      • Hive[cluster].execute()
If user already set custom `jobDescription`, it will left intact. ([#304](https://github.com/MobileTeleSystems/onetl/issues/304))
  • Add log.info about JDBC dialect usage (#305):

    |MySQL| Detected dialect: 'org.apache.spark.sql.jdbc.MySQLDialect'
    

... (truncated)

Commits
  • 5a0fead Merge branch 'develop'
  • fe9048d [DOP-18743] Update CHANGELOG
  • dc439c3 [DOP-18743] Update jobDescription format
  • ec4937d Update Clickhouse package
  • fb86f92 [DOP-18948] Fix CI tests
  • 3d5bfe5 [DOP-18743] Update jobDescription format
  • 61695dc [DOP-18948] Fix CHANGELOG
  • 6aa7cdf [DOP-18743] Update setup.py
  • 2e713e3 [DOP-18743] Update jobDescription format
  • baad512 [DOP-18948] Add 0.11.2 to CHANGELOG
  • Additional commits viewable in compare view

Updates faker from 28.1.0 to 28.4.1

Release notes

Sourced from faker's releases.

Release v28.4.1

See CHANGELOG.md.

Release v28.4.0

See CHANGELOG.md.

Release v28.3.0

See CHANGELOG.md.

Release v28.2.0

See CHANGELOG.md.

Changelog

Sourced from faker's changelog.

v28.4.1 - 2024-09-04

  • Fix issue where Faker does not properly convert min/max float values to Decimal. Thanks @​bdjellabaldebaran.

v28.4.0 - 2024-09-04

v28.3.0 - 2024-09-04

v28.2.0 - 2024-09-04

Commits

Updates platformdirs from 4.2.2 to 4.3.2

Release notes

Sourced from platformdirs's releases.

4.3.2

What's Changed

New Contributors

Full Changelog: tox-dev/platformdirs@4.3.1...4.3.2

4.3.1

Full Changelog: tox-dev/platformdirs@4.3.0...4.3.1

4.3.0

What's Changed

New Contributors

Full Changelog: tox-dev/platformdirs@4.2.2...4.3.0

Commits
  • c596271 Fix multi-path returned from _path methods on MacOS (#299)
  • a420284 Use uv as installer (#300)
  • 49a89ef Update README.rst
  • 4851532 Update README.rst
  • 330b272 Ensure PlatformDirs is valid superclass type for mypy AND not an abstract cla...
  • 1ca8592 Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.1 (#297)
  • 6ac03f5 [pre-commit.ci] pre-commit autoupdate (#293)
  • 9e539d7 Use include-hidden-files: true to upload coverage artifacts (#298)
  • 6a0ff60 [pre-commit.ci] pre-commit autoupdate (#288)
  • 8f59e91 Test with latest PyPy (#290)
  • 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the python-packages group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [pydantic](https://github.com/pydantic/pydantic) | `2.8.2` | `2.9.0` |
| [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) | `2.0.32` | `2.0.34` |
| [fastapi](https://github.com/fastapi/fastapi) | `0.112.2` | `0.114.0` |
| [onetl](https://github.com/MobileTeleSystems/onetl) | `0.11.1` | `0.12.0` |
| [faker](https://github.com/joke2k/faker) | `28.1.0` | `28.4.1` |
| [platformdirs](https://github.com/platformdirs/platformdirs) | `4.2.2` | `4.3.2` |


Updates `pydantic` from 2.8.2 to 2.9.0
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v2.8.2...v2.9.0)

Updates `sqlalchemy` from 2.0.32 to 2.0.34
- [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases)
- [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst)
- [Commits](https://github.com/sqlalchemy/sqlalchemy/commits)

Updates `fastapi` from 0.112.2 to 0.114.0
- [Release notes](https://github.com/fastapi/fastapi/releases)
- [Commits](fastapi/fastapi@0.112.2...0.114.0)

Updates `onetl` from 0.11.1 to 0.12.0
- [Release notes](https://github.com/MobileTeleSystems/onetl/releases)
- [Changelog](https://github.com/MobileTeleSystems/onetl/blob/develop/docs/changelog.rst)
- [Commits](MobileTeleSystems/onetl@0.11.1...0.12.0)

Updates `faker` from 28.1.0 to 28.4.1
- [Release notes](https://github.com/joke2k/faker/releases)
- [Changelog](https://github.com/joke2k/faker/blob/master/CHANGELOG.md)
- [Commits](joke2k/faker@v28.1.0...v28.4.1)

Updates `platformdirs` from 4.2.2 to 4.3.2
- [Release notes](https://github.com/platformdirs/platformdirs/releases)
- [Changelog](https://github.com/tox-dev/platformdirs/blob/main/CHANGES.rst)
- [Commits](tox-dev/platformdirs@4.2.2...4.3.2)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: sqlalchemy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: fastapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: onetl
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: faker
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: platformdirs
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the type:dependency Dependency-related changes label Sep 9, 2024
@MTSOnGithub MTSOnGithub enabled auto-merge (rebase) September 9, 2024 05:23
@MTSOnGithub MTSOnGithub merged commit 6e0937b into develop Sep 9, 2024
16 checks passed
Copy link

codecov bot commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.86%. Comparing base (2654185) to head (2f44dbb).
Report is 85 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #82   +/-   ##
========================================
  Coverage    92.86%   92.86%           
========================================
  Files           84       84           
  Lines         2452     2452           
  Branches       309      309           
========================================
  Hits          2277     2277           
  Misses         122      122           
  Partials        53       53           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@MTSOnGithub MTSOnGithub deleted the dependabot/pip/python-packages-7465308170 branch September 9, 2024 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:dependency Dependency-related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant