Closed HYP3R00T closed 1 month ago
Hi, thank you very much for taking a look and investigating.
I believe issue you are encountering was fixed in a most recent beta release: https://github.com/darrenburns/ward/issues/374
But thank you for bringing the issue with maintenance to my attention. That is going to be problematic in a long-run.
I am going to consider some options with regards to that - I wouldn't mind taking over the maintenance of ward
myself per-se. I am very hesitant to move to pytest
or other alternatives as I find ward
to be objectively better.
Hi, thank you so much for responding.
Judging by their activity, I don't think they will fix it. Are you planning to create a fork of it and publish a new package?
I am very hesitant to move to
pytest
or other alternatives as I findward
to be objectively better.
I have never used ward
. So, if you plan to maintain it (and I know it's a big decision), then I will learn how to utilize it, otherwise, I will stick with popular testing frameworks.
I will look into how well the commitment of maintaining ward
fits into my schedule in the near future. But as far as I am aware the issue with 3.12 compatibility is fixed.
Can you share what is your version of ward
?
I have version 0.67.1b0
of bard.
beaupy on master is v3.8.3 via v3.12.4 (beaupy-py3.12)
❯ poetry run python -m ward --version
python -m ward, version 0.67.1b0
Apologies for the late response. I was occupied with something personal.
But as far as I am aware the issue with 3.12 compatibility is fixed.
Why can't I run the command if that's the case? I followed the instructions as given in the readme file. The poetry install
was all good. But poetry run poe test
is not working.
It seems you are not on the latest version, as far as I understand Python 3.12 is supported on ward==0.68.0b0
EDIT: Checking pyproject.toml
, I'll make sure to bump the required ward
version
Thanks. Now it is working. So, we need to change the pyproject.toml
. I have not checked, but this ward version (ward==0.68.0b0
) should be backward compatible. I am creating a new pull request for this change.
Thanks, I've merged #98 and #99.
Thank you a lot.
As instructed in the Development section of Readme, after forking, cloning and installing dependencies (
poetry install
), when I tried to runpoetry run poe test
, I am getting the following error.After researching the possible cause of the issue, I found the reason. The problem is with the
ward
package. In that, if you check the_collect.py
file and look forFileFinder
object, you will notice that its attribute is now changed tofind_spec
instead offile_module
. Normally, I should report this issue to the official repo ofward
but they stopped actively maintaining the package. So, at the moment, we must either fix it or move to another alternative.If you have any other solution to the said problem, then kindly let me know. I would like to contribute to this project.