Increase chardet upper limit to 7#7220
Conversation
|
Seems like there isn't a test regarding I do not see |
Error was present locally as well indeed, I didn't catch it first time. Although looking at #6996 seems it was not necessary. |
|
Aha! Seems like the fix is not enough. |
|
OK, I didn't know that I had to Also tests are running fine ensuring chardet>=6.0.0 is getting installed. I'm going to squash all commits now, there is no need for them. |
|
@nateprewitt Any objections to including this into the next release? |
|
|
git clean -xdf
tar zcvf ../python-requests_2.32.5.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.32.5-1.spec
cp ../python*-requests*2.32.5*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.32.5
rm -rf ../python*-requests_2.32.5*.*
See psf#7220
Signed-off-by: Wong Hoi Sing Edison <hswong3i@pantarei-design.com>
CodeLeash is a demonstration of agentic software development, not a production application. The worker system can be rebuilt using the patterns already in the repo (repository, service, container DI) when actually needed. Removing it keeps the scaffold focused on what it teaches: TDD enforcement, code quality checks, and full-stack integration. Also pins chardet<6 to fix a spurious RequestsDependencyWarning in requests 2.32.5 (psf/requests#7220 is merged but unreleased). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
We are currently having CI failures because there are some issues with transitive dependencies. It is already [fixed upstream](psf/requests#7220) but not release yet. For now we just adjust golden tests to expect these warnings. We will have to roll this back when upstream is fixed. Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
requests 2.32.5 asserts chardet<6 at import time, but sqlfluff and diff_cover pull in chardet without an upper bound, resolving to 7.1.0 on fresh installs. Add a workspace constraint to cap chardet until a new requests release ships the fix from psf/requests#7220. Closes #404
requests 2.32.5 asserts chardet<6 at import time, but sqlfluff and diff_cover pull in chardet without an upper bound, resolving to 7.1.0 on fresh installs. Add a workspace constraint to cap chardet until a new requests release ships the fix from psf/requests#7220. Closes #404
Fixes #7219.
Although right now I'm not sure if it would be as simple as this, but I wanted to run tests on chardet.