Comments (10)
It would be great if a release could be made with that change 😉
from pytest-benchmark.
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.
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.
Just released 4.0.0
.
from pytest-benchmark.
@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.
@nicoddemus what's the difference between those 2 TerminalWriters?
from pytest-benchmark.
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.
@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.
Hi, thanks for the quick fix on the issue! When will pytest-benchmark
make the new release?
from pytest-benchmark.
@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)
- 4.0.0: pytest is failing HOT 3
- No test are choosen when directory is specified in command line HOT 2
- HTML reports HOT 1
- Broken tests with python 3.11 HOT 2
- Change the benchmark columns in the output
- Tracking success rate of benchmarked functions HOT 1
- 4.0.0: pytest is failing in `tests/test_utils.py::test_commit_info_error` unit
- Is development on this repo still occurring? HOT 3
- `datetime.utcnow()` deprecated in Python 3.12
- pytest-benchmark causes hypothesis tests to fail HOT 1
- Undocumented behavior on `benchmark.weave` when patching class methods. HOT 1
- Using `--benchmark-only` hits assertion in pytest
- Feature request: Profiling is done cumulatively on iterations
- Document how to create benchmark groups
- Ignore actual processor speed when comparing machine_info
- Store data in `extra_info` post-run
- Getting TypeError: 'NoneType' object is not Callable HOT 2
- Add an option to store profiling information
- [FEAT] Combine benchmark result JSON files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytest-benchmark.