Your message dated Sun, 01 Sep 2024 11:19:22 +0000
with message-id <e1skic6-003wof...@fasolo.debian.org>
and subject line Bug#1080235: fixed in python-pulp 2.7.0+dfsg-4
has caused the Debian Bug report #1080235,
regarding FTBFS with setuptools 72: E: pybuild pybuild:389: test: plugin 
distutils failed with: exit code=1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1080235: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1080235
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-pulp
Version: 2.7.0+dfsg-3
Severity: serious
Tags: ftbfs
Justification: FTBFS
User: debian-pyt...@lists.debian.org
Usertags: setup.py-test

Dear maintainer,

During a test rebuild for packages affected by setuptools 72, python-pulp
failed to rebuild.

FWIW: I think these bugs were all caused by setuptools v72 dropping
support for the "test" command, so dh-python has fallen back to
distutils / other test plugins.

If you're trying to figure out how to fix the bug, look at the
implementation of test_suite in setup.py to see what magic it does for
test setup.

-------------------------------------------------------------------------------
[...]
test_pulp_060 (pulp.tests.test_pulp.YAPOSIBTest.test_pulp_060) ... skipped 
"solver <class 'pulp.apis.coin_api.YAPOSIB'> not available"
test_pulp_061 (pulp.tests.test_pulp.YAPOSIBTest.test_pulp_061) ... skipped 
"solver <class 'pulp.apis.coin_api.YAPOSIB'> not available"
test_pulp_070 (pulp.tests.test_pulp.YAPOSIBTest.test_pulp_070) ... skipped 
"solver <class 'pulp.apis.coin_api.YAPOSIB'> not available"
test_pulp_075 (pulp.tests.test_pulp.YAPOSIBTest.test_pulp_075) ... skipped 
"solver <class 'pulp.apis.coin_api.YAPOSIB'> not available"
test_pulp_080 (pulp.tests.test_pulp.YAPOSIBTest.test_pulp_080)
Test the reporting of dual variables slacks and reduced costs ... skipped 
"solver <class 'pulp.apis.coin_api.YAPOSIB'> not available"
test_pulp_090 (pulp.tests.test_pulp.YAPOSIBTest.test_pulp_090) ... skipped 
"solver <class 'pulp.apis.coin_api.YAPOSIB'> not available"
test_pulp_100 (pulp.tests.test_pulp.YAPOSIBTest.test_pulp_100)
Test the ability to sequentially solve a problem ... skipped "solver <class 
'pulp.apis.coin_api.YAPOSIB'> not available"
test_pulp_110 (pulp.tests.test_pulp.YAPOSIBTest.test_pulp_110)
Test the ability to use fractional constraints ... skipped "solver <class 
'pulp.apis.coin_api.YAPOSIB'> not available"
test_pulp_120 (pulp.tests.test_pulp.YAPOSIBTest.test_pulp_120)
Test the ability to use Elastic constraints ... skipped "solver <class 
'pulp.apis.coin_api.YAPOSIB'> not available"
test_pulp_121 (pulp.tests.test_pulp.YAPOSIBTest.test_pulp_121)
Test the ability to use Elastic constraints ... skipped "solver <class 
'pulp.apis.coin_api.YAPOSIB'> not available"
test_pulp_122 (pulp.tests.test_pulp.YAPOSIBTest.test_pulp_122)
Test the ability to use Elastic constraints (penalty unchanged) ... skipped 
"solver <class 'pulp.apis.coin_api.YAPOSIB'> not available"
test_pulp_123 (pulp.tests.test_pulp.YAPOSIBTest.test_pulp_123)
Test the ability to use Elastic constraints (penalty unbounded) ... skipped 
"solver <class 'pulp.apis.coin_api.YAPOSIB'> not available"
test_timeLimit (pulp.tests.test_pulp.YAPOSIBTest.test_timeLimit) ... skipped 
"solver <class 'pulp.apis.coin_api.YAPOSIB'> not available"
test_unbounded_problem__is_not_valid 
(pulp.tests.test_pulp.YAPOSIBTest.test_unbounded_problem__is_not_valid)
Given an unbounded problem, where x will tend to infinity ... skipped "solver 
<class 'pulp.apis.coin_api.YAPOSIB'> not available"
test_unset_objective_value__is_valid 
(pulp.tests.test_pulp.YAPOSIBTest.test_unset_objective_value__is_valid)
Given a valid problem that does not converge, ... skipped "solver <class 
'pulp.apis.coin_api.YAPOSIB'> not available"

