Code Monkey home page Code Monkey logo

Comments (8)

Tinche avatar Tinche commented on May 13, 2024

I think the problem is I only publish wheels, and easy_install can't handle wheels.

Pip really is the future, and easy_install a legacy thing. Could you be persuaded to use pip instead? (An option is to easy_install pip, then use pip...)

from pytest-asyncio.

wiliamsouza avatar wiliamsouza commented on May 13, 2024

@Tinche Yes, that's correct.
The problem is not me is the setup.py that keep using easy_install for some internal things like install requirements defined inside it. Please see an example here https://github.com/wiliamsouza/echo/blob/master/setup.py#L18. I made a workaround here wiliamsouza/echod@66e28d4. If you provides a source dist you don't break setup.py and everyone using pip will keep using wheels for default.

from pytest-asyncio.

nicoddemus avatar nicoddemus commented on May 13, 2024

@Tinche any reason for not also providing a sdist? That seems to me to be the standard practice, publish both sdist and wheels whenever possible.

from pytest-asyncio.

Tinche avatar Tinche commented on May 13, 2024

@wiliamsouza Ah, you're using tests_require. Personally, I've switched to using a special requirements.txt for test requirements, mostly because of this situation of setuptools using easy_install for the requirements (you miss all the others benefits of pip too).

@nicoddemus Well, as I understand it wheels are superior to sdists even in the pure Python case (faster installation, no arbitrary code execution during installation). Since this is a Python 3 project I thought we'd just use the modern goodies off the bat. I guess there'd be no harm providings sdists too, other than the 30 seconds more effort any time a release is made...

from pytest-asyncio.

nicoddemus avatar nicoddemus commented on May 13, 2024

I guess sdist is the plain-old dist format which can be used by absolutely anyone, so it makes sense to always publish it alongside wheels. For example, I'm not sure you can create conda packages directly from wheels, but you can from sdists.

from pytest-asyncio.

Tinche avatar Tinche commented on May 13, 2024

I've just pushed out 0.2.0 to PyPI, including a sdist, so this should now work.

from pytest-asyncio.

wiliamsouza avatar wiliamsouza commented on May 13, 2024

@Tinche Thanks!

from pytest-asyncio.

smurfix avatar smurfix commented on May 13, 2024

So close this issue already ;-)

from pytest-asyncio.

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.