Skip to content

Mnt/track upstreams#84

Open
tacaswell wants to merge 2 commits into
bluesky:mainfrom
tacaswell:mnt/track_upstreams
Open

Mnt/track upstreams#84
tacaswell wants to merge 2 commits into
bluesky:mainfrom
tacaswell:mnt/track_upstreams

Conversation

@tacaswell

Copy link
Copy Markdown
Contributor

Description

Accounts for upstream changes

Motivation and Context

Summary of Changes for Release Notes

Fixed

Added

Changed

  • bumped minimum version of sqlalchemy to 2
  • bumped minimum version of pydantic to 2
  • switched from httpx -> httpx2

Removed

How Has This Been Tested?

will run on CI, but collects without warnings locally.

tacaswell added 2 commits June 2, 2026 22:37
bluesky_httpserver/schemas.py:36
bluesky_httpserver/schemas.py:36: PydanticDeprecatedSince20: Pydantic V1 style `@validator` validators are deprecated. You should migrate to Pydantic V2 style `@field_validator` validators, see the migration guide for more details. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
    @pydantic.validator("error", always=True)

../../../../.virtualenvs/sys313/lib64/python3.13/site-packages/pydantic/fields.py:1093
../../../../.virtualenvs/sys313/lib64/python3.13/site-packages/pydantic/fields.py:1093
  /home/tcaswell/.virtualenvs/sys313/lib64/python3.13/site-packages/pydantic/fields.py:1093: PydanticDeprecatedSince20: Using extra keyword arguments on `Field` is deprecated and will be removed. Use `json_schema_extra` instead. (Extra keys: 'example'). Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
    warn(

bluesky_httpserver/database/base.py:5
  _httpserver/database/base.py:5: MovedIn20Warning: The ``declarative_base()`` function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
    Base = declarative_base()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Aided by 🤖
pydantic has forked upstream https://github.com/pydantic/httpx2 and
is planning to maintain it going forward.
@checkmarx-gh-ast-us-povs

Copy link
Copy Markdown

Logo
Checkmarx One – Scan Summary & Details93a3beb5-4047-4f6c-bd5c-4bb2f8694d9d

Great job! No new security vulnerabilities introduced in this pull request


Communicate with Checkmarx by submitting a PR comment with @Checkmarx followed by one of the supported commands. Learn about the supported commands here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant