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

build(deps): bump pydantic from 2.8.2 to 2.10.2 in /api #161

Closed
wants to merge 2 commits into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps pydantic from 2.8.2 to 2.10.2.

Release notes

Sourced from pydantic's releases.

v2.10.2 2024-11-26

What's Changed

Fixes

Full Changelog: pydantic/pydantic@v2.10.1...v2.10.2

v2.10.1 2024-11-21

What's Changed

Packaging

Fixes

Full Changelog: pydantic/pydantic@v2.10.0...v2.10.1

v2.10.0 2024-11-20

The code released in v2.10.0 is practically identical to that of v2.10.0b2. See the v2.10 release blog post for the highlights!

What's Changed

Packaging

New Features

... (truncated)

Changelog

Sourced from pydantic's changelog.

v2.10.2 (2024-11-25)

GitHub release

What's Changed

Fixes

v2.10.1 (2024-11-21)

GitHub release

What's Changed

Packaging

Fixes

New Contributors

v2.10.0 (2024-11-20)

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

GitHub release

See the v2.10 release blog post for the highlights!

What's Changed

Packaging

... (truncated)

Commits

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)

0x1026 and others added 2 commits December 3, 2024 02:59
This pull request introduces several updates to the project, focusing on
improving the CI/CD pipeline, adding support for a new API, and
enhancing the overall project configuration and documentation. The most
important changes include modifications to the GitHub Actions workflows,
updates to the Docker configuration, and enhancements to the environment
and dependency management.

Move the API to this repository, improve the Docker and CI
configurations, and enhance the testing setup with coverage reporting.
Simplify the Sensor model and update field names for better clarity.

### CI/CD Pipeline Enhancements:
*
[`.github/workflows/main.yml`](diffhunk://#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3R17-R54):
Added a new job to detect changes and updated the workflow to include
the new API service in the build and test processes.
[[1]](diffhunk://#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3R17-R54)
[[2]](diffhunk://#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3R104)
[[3]](diffhunk://#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3L91-R114)
[[4]](diffhunk://#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3L113-R136)
[[5]](diffhunk://#diff-7829468e86c1cc5d5133195b5cb48e1ff6c75e3e9203777f6b2e379d9e4882b3L144-R177)
*
[`.github/workflows/tests.yml`](diffhunk://#diff-1db27d93186e46d3b441ece35801b244db8ee144ff1405ca27a163bfe878957fR5-R14):
Updated the tests workflow to conditionally run tests for the new API
service based on the detected changes.
[[1]](diffhunk://#diff-1db27d93186e46d3b441ece35801b244db8ee144ff1405ca27a163bfe878957fR5-R14)
[[2]](diffhunk://#diff-1db27d93186e46d3b441ece35801b244db8ee144ff1405ca27a163bfe878957fR57-R101)

### Docker Configuration:
*
[`Dockerfile`](diffhunk://#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557L33-R35):
Added configurations for setting up and running the development and test
environments with Xdebug.
[[1]](diffhunk://#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557L33-R35)
[[2]](diffhunk://#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557L43-R46)
*
[`api/Dockerfile`](diffhunk://#diff-21ee93e31c9cec7a5f33b680622da377c451b62b6c44eac6d9550eade41beb47R1-R61):
Introduced a new Dockerfile for the API service, including separate
stages for dependencies, development, and production.

### Environment and Dependency Management:
*
[`.env.example`](diffhunk://#diff-a3046da0d15a27e89f2afe639b25748a7ad4d9290af3e7b1b6c1a5533c8f0a8cL8-R11):
Updated the database user and password configuration for better
security.
* `api/requirements.txt` and `api/requirements-dev.txt`: Added necessary
dependencies for the FastAPI service and testing.
[[1]](diffhunk://#diff-f380e1392f38d13c3831f35c9f505277739b484c035bc791c21cc6d081845607R1-R14)
[[2]](diffhunk://#diff-db780fd4b730d61b6b337401dde9dd8019689d11865358769ed489c22aef7dcbR1-R5)

### Project Configuration:
*
[`.github/dependabot.yml`](diffhunk://#diff-dd4fbda47e51f1e35defb9275a9cd9c212ecde0b870cba89ddaaae65c5f3cd28R15-R21):
Added configuration for Dependabot to manage Python dependencies for the
new API service.
*
[`.github/file-filters.yml`](diffhunk://#diff-e0c6dc9b4726a064d96caecea748af61ebf97fc1fdd20980f35fe9be1e5d3c0cR1-R4):
Introduced file filters for the new API service to optimize the CI/CD
process.
*
[`.vscode/settings.json`](diffhunk://#diff-a5de3e5871ffcc383a2294845bd3df25d3eeff6c29ad46e3a396577c413bf357L3-R4):
Updated VS Code settings to include schema validation for the new Docker
Compose file.

### Documentation:
*
[`README.md`](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L7-R26):
Enhanced the installation instructions to include environment variable
setup and access URLs for different parts of the application.

## Resources
-
https://github.com/codecov/example-php/blob/main/.github/workflows/ci.yml
-
https://github.com/codecov/example-python/blob/main/.github/workflows/ci.yml
-
https://docs.github.com/en/actions/sharing-automations/reusing-workflows
-
https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/using-jobs-in-a-workflow#defining-prerequisite-jobs
-
https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions#hashfiles
-
https://gist.github.com/GuillaumeFalourd/1b3755612299523e2602bdc35df7441b
- https://github.com/codecov/codecov-action
- (Not yet)
https://github.com/iamtodor/demo-github-actions-python-linter-configuration/tree/main
-
https://github.com/php-actions/composer?tab=readme-ov-file#passing-arguments
- https://github.com/PhpGt/Database/blob/master/.github/workflows/ci.yml
- https://stackoverflow.com/a/75735736
-
https://github.com/dorny/paths-filter/?tab=readme-ov-file#paths-changes-filter
- (Not yet) https://dev.to/jackmiras/xdebug-in-vscode-with-docker-379l
- https://github.com/sebastianbergmann/phpunit/blob/main/phpunit.xml
-
https://github.com/sebastianbergmann/phpunit/blob/main/.github/workflows/ci.yaml#L187-L226
- (Not yet) https://github.com/sebastianbergmann/php-code-coverage
-
https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow
- https://github.com/reproducible-containers/buildkit-cache-dance
- (Not yet) https://docs.docker.com/engine/swarm/services/
- (Not yet) https://docs.docker.com/engine/swarm/stack-deploy/
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.8.2 to 2.10.2.
- [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.10.2)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner December 3, 2024 02:00
@dependabot dependabot bot added kind/dependencies Categorizes issue or PR as related to dependencies. needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. labels Dec 3, 2024
@0x1026 0x1026 requested review from a team as code owners December 3, 2024 11:35
@0x1026 0x1026 self-requested a review December 3, 2024 11:35
@0x1026 0x1026 changed the base branch from main to refactor/move-api-here December 3, 2024 13:00
Base automatically changed from refactor/move-api-here to main December 3, 2024 22:49
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 3, 2024

Superseded by #170.

@dependabot dependabot bot closed this Dec 3, 2024
@dependabot dependabot bot deleted the dependabot/pip/api/pydantic-2.10.2 branch December 3, 2024 22:50
@0x1026 0x1026 removed the needs-triage Indicates an issue or PR lacks a `triage/foo` label and requires one. label Dec 4, 2024
@0x1026 0x1026 added this to the Sprint 3 - Prototype milestone Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/dependencies Categorizes issue or PR as related to dependencies.
Projects
Status: Fet
Development

Successfully merging this pull request may close these issues.

1 participant