Update Dependency with chardet>=3.0.2,<6#6179
Conversation
https://github.com/chardet/chardet/releases/tag/5.0.0 was released on 2022-06-25 with remove of Python 3.6 support, which also align with our Python > 3.6 requirement. Signed-off-by: Wong Hoi Sing Edison <[email protected]>
@nateprewitt thank you for your prompt reply, and I had also discover this when running GitLab CLI.
As your reference, https://github.com/python-gitlab/python-gitlab/blob/main/setup.py using request, and I got following message before apply this PR: Now my re-packaged https://build.opensuse.org/package/show/home:alvistack/psf-requests-2.28.0 working fine with https://build.opensuse.org/package/show/home:alvistack/python-gitlab-python-gitlab-3.5.0 under Ubuntu 22.04 with Python 3.10. |
|
Result after running |
nateprewitt
left a comment
There was a problem hiding this comment.
I ran through some checks locally and our previous test benchmarks seem to match between the two. I think we can raise the version range here comfortably.
This makes `requests` compatible with `chardet` v5: psf/requests#6179
git clean -xdf
tar zcvf ../python-requests_2.27.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.27.1-1.spec
mv ../python*-requests*2.27.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.27.1
rm -rf ../python*-requests_2.27.1*.*
See psf#6179
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf
tar zcvf ../python-requests_2.27.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.27.1-1.spec
mv ../python*-requests*2.27.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.27.1
rm -rf ../python*-requests_2.27.1*.*
See psf#6179
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf
tar zcvf ../python-requests_2.27.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.27.1-1.spec
mv ../python*-requests*2.27.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.27.1
rm -rf ../python*-requests_2.27.1*.*
See psf#6179
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf
tar zcvf ../python-requests_2.27.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.27.1-1.spec
mv ../python*-requests*2.27.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.27.1
rm -rf ../python*-requests_2.27.1*.*
See psf#6179
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf
tar zcvf ../python-requests_2.27.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.27.1-1.spec
mv ../python*-requests*2.27.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.27.1
rm -rf ../python*-requests_2.27.1*.*
See psf#6179
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf
tar zcvf ../python-requests_2.27.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.27.1-1.spec
mv ../python*-requests*2.27.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.27.1
rm -rf ../python*-requests_2.27.1*.*
See psf#6179
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf
tar zcvf ../python-requests_2.27.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.27.1-1.spec
mv ../python*-requests*2.27.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.27.1
rm -rf ../python*-requests_2.27.1*.*
See psf#6179
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
This makes `requests` compatible with `chardet` v5: psf/requests#6179
git clean -xdf
tar zcvf ../python-requests_2.27.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.27.1-1.spec
mv ../python*-requests*2.27.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.27.1
rm -rf ../python*-requests_2.27.1*.*
See psf#6179
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf
tar zcvf ../python-requests_2.27.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.27.1-1.spec
mv ../python*-requests*2.27.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.27.1
rm -rf ../python*-requests_2.27.1*.*
See psf#6179
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf
tar zcvf ../python-requests_2.27.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.27.1-1.spec
mv ../python*-requests*2.27.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.27.1
rm -rf ../python*-requests_2.27.1*.*
See psf#6179
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf
tar zcvf ../python-requests_2.27.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.27.1-1.spec
mv ../python*-requests*2.27.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.27.1
rm -rf ../python*-requests_2.27.1*.*
See psf#6179
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf
tar zcvf ../python-requests_2.27.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.27.1-1.spec
mv ../python*-requests*2.27.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.27.1
rm -rf ../python*-requests_2.27.1*.*
See psf#6179
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf
tar zcvf ../python-requests_2.27.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.27.1-1.spec
mv ../python*-requests*2.27.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.27.1
rm -rf ../python*-requests_2.27.1*.*
See psf#6179
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
git clean -xdf
tar zcvf ../python-requests_2.27.1.orig.tar.gz --exclude=.git .
debuild -uc -us
cp python-requests.spec ../python-requests_2.27.1-1.spec
mv ../python*-requests*2.27.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/psf-requests-2.27.1
rm -rf ../python*-requests_2.27.1*.*
See psf#6179
Signed-off-by: Wong Hoi Sing Edison <[email protected]>
https://github.com/chardet/chardet/releases/tag/5.0.0 was released on 2022-06-25 with remove of Python 3.6 support, which also align with our Python > 3.6 requirement.
Signed-off-by: Wong Hoi Sing Edison [email protected]