Your message dated Mon, 15 Jan 2024 19:21:13 +0000
with message-id <[email protected]>
and subject line Bug#1056479: fixed in python-lti 0.9.5-3
has caused the Debian Bug report #1056479,
regarding python-lti's autopkg tests fail with Python 3.12
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 [email protected]
immediately.)


-- 
1056479: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056479
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-lti
Version: 0.9.5-2
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: python3.12

python-lti's autopkg tests fail with Python 3.12:

[...]
283s autopkgtest [18:44:42]: test upstream: [-----------------------
284s ============================= test session starts ==============================
284s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0
284s rootdir: /tmp/autopkgtest.K7eUxy/autopkgtest_tmp
284s collected 66 items
284s
284s tests/test_contentitem_response.py F.... [ 7%] 284s tests/test_launch_params.py FF.... [ 16%] 284s tests/test_outcome_request.py ...... [ 25%] 284s tests/test_outcome_response.py ..... [ 33%] 284s tests/test_tool_base.py ........ [ 45%] 284s tests/test_tool_config.py ...... [ 54%] 284s tests/test_tool_consumer.py F..... [ 63%] 284s tests/test_tool_provider.py ................... [ 92%] 284s tests/test_tool_proxy.py ..... [100%]
284s
284s =================================== FAILURES =================================== 284s ___________________ TestContentItemResponse.test_constructor ___________________
284s
284s self = <test_contentitem_response.TestContentItemResponse testMethod=test_constructor>
284s
284s     def test_constructor(self):
284s         client_id = generate_client_id()
284s         client_secret = generate_token()
284s         tc = ContentItemResponse(client_id, client_secret,
284s                           launch_url='http://example.edu')
284s         self.assertIsInstance(tc.launch_params, LaunchParams)
284s
284s         lp = LaunchParams()
284s         tc = ContentItemResponse(client_id, client_secret,
284s                           launch_url='http://example.edu', params=lp)
284s         self.assertEqual(tc.launch_params, lp)
284s
284s         lp_dict = {'resource_link_id': 1}
284s         tc = ContentItemResponse(client_id, client_secret,
284s                           launch_url='http://example.edu',
284s                           params=lp_dict)
284s         self.assertIsInstance(tc.launch_params, LaunchParams)
284s self.assertEqual(tc.launch_params._params.get('resource_link_id'), 1)
284s
284s         # no launch_url should raise exception
284s > self.failUnlessRaises(InvalidLTIConfigError, ContentItemResponse,
284s                               client_id, client_secret,
284s                               params=lp_dict)
284s E AttributeError: 'TestContentItemResponse' object has no attribute 'failUnlessRaises'
284s
284s tests/test_contentitem_response.py:33: AttributeError
284s ______________________ TestLaunchParams.test_constructor _______________________
284s
284s self = <test_launch_params.TestLaunchParams testMethod=test_constructor>
284s
284s     def test_constructor(self):
284s         lp = LaunchParams()
284s         self.assertTrue(lp['lti_version'], DEFAULT_LTI_VERSION)
284s self.assertTrue(lp['lti_message_type'], 'basic-lti-launch-request')
284s
284s         lp = LaunchParams({
284s             'lti_version': 'LTI-foo',
284s             'lti_message_type': 'bar',
284s             'resource_link_id': 123
284s         })
284s         self.assertTrue(lp['resource_link_id'], 123)
284s         self.assertTrue(lp['lti_version'], 'LTI-foo')
284s
284s >       self.failUnlessRaises(InvalidLaunchParamError, LaunchParams, {
284s             'foo': 'bar'
284s         })
284s E AttributeError: 'TestLaunchParams' object has no attribute 'failUnlessRaises'
284s
284s tests/test_launch_params.py:21: AttributeError
284s _____________________ TestLaunchParams.test_dict_behavior ______________________
284s
284s self = <test_launch_params.TestLaunchParams testMethod=test_dict_behavior>
284s
284s     def test_dict_behavior(self):
284s
284s         lp = LaunchParams({
284s             'lti_version': 'foo',
284s             'lti_message_type': 'bar'
284s         })
284s         self.assertEqual(len(lp), 2)
284s         lp.update({'resource_link_id': 1})
284s         self.assertEqual(len(lp), 3)
284s
284s >       self.failUnlessRaises(InvalidLaunchParamError, lp.update, {
284s             'foo': 'bar'
284s         })
284s E AttributeError: 'TestLaunchParams' object has no attribute 'failUnlessRaises'
284s
284s tests/test_launch_params.py:69: AttributeError
284s ______________________ TestToolConsumer.test_constructor _______________________
284s
284s self = <test_tool_consumer.TestToolConsumer testMethod=test_constructor>
284s
284s     def test_constructor(self):
284s         client_id = generate_client_id()
284s         client_secret = generate_token()
284s         tc = ToolConsumer(client_id, client_secret,
284s                           launch_url='http://example.edu')
284s         self.assertIsInstance(tc.launch_params, LaunchParams)
284s
284s         lp = LaunchParams()
284s         tc = ToolConsumer(client_id, client_secret,
284s                           launch_url='http://example.edu', params=lp)
284s         self.assertEqual(tc.launch_params, lp)
284s
284s         lp_dict = {'resource_link_id': 1}
284s         tc = ToolConsumer(client_id, client_secret,
284s                           launch_url='http://example.edu',
284s                           params=lp_dict)
284s         self.assertIsInstance(tc.launch_params, LaunchParams)
284s self.assertEqual(tc.launch_params._params.get('resource_link_id'), 1)
284s
284s         # no launch_url should raise exception
284s >       self.failUnlessRaises(InvalidLTIConfigError, ToolConsumer,
284s                               client_id, client_secret,
284s                               params=lp_dict)
284s E AttributeError: 'TestToolConsumer' object has no attribute 'failUnlessRaises'
284s
284s tests/test_tool_consumer.py:33: AttributeError
284s =========================== short test summary info ============================ 284s FAILED tests/test_contentitem_response.py::TestContentItemResponse::test_constructor 284s FAILED tests/test_launch_params.py::TestLaunchParams::test_constructor - Attr... 284s FAILED tests/test_launch_params.py::TestLaunchParams::test_dict_behavior - At... 284s FAILED tests/test_tool_consumer.py::TestToolConsumer::test_constructor - Attr... 284s ========================= 4 failed, 62 passed in 0.80s =========================
285s autopkgtest [18:44:44]: test upstream: -----------------------]

