[Bug 276498] textproc/py-acora: fix build with py311 by update to 2.4

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 21 Jan 2024 14:59:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276498

            Bug ID: 276498
           Summary: textproc/py-acora: fix build with py311 by update to
                    2.4
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: antoine@FreeBSD.org
          Reporter: rm@FreeBSD.org
          Assignee: antoine@FreeBSD.org
             Flags: maintainer-feedback?(antoine@FreeBSD.org)

Created attachment 247819
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247819&action=edit
2.4 update

Simple update patch. All tests are passing:

rm@cf:~/ports/textproc/py-acora% make test
===>  Testing for py311-acora-2.4
===>   py311-acora-2.4 depends on file: /usr/local/bin/python3.11 - found
/usr/home/rm/ports/textproc/py-acora/work/acora-2.4/scratch/test.py:443:
DeprecationWarning: unittest.makeSuite() is deprecated and will be removed in
Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase() instead.
  unittest.makeSuite(UnicodeAcoraTest),
/usr/home/rm/ports/textproc/py-acora/work/acora-2.4/scratch/test.py:444:
DeprecationWarning: unittest.makeSuite() is deprecated and will be removed in
Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase() instead.
  unittest.makeSuite(PyUnicodeAcoraTest),
/usr/home/rm/ports/textproc/py-acora/work/acora-2.4/scratch/test.py:445:
DeprecationWarning: unittest.makeSuite() is deprecated and will be removed in
Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase() instead.
  unittest.makeSuite(BytesAcoraTest),
/usr/home/rm/ports/textproc/py-acora/work/acora-2.4/scratch/test.py:446:
DeprecationWarning: unittest.makeSuite() is deprecated and will be removed in
Python 3.13. Please use unittest.TestLoader.loadTestsFromTestCase() instead.
  unittest.makeSuite(PyBytesAcoraTest),
----------------------------------------------------------------------
Ran 83 tests in 0.252s

OK

-- 
You are receiving this mail because:
You are the assignee for the bug.