======================================================================
ERROR: test_examples (pulp.tests.test_examples.Examples_DocsTests.test_examples)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pulp/build/pulp/tests/test_examples.py",
 line 13, in test_examples
    files = os.listdir(os.path.join(parent_dir, examples_dir))
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pulp/build/pulp/tests/../../examples'

----------------------------------------------------------------------
Ran 1005 tests in 21.850s

FAILED (errors=1, skipped=885)
Trying:
    x = LpVariable("x", 0, 3)
Expecting nothing
ok
Trying:
    y = LpVariable("y", 0, 1)
Expecting nothing
ok
Trying:
    prob = LpProblem("myProblem", const.LpMinimize)
Expecting nothing
ok
Trying:
    prob += x + y <= 2
Expecting nothing
ok
Trying:
    prob += -4 * x + y
Expecting nothing
ok
Trying:
    status = prob.solve(PULP_CBC_CMD(msg=0))
Expecting nothing
ok
Trying:
    const.LpStatus[status]
Expecting:
    'Optimal'
ok
Trying:
    value(x)
Expecting:
    2.0
ok
1 items passed all tests:
   8 tests in pulp
8 tests in 1 items.
8 passed and 0 failed.
Test passed.
         Test that logic put in place for deprecation handling of indexs works
         Testing 'indexs' param continues to work for LpVariable.dicts
         Testing 'indexs' param continues to work for LpVariable.matrix
         Testing 'indices' argument works in LpVariable.dicts
         Testing 'indices' param continues to work for LpVariable.matrix
         Testing invalid status
         Testing continuous LP solution - export dict
         Testing export dict for LP
         Testing export dict MIP
         Testing maximize continuous LP solution
         Testing continuous LP solution - export JSON
         Testing continuous LP solution - export solver dict
         Testing continuous LP solution - export solver JSON
         Testing reading MPS files - binary variable, no constraint names
         Testing reading MPS files - integer variable
         Testing reading MPS files - maximize
         Testing reading MPS files - noname
         Testing invalid var names
         Testing logPath argument
         Testing makeDict general behavior
         Testing makeDict default value behavior
         Testing measuring optimization time
         Testing that `readsol` can parse CPLEX mipopt solution
         Testing the availability of the function pulpTestAll
         Testing zero subtraction
         Testing inconsistent lp solution
         Testing continuous LP solution
         Testing maximize continuous LP solution
         Testing unbounded continuous LP solution
         Testing Long Names
         Testing repeated Names
         Testing zero constraint
         Testing zero objective
         Testing LpVariable (not LpAffineExpression) objective
         Testing Long lines in LP
         Testing LpAffineExpression divide
         Testing MIP solution
         Testing MIP solution with floats in objective
         Testing Initial value in MIP solution
         Testing fixing value in MIP solution
         Testing MIP relaxation
         Testing feasibility problem (no objective)
         Testing an infeasible problem
         Testing an integer infeasible problem
         Testing another integer infeasible problem
         Testing column based modelling
         Testing fractional constraints
         Testing elastic constraints (no change)
         Testing elastic constraints (freebound)
         Testing elastic constraints (penalty unchanged)
         Testing elastic constraints (penalty unbounded)
         Testing timeLimit argument
         Test that logic put in place for deprecation handling of indexs works
         Testing 'indexs' param continues to work for LpVariable.dicts
         Testing 'indexs' param continues to work for LpVariable.matrix
         Testing 'indices' argument works in LpVariable.dicts
         Testing 'indices' param continues to work for LpVariable.matrix
         Testing invalid status
         Testing continuous LP solution - export dict
         Testing export dict for LP
         Testing export dict MIP
         Testing maximize continuous LP solution
         Testing continuous LP solution - export JSON
         Testing continuous LP solution - export solver dict
         Testing continuous LP solution - export solver JSON
         Testing reading MPS files - binary variable, no constraint names
         Testing reading MPS files - integer variable
         Testing reading MPS files - maximize
         Testing reading MPS files - noname
         Testing invalid var names
         Testing logPath argument
         Testing makeDict general behavior
         Testing makeDict default value behavior
         Testing measuring optimization time
         Testing that `readsol` can parse CPLEX mipopt solution
         Testing the availability of the function pulpTestAll
         Testing zero subtraction
         Testing inconsistent lp solution
         Testing continuous LP solution
         Testing maximize continuous LP solution
         Testing unbounded continuous LP solution
         Testing Long Names
         Testing repeated Names
         Testing zero constraint
         Testing zero objective
         Testing LpVariable (not LpAffineExpression) objective
         Testing Long lines in LP
         Testing LpAffineExpression divide
         Testing MIP solution
         Testing MIP solution with floats in objective
         Testing Initial value in MIP solution
         Testing fixing value in MIP solution
         Testing MIP relaxation
         Testing feasibility problem (no objective)
         Testing an infeasible problem
         Testing an integer infeasible problem
         Testing another integer infeasible problem
         Testing column based modelling
         Testing dual variables and slacks reporting
         Testing fractional constraints
         Testing elastic constraints (no change)
         Testing elastic constraints (freebound)
         Testing elastic constraints (penalty unchanged)
         Testing elastic constraints (penalty unbounded)
         Testing timeLimit argument
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pulp/build; python3.12 -m unittest 
discover -v 
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit 
code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-08-28T05:24:00Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/553060/

