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

add lowerbound to requests-toolbelt and replace requests_toolbelt with requests-toolbelt #43020

Merged
merged 5 commits into from
Oct 15, 2024

Conversation

rawwar
Copy link
Collaborator

@rawwar rawwar commented Oct 15, 2024

related to #42989

I noticed that we included requests_toolbelt instead of requests-toolbelt in http provider.

I thought both downloaded different packages. So, i did a pip download requests_toolbelt --no-cache-dir and compared its checksum with pip download requests-toolbelt --no-cache-dir and both were same.

Not sure if there's no difference between a -(hyphen) and _(underscore) when downloading/installing packages. Officially, its requests-toolbelt according to pypi - https://pypi.org/project/requests-toolbelt/

…cicd/requests-toolbelt_lowerbound
@rawwar rawwar changed the title add lowerbount to requests-toolbelt and replace requests_toolbelt with requests-toolbelt add lowerbound to requests-toolbelt and replace requests_toolbelt with requests-toolbelt Oct 15, 2024
@potiuk
Copy link
Member

potiuk commented Oct 15, 2024

Not sure if there's no difference between a -(hyphen) and _(underscore) when downloading/installing packages. Officially, its requests-toolbelt according to pypi - https://pypi.org/project/requests-toolbelt

Package names are normalized (approved in PEP 503 - https://packaging.python.org/en/latest/specifications/name-normalization/#name-normalization) - see Normalization specification - https://packaging.python.org/en/latest/specifications/name-normalization/#name-normalization

The two names are equivalent but we want to use the "normalized" name, so the change is perfectly fine.

@potiuk potiuk merged commit 2899e5f into apache:main Oct 15, 2024
103 checks passed
@rawwar rawwar deleted the kalyan/cicd/requests-toolbelt_lowerbound branch October 16, 2024 03:25
R7L208 pushed a commit to R7L208/airflow that referenced this pull request Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants