Giter VIP home page Giter VIP logo

Comments (4)

bjmc avatar bjmc commented on May 27, 2024

Interestingly, installing Pydantic 2.6.4 via https://pypi.org/simple does include all the dependencies, so this appears to be a regression of some sort.

[tool.poetry]
name = "test"
version = "0.1.0"
description = ""
authors = []
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.10"
pydantic = {version = "2.6.4", extras = ["email"]}


[[tool.poetry.source]]
name = "PyPI-public"
url = 'https://pypi.org/simple'

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

from pydantic.

Viicos avatar Viicos commented on May 27, 2024

Duplicate of #9249, #9226

from pydantic.

bjmc avatar bjmc commented on May 27, 2024

Chasing down the rabbit hole of links to other issues, I end up here with the claim that:

For those that don't want to read through the other issues, the fix is to make sure that both poetry and (in my case) pkginfo are up to date

But I am using the latest released version of Poetry.

$ poetry --version
Poetry (version 1.8.2)

If maintainers are confident this is really a poetry bug, and not something that should be resolved in the packaging of Pydantic, then we should close this issue as a duplicate.

My temporary workaround has been to explicitly list Pydantic's dependencies as top level dependencies for our project.

from pydantic.

bjmc avatar bjmc commented on May 27, 2024

This comment suggests poetry self add pkginfo>=1.10.0 and that does seem to resolve the issue for me locally, but need to figure out the best way to apply that in the CI pipeline.

Closing this issue.

from pydantic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.