Giter Site home page Giter Site logo

Comments (2)

hauntsaninja avatar hauntsaninja commented on May 26, 2024 2

This was due to an issue in hatch (the build backend Black uses). Thanks to BryceStevenWilley and cooperlees, 23.12.1 should have this fix. See #4107

from black.

jon88 avatar jon88 commented on May 26, 2024

Is this intended that aiohttp is blacks default dependency

I have a different concern that I am unable to install black without installing aiohttp. To me it seems by pyproject.toml that default installation should not include aiohttp and only pip install black[d] should by dependent on aiohttp and create blackd script.

For example

docker run --rm -it python:alpine pip install black | grep aiohttp
Collecting aiohttp>=3.7.4 (from black)
  Obtaining dependency information for aiohttp>=3.7.4 from https://files.pythonhosted.org/packages/d0/89/5cdbebbdfe91c1f937ef4cc2836152cce0d2a0138029b53703d0c3f13199/aiohttp-3.9.1-cp312-cp312-musllinux_1_1_x86_64.whl.metadata
  Downloading aiohttp-3.9.1-cp312-cp312-musllinux_1_1_x86_64.whl.metadata (7.4 kB)
Collecting attrs>=17.3.0 (from aiohttp>=3.7.4->black)
Collecting multidict<7.0,>=4.5 (from aiohttp>=3.7.4->black)
Collecting yarl<2.0,>=1.0 (from aiohttp>=3.7.4->black)
Collecting frozenlist>=1.1.1 (from aiohttp>=3.7.4->black)
Collecting aiosignal>=1.1.2 (from aiohttp>=3.7.4->black)
Collecting idna>=2.0 (from yarl<2.0,>=1.0->aiohttp>=3.7.4->black)
Downloading aiohttp-3.9.1-cp312-cp312-musllinux_1_1_x86_64.whl (1.3 MB)

Is this intended?

from black.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.