batchgenerators icon indicating copy to clipboard operation
batchgenerators copied to clipboard

remove dependencies unittest2 and future

Open dyollb opened this issue 1 year ago • 3 comments

Fixes #77.

Remove dependency to unittest2 and future.

  • future isn't used anywhere in the code
  • unittest2 is used only in one test

I also slightly modernized the package. All configuration settings are now in a pyproject.toml.

I ran the tests locally and they pass:

image

dyollb avatar Nov 27 '24 12:11 dyollb

Also removed setup.cfg. It was specifying the description (readme file), but this is already included in the pyproject.toml.

dyollb avatar Nov 27 '24 12:11 dyollb

A recent vulnerability was found in the future package as well: https://github.com/advisories/GHSA-xqrq-4mgf-ff32

This PR (and a release) would resolve this security issue.

MattTheCuber avatar Aug 19 '25 12:08 MattTheCuber

If the unittest changes need further review and/or testing, let me know so that I can open a PR that simply removes the future package dependency as this is a critical vulnerability.

MattTheCuber avatar Aug 19 '25 12:08 MattTheCuber