Giter Site home page Giter Site logo

Comments (11)

pmithrandir avatar pmithrandir commented on June 15, 2024 1

Hi,

I'll wait for his feedback.
On a note side, when calling get_referrers on the pydantic_object, I get a link to the orm object.
Doesn't look OK.

from pydantic.

pmithrandir avatar pmithrandir commented on June 15, 2024 1

Hi,

We tested on windows with 3.11.5, 3.11.6 and 3.11.9 and it's failing each time.

On our linux server, it passes on 3.11.5.
It looks like python is not behaving the same way on windows and linux.

from pydantic.

sydney-runkle avatar sydney-runkle commented on June 15, 2024

@pmithrandir,

Thanks for the report. I haven't taken an in-depth look yet, but maybe @davidhewitt has some insight.

from pydantic.

pmithrandir avatar pmithrandir commented on June 15, 2024

Hello @davidhewitt do you have any hint to share ?

from pydantic.

davidhewitt avatar davidhewitt commented on June 15, 2024

I have taken a brief look but I cannot reproduce this on any combination of sqlalchemy 1.4 or 2, Python 3.11 or 3.12 or pydantic 2.7 or main.

If you have another example of what you think is the problematic interaction I can take a further look.

from pydantic.

pmithrandir avatar pmithrandir commented on June 15, 2024

Hello,

Thank you for testing it.

You mean that the test passes on your configuration ?

We have sql alchemy 1.4, pydantic 2.7.1 and python 3.11.5 on windows. (servers on red hat)

My expected result would be that all memory is freed up after the pydantic object if removed.

If you could share your python version, it could be nice. Would help me to test if something changes depends on that.

Rergards,
Pierre

from pydantic.

davidhewitt avatar davidhewitt commented on June 15, 2024

To check, you're testing on Windows? I tried 3.11 and 3.12, both on Ubuntu.

from pydantic.

davidhewitt avatar davidhewitt commented on June 15, 2024

(Yes, the test passes for me)

from pydantic.

pmithrandir avatar pmithrandir commented on June 15, 2024

which version of 3.11 are you using please ?
I'll try with the same one to see if something pops up

from pydantic.

davidhewitt avatar davidhewitt commented on June 15, 2024

3.11.6

from pydantic.

davidhewitt avatar davidhewitt commented on June 15, 2024

I will try to reproduce on Windows some time soon, most likely next week.

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.