oldani / HtmlTestRunner

A Test Runner in python, for Human Readable HTML Reports
MIT License
295 stars 171 forks source link

fix: Removed call to _count_relevant_tb_levels #94

Closed walidsi closed 2 months ago

walidsi commented 1 year ago

Removed call to _count_relevant_tb_levels to work with lastest version of unittest

SofieneOuerdiane commented 1 year ago

Hello, is there some issues blocking the merge of this pull request ?

KamRosEmer commented 1 year ago

Hi, I am also waiting for that fix

aurelienlair commented 1 year ago

Yeah actually I'm not waiting, but I just followed a course which is using this package and I got that issue too. Maybe it would be time to release that fix..?

TXTT2016 commented 11 months ago

how about this merge request? I have met this problem.

'HtmlTestResult' object has no attribute '_count_relevant_tb_levels'. Did you mean: '_is_relevant_tb_level'
Matindo commented 2 months ago

Is there anyone out there who can merge this and issue a new release, please? I'm having the same problem as @TXTT2016 and cannot move unless this is cleared, or I have to look for another way to report🤦‍♂️

thomaslrg commented 2 months ago

Looking forward to the release, @oldani. The merged PR will be a great addition!

rafoelhonrado commented 1 month ago

This was merged? Because when I install using pip I am still getting the old version

thomaslrg commented 1 month ago

This was merged? Because when I install using pip I am still getting the old version

@rafoelhonrado Yes it's been merged to the master branch of the repository, but the latest release (v1.2.1) of the Python package was on dated Sep 9, 2019.

You can install the package from the GitHub source using

$ pip install git+https://github.com/oldani/HtmlTestRunner@master

or add the following to your requirements.txt

html-testRunner @ git+https://github.com/oldani/HtmlTestRunner@master
bbassett-tibco commented 4 weeks ago

I'd second the notion that a new release to PyPI is probably warranted now that Python 3.13 has released (with the updates to unittest). Unfortunately, due to our dependency management processes, we're not allowed to depend on prereleases of other components (so @thomaslrg's workaround using the git+https URL is out for us).