About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/9861/

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks,

Stefano

--- End Message ---
--- Begin Message ---
Source: python-pulp
Source-Version: 2.7.0+dfsg-4
Done: Nilesh Patra <nil...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-pulp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1080...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nilesh Patra <nil...@debian.org> (supplier of updated python-pulp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 01 Sep 2024 16:35:34 +0530
Source: python-pulp
Architecture: source
Version: 2.7.0+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Math Team <team+m...@tracker.debian.org>
Changed-By: Nilesh Patra <nil...@debian.org>
Closes: 1080235
Changes:
 python-pulp (2.7.0+dfsg-4) unstable; urgency=medium
 .
   * Copy examples dir before tests and cleanup
     to get tests passing (Closes: #1080235)
   * Bump Standards-Version to 4.7.0 (no changes needed)
Checksums-Sha1:
 7fe4fc58fee46e34b231957ef2cec004f0820717 1595 python-pulp_2.7.0+dfsg-4.dsc
 b8d549dae6491b493cddf0f71db268f052ff21e7 13500 
python-pulp_2.7.0+dfsg-4.debian.tar.xz
 a8c9f24ababfe110129b0cd8637204db3b4b170f 6458 
python-pulp_2.7.0+dfsg-4_amd64.buildinfo
Checksums-Sha256:
 5f2e3b5939b87aaebcabdc03dca1eb5ac6fbf954d6b7f6b3d491f4a33d46beb9 1595 
python-pulp_2.7.0+dfsg-4.dsc
 b40a7e4636f1aa3fcf466c50a2dd088d0e577cbc3e1da3a1bcefe60740d77386 13500 
python-pulp_2.7.0+dfsg-4.debian.tar.xz
 cc2d6fd99668bc62e0dec88fdef868ec6e542a6f7bc568c08e78e90ecee5a867 6458 
python-pulp_2.7.0+dfsg-4_amd64.buildinfo
Files:
 6517ab77561d62bdf1087a90c5504d65 1595 python optional 
python-pulp_2.7.0+dfsg-4.dsc
 eff849384fea4514b4e3d5589c99ed44 13500 python optional 
python-pulp_2.7.0+dfsg-4.debian.tar.xz
 d060f594b37ed56cd44c4e4b44c260ff 6458 python optional 
python-pulp_2.7.0+dfsg-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iIgEARYIADAWIQSglbZu4JAkvuai8HIqJ5BL1yQ+2gUCZtRM/xIcbmlsZXNoQGRl
Ymlhbi5vcmcACgkQKieQS9ckPtrnLgEA2acaSDoiXinkusB8VPppzrkRxD8/fFnZ
mhOFhmKuHlQBAPrZcv0DTGJkoQrDBjwr2XBLK7ED6AhExZ7br9UVyFkF
=N0hS
-----END PGP SIGNATURE-----

Attachment: pgplzXbybGXuC.pgp
Description: PGP signature


--- End Message ---

Reply via email to