setuptools-py2cfg icon indicating copy to clipboard operation
setuptools-py2cfg copied to clipboard

install_requires = setuptools; python_version>="3.12" and upgrade GitHub Actions

Open cclauss opened this issue 3 months ago • 0 comments

@gvalkov Your review, please.

Fixes #8 Fixes #10 Fixes #22 Fixes #23

  • #8
  • #10
  • #22
  • #23

distutils is deprecated with removal planned for Python 3.12. See the What’s New entry for more information.

install_requires =
    setuptools; python_version>="3.12"

Mock(spec) --> Mock(autospec) https://github.com/gvalkov/setuptools-py2cfg/blob/7299f1c9f11f0d455c244d5a51ca95c3cc34dbfc/setuptools_py2cfg.py#L44

  • https://nedbatchelder.com/blog/202202/why_your_mock_still_doesnt_work.html

cclauss avatar Apr 15 '24 07:04 cclauss