Your message dated Mon, 08 Jan 2024 22:58:14 +0000
with message-id <e1rmyzs-003dxn...@fasolo.debian.org>
and subject line Bug#1060079: Removed package(s) from unstable
has caused the Debian Bug report #1058289,
regarding python-smstrade: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p "3.12 3.11" --system=custom returned exit 
code 13
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.)


-- 
1058289: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058289
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-smstrade
Version: 0.2.4-7
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --system=custom
> I: pybuild pybuild:314: cp -r /<<PKGBUILDDIR>>/tests 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smstrade/build
> I: pybuild base:310: unset http_proxy ; unset https_proxy ; cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smstrade/build ; python3.12 -m pytest
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 22 items
> 
> tests/test_smstrade.py ....................FF                            
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ________________________________ test_send_sms 
> _________________________________
> 
>     @pytest.mark.usefixtures('cleandir')
>     def test_send_sms():
>         httpretty.enable()
>         httpretty.register_uri(httpretty.POST, smstrade.DEFAULTS['url'],
>                                body='100')
>         with pytest.raises(SystemExit):
>             smstrade.send_sms([])
>         smstrade.send_sms(['00491717654321', 'Test'])
>         smstrade.send_sms(['--messagetype', 'binary', '00491717654321', 
> 'Test'])
>         with open('dummy.ini', 'w') as inifile:
>             inifile.write('[smstrade]\nkey = fake')
> >       smstrade.send_sms(['--config', 'dummy.ini', '00491717654321', 'Test'])
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smstrade/build/tests/test_smstrade.py:280:
>  
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cmdline = ['--config', 'dummy.ini', '00491717654321', 'Test']
> 
>     def send_sms(cmdline=None):
>         """
>         Send SMS from the command line.
>     
>         :param list cmdline:
>             list of command line arguments
>         """
>         parser = argparse.ArgumentParser(
>             description="Send one or more SMS via the smstrade.eu API")
>         parser.add_argument(
>             '-c', '--config', type=argparse.FileType('r'),
>             help=(
>                 "alternative configuration instead of the default 
> configuration"
>                 "files:\n {0}").format(", ".join(CONFIGFILES)))
>         parser.add_argument(
>             '-s', '--section', type=str, default='smstrade',
>             help='use the specified section in the configuration file')
>         parser.add_argument(
>             '-k', '--key', type=str,
>             help="personal identification code")
>         parser.add_argument(
>             '-f', '--from', dest='sender', type=str,
>             help="source identifier (ignored for route basic)")
>         parser.add_argument(
>             '-r', '--route', choices=[ROUTE_BASIC, ROUTE_GOLD, ROUTE_DIRECT],
>             help='SMS route')
>         parser.add_argument(
>             '-d', '--debug', action='store_const', const=True,
>             help='activate debug mode')
>         parser.add_argument(
>             '--cost', action='store_const', const=True,
>             help='enable output of sending costs')
>         parser.add_argument(
>             '-m', '--message-id', action='store_const', const=True,
>             dest='message_id',
>             help='enable output of message ids')
>         parser.add_argument(
>             '--count', action='store_const', const=True,
>             help='enable output of message count')
>         parser.add_argument(
>             '--dlr', action='store_const', const=True,
>             dest='reports',
>             help='enable delivery reports')
>         parser.add_argument(
>             '--response', action='store_const', const=True,
>             help='enable receiving of reply SMS (only for route basic)')
>         parser.add_argument(
>             '--ref', type=str, dest='reference',
>             help='add an own reference for this message')
>         parser.add_argument(
>             '-l', '--concat', action='store_const', const=True,
>             help='send as linked (longer) SMS')
>         parser.add_argument(
>             '--charset', choices=['UTF-8', 'ISO-8859-1', 'ISO-8859-15'],
>             help=(
>                 "character set of the message (defaults to current locale's"
>                 " charset) converted to UTF-8 if necessary"))
>         parser.add_argument(
>             '--senddate', type=secondssinceepoch,
>             help='send time delayed SMS at the given time (UNIX timestamp)')
>         parser.add_argument(
>             '--messagetype', choices=[
>                 MESSAGE_TYPE_FLASH, MESSAGE_TYPE_UNICODE, MESSAGE_TYPE_BINARY,
>                 MESSAGE_TYPE_VOICE],
>             help='enable sending of flash, unicode, binary or voice messages')
>         parser.add_argument(
>             '--udh', type=hexstr,
>             help='hexadecimal representation of bytes for a binary message')
>         parser.add_argument(
>             '--version', action='version', version='%(prog)s ' + __version__)
>         parser.add_argument(
>             'to',
>             nargs='+', type=str, help="receiver of the SMS",)
>         parser.add_argument(
>             'smstext',
>             type=six.text_type,
>             help="the text content of the SMS message to send")
>     
>         if cmdline is not None:
>             args = parser.parse_args(cmdline)
>         else:
>             args = parser.parse_args()
>     
>         config = None
>         if args.config:
>             config = SafeConfigParser(defaults=DEFAULTS)
> >           config.readfp(args.config)
> E           AttributeError: 'ConfigParser' object has no attribute 'readfp'. 
> Did you mean: 'read'?
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smstrade/build/smstrade/__init__.py:670:
>  AttributeError
> ----------------------------- Captured stderr call 
> -----------------------------
> usage: __main__.py [-h] [-c CONFIG] [-s SECTION] [-k KEY] [-f SENDER]
>                    [-r {basic,gold,direct}] [-d] [--cost] [-m] [--count]
>                    [--dlr] [--response] [--ref REFERENCE] [-l]
>                    [--charset {UTF-8,ISO-8859-1,ISO-8859-15}]
>                    [--senddate SENDDATE]
>                    [--messagetype {flash,unicode,binary,voice}] [--udh UDH]
>                    [--version]
>                    to [to ...] smstext
> __main__.py: error: the following arguments are required: to, smstext
> ------------------------------ Captured log call 
> -------------------------------
> WARNING  smstrade:__init__.py:143 none of the configuration files 
> (/etc/xdg/smstrade/smstrade.ini, 
> /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.config/smstrade/smstrade.ini,
>  smstrade.ini) found, trying to continue with default values and command line 
> arguments
> WARNING  smstrade:__init__.py:153 configuration is incomplete: No option 
> 'key' in section: 'smstrade'
> WARNING  smstrade:__init__.py:215 configuration is incomplete: No option 
> 'from' in section: 'smstrade'
> WARNING  smstrade:__init__.py:143 none of the configuration files 
> (/etc/xdg/smstrade/smstrade.ini, 
> /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.config/smstrade/smstrade.ini,
>  smstrade.ini) found, trying to continue with default values and command line 
> arguments
> WARNING  smstrade:__init__.py:153 configuration is incomplete: No option 
> 'key' in section: 'smstrade'
> WARNING  smstrade:__init__.py:215 configuration is incomplete: No option 
> 'from' in section: 'smstrade'
> ERROR    smstrade:__init__.py:683 message cannot be encoded as bytes
> _____________________________ test_account_balance 
> _____________________________
> 
>     @pytest.mark.usefixtures('cleandir')
>     def test_account_balance():
>         httpretty.enable()
>         httpretty.register_uri(
>             httpretty.GET, smstrade.DEFAULTS['balanceurl'], body='0.000')
>         smstrade.account_balance([])
>         smstrade.account_balance(['--key', 'fake'])
>         with open('dummy.ini', 'w') as inifile:
>             inifile.write('[smstrade]\nkey = fake')
> >       smstrade.account_balance(['--config', 'dummy.ini'])
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smstrade/build/tests/test_smstrade.py:292:
>  
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> cmdline = ['--config', 'dummy.ini']
> 
>     def account_balance(cmdline=None):
>         """
>         Get the smstrade.eu account balance from the command line.
>     
>         :param list cmdline:
>             list of command line arguments
>         """
>         parser = argparse.ArgumentParser(
>             description="Send one or more SMS via the smstrade.eu API")
>         parser.add_argument(
>             '-c', '--config', type=argparse.FileType('r'),
>             help=(
>                 "alternative configuration instead of the default 
> configuration"
>                 "files:\n {0}").format(", ".join(CONFIGFILES)))
>         parser.add_argument(
>             '-s', '--section', type=str, default='smstrade',
>             help='use the specified section in the configuration file')
>         parser.add_argument(
>             '-k', '--key', type=str,
>             help="personal identification code")
>     
>         if cmdline is not None:
>             args = parser.parse_args(cmdline)
>         else:
>             args = parser.parse_args()
>     
>         config = None
>         if args.config:
>             config = SafeConfigParser(defaults=DEFAULTS)
> >           config.readfp(args.config)
> E           AttributeError: 'ConfigParser' object has no attribute 'readfp'. 
> Did you mean: 'read'?
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smstrade/build/smstrade/__init__.py:715:
>  AttributeError
> ------------------------------ Captured log call 
> -------------------------------
> WARNING  smstrade:__init__.py:143 none of the configuration files 
> (/etc/xdg/smstrade/smstrade.ini, 
> /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.config/smstrade/smstrade.ini,
>  smstrade.ini) found, trying to continue with default values and command line 
> arguments
> WARNING  smstrade:__init__.py:153 configuration is incomplete: No option 
> 'key' in section: 'smstrade'
> ERROR    smstrade:__init__.py:725 you need to define an API key either in a 
> configuration file or on the command line
> WARNING  smstrade:__init__.py:143 none of the configuration files 
> (/etc/xdg/smstrade/smstrade.ini, 
> /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.config/smstrade/smstrade.ini,
>  smstrade.ini) found, trying to continue with default values and command line 
> arguments
> WARNING  smstrade:__init__.py:153 configuration is incomplete: No option 
> 'key' in section: 'smstrade'
> =============================== warnings summary 
> ===============================
> .pybuild/cpython3_3.12_smstrade/build/tests/test_smstrade.py: 11 warnings
>   /usr/lib/python3/dist-packages/httpretty/core.py:1077: DeprecationWarning: 
> datetime.datetime.utcnow() is deprecated and scheduled for removal in a 
> future version. Use timezone-aware objects to represent datetimes in UTC: 
> datetime.datetime.now(datetime.UTC).
>     now = datetime.utcnow()
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED tests/test_smstrade.py::test_send_sms - AttributeError: 
> 'ConfigParser'...
> FAILED tests/test_smstrade.py::test_account_balance - AttributeError: 
> 'Config...
> ================== 2 failed, 20 passed, 11 warnings in 0.30s 
> ===================
> E: pybuild pybuild:395: test: plugin custom failed with: exit code=1: unset 
> http_proxy ; unset https_proxy ; cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_smstrade/build ; python3.12 -m pytest
> I: pybuild pybuild:314: cp -r /<<PKGBUILDDIR>>/tests 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_smstrade/build
> I: pybuild base:310: unset http_proxy ; unset https_proxy ; cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_smstrade/build ; python3.11 -m pytest
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 22 items
> 
> tests/test_smstrade.py ......................                            
> [100%]
> 
> =============================== warnings summary 
> ===============================
> .pybuild/cpython3_3.11_smstrade/build/tests/test_smstrade.py::test_send_sms
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_smstrade/build/smstrade/__init__.py:670:
>  DeprecationWarning: This method will be removed in Python 3.12. Use 
> 'parser.read_file()' instead.
>     config.readfp(args.config)
> 
> .pybuild/cpython3_3.11_smstrade/build/tests/test_smstrade.py::test_account_balance
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_smstrade/build/smstrade/__init__.py:715:
>  DeprecationWarning: This method will be removed in Python 3.12. Use 
> 'parser.read_file()' instead.
>     config.readfp(args.config)
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> ======================== 22 passed, 2 warnings in 0.26s 
> ========================
> I: pybuild pybuild:340: rm -rf 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_smstrade/build/tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" --system=custom returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/python-smstrade_0.2.4-7_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Version: 0.2.4-7+rm

Dear submitter,

as the package python-smstrade has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1060079

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

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

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to