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

chardet version bump #1858

Closed
Alessandro-Barbieri opened this issue May 17, 2020 · 9 comments
Closed

chardet version bump #1858

Alessandro-Barbieri opened this issue May 17, 2020 · 9 comments

Comments

@Alessandro-Barbieri
Copy link

Do you really need that old chardet version?

@ahopkins
Copy link
Member

What version of sanic are you using?

A couple things on that:

  1. chardet is an upstream dependency from httpx, we do not control that
  2. It looks like httpx is requesting the latest version [according to pypi[(https://pypi.org/project/chardet/)
  3. We are in the process of removing httpx as a dependency since it is really only used in testing

@ashleysommer
Copy link
Member

@Alessandro-Barbieri
Is this question resolved for you?

@Alessandro-Barbieri
Copy link
Author

Can you remove dependency not strictly required, why do you need the deps dependencies? This will make manual packaging more easy

@ahopkins
Copy link
Member

ahopkins commented Jun 8, 2020

Did you read the links? If yes, I'm not sure I understand the question.

@Alessandro-Barbieri
Copy link
Author

@Alessandro-Barbieri
Is this question resolved for you?

Now that I know, I'll just remove the chardet dependency from the package. I think it's better to leave this issue open until it's really removed or it's version bumped.

@Alessandro-Barbieri
Copy link
Author

I was suggesting in removing all the requirements that are dependency of the dependencies since you'll get them installed anyway with a decent package manager

@ahopkins
Copy link
Member

It is not. Where are you looking?

requirements = [
    "httptools>=0.0.10",
    uvloop,
    ujson,
    "aiofiles>=0.3.0",
    "websockets>=7.0,<9.0",
    "multidict>=4.0,<5.0",
    "httpx==0.11.1",
]

From setup.py

@Alessandro-Barbieri
Copy link
Author

Alessandro-Barbieri commented Jun 13, 2020 via email

@Tronic
Copy link
Member

Tronic commented Sep 15, 2020

Fix just merged upstream in httpx, they no longer use chardet.

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

4 participants