Giter Site home page Giter Site logo

Comments (10)

alexprengere avatar alexprengere commented on June 27, 2024 12

It would be great if a release could be made with that change 😉

from pytest-benchmark.

nicoddemus avatar nicoddemus commented on June 27, 2024 2

Just FYI, instead of depending on py, if the only dependency is the TerminalWriter, is to import it from from _pytest._io import TerminalWriter. While it is a private module, might be cleaner than depend on the deprecated py library.

from pytest-benchmark.

nicoddemus avatar nicoddemus commented on June 27, 2024 1

At first glance it looks good!

Given there were more changes than just an import, you might consider releasing a hotfix which just adds the py dependency, and after that make a new release which drops py completely (with the changes from c2e860f).

from pytest-benchmark.

ionelmc avatar ionelmc commented on June 27, 2024 1

Just released 4.0.0.

from pytest-benchmark.

ionelmc avatar ionelmc commented on June 27, 2024 1

@pyrito I don't own that repository not do I know much about conda packaging so that question would be best answered by opening an issue in that repository. I doubt they have notifications for releases so it's best to just ping the maintainers.

from pytest-benchmark.

ionelmc avatar ionelmc commented on June 27, 2024

@nicoddemus what's the difference between those 2 TerminalWriters?

from pytest-benchmark.

nicoddemus avatar nicoddemus commented on June 27, 2024

None, we vendored py.io into pytest a long time ago, and nothing on them has changed since then. 👍

pytest-xdist just did the same thing (importing TerminalWriter from _pytest._io).

from pytest-benchmark.

ionelmc avatar ionelmc commented on June 27, 2024

@nicoddemus alright I've changed to what you've suggested but it turns out there were other issues, not sure if I've fixed correctly, can you take a look at c2e860f ?

from pytest-benchmark.

pyrito avatar pyrito commented on June 27, 2024

Hi, thanks for the quick fix on the issue! When will pytest-benchmark make the new release?

from pytest-benchmark.

pyrito avatar pyrito commented on June 27, 2024

@ionelmc when will it be on conda-forge? Referring to this specifically: https://github.com/conda-forge/pytest-benchmark-feedstock

from pytest-benchmark.

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.