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

ci: pdm build failed #2

Closed
YDX-2147483647 opened this issue May 4, 2023 · 1 comment
Closed

ci: pdm build failed #2

YDX-2147483647 opened this issue May 4, 2023 · 1 comment

Comments

@YDX-2147483647
Copy link
Owner

YDX-2147483647 commented May 4, 2023

AttributeError: 'HTTPResponse' object has no attribute 'strict'

psf/cachecontrol#292
pdm-project/pdm#1879

It's requests 2.30, which allows urllib3 v2.

https://github.com/psf/requests/blob/main/HISTORY.md#2300-2023-05-03

YDX-2147483647 added a commit that referenced this issue May 5, 2023
@YDX-2147483647
Copy link
Owner Author

For others convenience:

      - name: Setup pdm
        uses: pdm-project/setup-pdm@v3
        with:
        with:
          python-version: 3.11
          cache: true
        env:
          PDM_DEPS: 'urllib3<2'  # 👈

pdm-project/pdm#1879 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant