-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
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 <hswong3i@pantarei-design.com>
@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
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <hswong3i@pantarei-design.com>
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 <hswong3i@pantarei-design.com>
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 <hswong3i@pantarei-design.com>
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 <hswong3i@pantarei-design.com>
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 <hswong3i@pantarei-design.com>
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 <hswong3i@pantarei-design.com>
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 <hswong3i@pantarei-design.com>
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 hswong3i@pantarei-design.com