--- End Message ---
--- Begin Message ---
Source: python-lti
Source-Version: 0.9.5-3
Done: Andreas Tille <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-lti, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <[email protected]> (supplier of updated python-lti 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 15 Jan 2024 18:58:08 +0100
Source: python-lti
Architecture: source
Version: 0.9.5-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Andreas Tille <[email protected]>
Closes: 1056479 1058385
Changes:
 python-lti (0.9.5-3) unstable; urgency=medium
 .
   * Team upload.
 .
   [ Debian Janitor ]
   * Update standards version to 4.6.2, no changes needed.
 .
   [ Andreas Tille ]
   * Fix watch file
   * Python3.12: s/failUnlessRaises/assertRaises/g
     (see https://docs.python.org/3/whatsnew/3.12.html#unittest)
     Closes: #1056479, #1058385
   * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
   * Add salsa-ci file (routine-update)
Checksums-Sha1:
 0d23e90c2e570134338657ff9abd4a7f64c80dbb 2216 python-lti_0.9.5-3.dsc
 e1c3598fd65d3c9447c3c72d88d10380c6b4c74b 4300 python-lti_0.9.5-3.debian.tar.xz
 bd7120bce7df0fc59e7850e9e42bd325ac42fe35 7756 
python-lti_0.9.5-3_amd64.buildinfo
Checksums-Sha256:
 074284d7682bbb6d4aa7005d451d48ce152bc5b5b4aa70a9360653ef1aa3cba5 2216 
python-lti_0.9.5-3.dsc
 a4fbb53fcba75f94c56a5d882bcb50427afab1e42f2108e13339cf8a1a188974 4300 
python-lti_0.9.5-3.debian.tar.xz
 0f2e50cc0cb8d27465a437aac81b2a92db0481aa34adb9540744de9497a6dd6d 7756 
python-lti_0.9.5-3_amd64.buildinfo
Files:
 2d500590bc0e6695a97d7f4acb1dfeea 2216 python optional python-lti_0.9.5-3.dsc
 5b41d11690e469ec650e276ec6b69c3c 4300 python optional 
python-lti_0.9.5-3.debian.tar.xz
 1d31dbd9e658f6c4070711300c57dc50 7756 python optional 
python-lti_0.9.5-3_amd64.buildinfo

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

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmWlftARHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtG8fg//bO7yDAj7J23T6gQKicpLryI4/qDpOQGs
sgVX7Tm65kNSX5+HUnIWnp77oGYIyK+wFvzBqUpeagXCU5FCJpxCItkgwFT6h0oo
stwqfEHoBJT3qgrZBiMaSjJlhht+Kw/gAOaaihuw3xDn2kvntx6E+ndtovC26KWc
QqqNmqFHjF+P/KJD1C5L5WcY9fYZ25gYzwBPHIUPQ3lytjCscEuWIqpCiOY+jHXe
tk++RFVcSEEJEe9grkbhvMMXuMyhzc15gF6+J2/IdYqpwGfIiOnLfVCSIMg33CLK
J6jyDiQsHEiOnI9ANk2odxwkZS2AFlHH9I7Gk3Krl9KBW8EyvOTlzTQpjoubal1u
MVojsN6dXLpHnwvrAk/HlzvEdhFSRyPIwHWilbxH4PzRml/KDNIZA6a9/EI0Zx8T
J+YSY4YQraZrBXS53J4EdmYOYSXxEuc818UPD6xsH7/31o9sfGndh+q6FfajWW80
Z/OFafq6iSFUIKF6GKkVbXhaeoBx/kqKQ62RfgKa8MSSkHj27sLbBA/vlWKTIVEP
t842xO7/1dLBmmm3EUZgQw3P2GRzCKNedQbsPqMCUQEBhgSCNQQjQUUvwkxkiRj4
sLBiLw0zG+VAtuiIBJy9Q+dtgj8eRd94BcYK0Qd2Ro2xfSpwIqllIUlDT6LVcEnq
b91kGHcqogg=
=SIzI
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to