Comments (5)
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.
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.
Hi there, I believe this can be closed by #13538. If not, feel free to comment and I can reopen it.
from prefect.
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 torequests=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.
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)
- on_completion hook not running when task is cached in Prefect 2.x HOT 1
- Tests for prefect-ray and prefect-dask are failing
- CancellationCleanup service pegs CPU to 100% HOT 1
- `prefect worker start --type ecs --pool batch --install-policy if-not-present` no longer works in prefect 2.x HOT 3
- Flow crashed HOT 9
- DbtCoreOperation `working_directory` argument does not work HOT 1
- Permission denied while creating temp folder for Gitlab refs (MacOs) HOT 4
- URLs in logs include trailing parentheses
- Tests in Github and Gitlab integrations should actually clone a repo
- Heterogeneous task compute resources
- URGENT: Prefect 2.20.5 Kubernetes Worker No Longer Passes Deployment Environment to Pod Environment HOT 6
- Prefect-docker `push_docker_image` unwanted cache hit HOT 3
- Issue during deployment run failure - 'Could not determine exit code for X' HOT 4
- Subflow with DaskTaskRunner with KubeCluster HOT 1
- retry_condition_fn Does Not Work With async Tasks in Version 3.x HOT 2
- prefect-aws doesn't calculate paths correctly if bucket_folder is set HOT 2
- Breaking Changes upgrading to v3.0 | GlobalEventLoopThread | prefect._internal.concurrency - Service 'EventsWorker' failed with 'n' pending items HOT 5
- Migration from v2.2 to v3 breaks mypy typing of `my_flow.deploy()` HOT 4
- Inconsistent `raise_on_failure=True` behaviour for `flow_run.state.result()` when using `run_deployment` HOT 4
- Add oracledb support in prefect-sqlalchemy HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prefect.