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 pydantic version in the agent_requirements.in file #15320

Merged
merged 1 commit into from
Jul 20, 2023

Conversation

FlorentClarret
Copy link
Member

@FlorentClarret FlorentClarret commented Jul 20, 2023

What does this PR do?

Bump pydantic version in the agent_requirements.in file

Motivation

Run ddev validate dep $TARGET
  ddev validate dep $TARGET
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  env:
    PYTHON_VERSION: 3.9
    TARGET: 
    pythonLocation: /opt/hostedtoolcache/Python/3.9.17/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.9.17/x64/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.17/x64
    Python[2](https://github.com/DataDog/integrations-core/actions/runs/5604095001/jobs/10251613574#step:12:2)_ROOT_DIR: /opt/hostedtoolcache/Python/[3](https://github.com/DataDog/integrations-core/actions/runs/5604095001/jobs/10251613574#step:12:3).9.17/x6[4](https://github.com/DataDog/integrations-core/actions/runs/5604095001/jobs/10251613574#step:12:4)
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.9.17/x[6](https://github.com/DataDog/integrations-core/actions/runs/5604095001/jobs/10251613574#step:12:6)4
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.1[7](https://github.com/DataDog/integrations-core/actions/runs/5604095001/jobs/10251613574#step:12:7)/x64/lib
Mismatch for dependency `pydantic`:
    Agent: pydantic==1.10.[8](https://github.com/DataDog/integrations-core/actions/runs/5604095001/jobs/10251613574#step:12:8); python_version > '3.0'
    Checks: pydantic==2.0; python_version > '3.0'
Error: Mismatch for dependency `pydantic`:
    Agent: pydantic==1.[10](https://github.com/DataDog/integrations-core/actions/runs/5604095001/jobs/10251613574#step:12:10).8; python_version > 3.0
    Checks: pydantic==2.0; python_version > 3.0
Error: Process completed with exit code 1.

Additional Notes

Agent build is going to fail until DataDog/datadog-agent#17978 is merged

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have changelog/ and integration/ labels attached
  • If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

@FlorentClarret FlorentClarret requested a review from a team as a code owner July 20, 2023 05:45
@github-actions
Copy link

The validations job has failed; please review the Files changed tab for possible suggestions to resolve.

@FlorentClarret FlorentClarret force-pushed the florentclarret/base_check/bump_pydantic branch from 1c0baca to d297044 Compare July 20, 2023 06:12
Copy link
Contributor

@iliakur iliakur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very baffling why this wasn't caught by CI in the original PR...

@FlorentClarret FlorentClarret merged commit acdf389 into master Jul 20, 2023
@FlorentClarret FlorentClarret deleted the florentclarret/base_check/bump_pydantic branch July 20, 2023 12:42
vivek-datadog added a commit that referenced this pull request Jul 21, 2023
vivek-datadog added a commit that referenced this pull request Jul 24, 2023
FlorentClarret added a commit that referenced this pull request Jul 24, 2023
FlorentClarret added a commit that referenced this pull request Jul 27, 2023
* Revert "Revert "Bump pydantic version in the agent_requirements.in file (#15320)" (#15338)"

This reverts commit 8e72bf3.

* upgrade pydantic

* downgrade pydantic

* downgrade again

---------

Co-authored-by: Florent Clarret <[email protected]>
@vivek-datadog vivek-datadog added the qa/skip-qa Automatically skip this PR for the next QA label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base_package dependencies qa/skip-qa Automatically skip this PR for the next QA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants