Git Product home page Git Product logo

Comments (5)

ConstantinoSchillebeeckx avatar ConstantinoSchillebeeckx commented on September 24, 2024 7

Did you by chance start using requests==2.32.0? I'm seeing the same thing when upgrading to that version. In my case, pinning to requests=2.31.0 resolved the issue for now.

See:

from prefect.

s-jorgenfroland avatar s-jorgenfroland commented on September 24, 2024 1

This seems to be an issue after requests was updated to 2.32.2. I also succeeded by installing any version below 2.32.2. In my case 2.31.0.

See also: docker/docker-py#325

from prefect.

serinamarie avatar serinamarie commented on September 24, 2024 1

Hi there, I believe this can be closed by #13538. If not, feel free to comment and I can reopen it.

from prefect.

leonkozlowski avatar leonkozlowski commented on September 24, 2024

Did you by chance start using requests==2.32.0? I'm seeing the same thing when upgrading to that version. In my case, pinning to requests=0.31.0 resolved the issue for now.

See:

@ConstantinoSchillebeeckx this stems from a requirement of prefect - apprise

apprise has an unpinned/unbounded requirement for requests in their requirements.txt

Do you think this should be handled within the prefect requirements?

from prefect.

zjgoodman avatar zjgoodman commented on September 24, 2024

I encountered this issue as well and downgrading to requests==2.31.0 fixed the problem for me as well. However, can someone more knowledgable than me confirm that the prefect-docker python package doesn't accidentally inherit >2.31.0? If I take a look at my python dependency tree I can see the following:

prefect-docker==0.5.2
├── docker [required: >=6.1.1, installed: 6.1.3]
│   ├── packaging [required: >=14.0, installed: 24.0]
│   ├── requests [required: >=2.26.0, installed: 2.31.0] <------------ I manually installed 2.31.0 because 2.32 got automatically installed

To me it appears that it does indeed inherit whatever version pip decides to install (latest?) through the docker lib. It might be good to add a maximum allowed version of 2.31 to ensure that nobody else runs into this issue. Either way the issue is resolved for me now. Thanks for your help!

from prefect.

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.