python/osmo-python-tests[master]: remove osmodumpdoc.py and osmotestconfig.py from py3 install

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Thu Jan 11 11:11:07 UTC 2018


Patch Set 1:

> Do you see an actual failure? Would be nice to add it to tests.

Max, you could obviously see these errors by actually running the tests for once! For example:

osmotestconfig.py -p /n/s/dev/make/osmo-mgw/../../src/osmo-mgw -w /n/s/dev/make/osmo-mgw -v
Verifying src/osmo-mgw/osmo-mgw -c /n/s/dev/make/osmo-mgw/../../src/osmo-mgw/doc/examples/osmo-mgw/osmo-mgw.cfg, test verify_doc
Opening /dev/null
Launching: PWD=/n/s/dev/make/osmo-mgw 'src/osmo-mgw/osmo-mgw' '-c' '/n/s/dev/make/osmo-mgw/../../src/osmo-mgw/doc/examples/osmo-mgw/osmo-mgw.cfg'
Traceback (most recent call last):
  File "/usr/local/bin/osmotestconfig.py", line 4, in <module>
    __import__('pkg_resources').run_script('osmopython==0.0.7', 'osmotestconfig.py')
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 750, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1534, in run_script
    exec(script_code, namespace, namespace)
  File "/usr/local/lib/python3.6/dist-packages/osmopython-0.0.7-py3.6.egg/EGG-INFO/scripts/osmotestconfig.py", line 219, in <module>
  File "/usr/local/lib/python3.6/dist-packages/osmopython-0.0.7-py3.6.egg/EGG-INFO/scripts/osmotestconfig.py", line 174, in test_all_apps
  File "/usr/local/lib/python3.6/dist-packages/osmopython-0.0.7-py3.6.egg/EGG-INFO/scripts/osmotestconfig.py", line 31, in test_config
  File "/usr/local/lib/python3.6/dist-packages/osmopython-0.0.7-py3.6.egg/EGG-INFO/scripts/osmotestconfig.py", line 61, in test_config_atest
  File "/usr/local/lib/python3.6/dist-packages/osmopython-0.0.7-py3.6.egg/EGG-INFO/scripts/osmotestconfig.py", line 114, in verify_doc
  File "/usr/local/lib/python3.6/dist-packages/osmopython-0.0.7-py3.6.egg/osmopy/obscvty.py", line 223, in command
  File "/usr/local/lib/python3.6/dist-packages/osmopython-0.0.7-py3.6.egg/osmopy/obscvty.py", line 179, in _common_command
TypeError: a bytes-like object is required, not 'str'

-- 
To view, visit https://gerrit.osmocom.org/5693
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ibf8fc488ae2c022f75f0ca63483d80ed701e8c40
Gerrit-PatchSet: 1
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-HasComments: No



More information about the gerrit-log mailing list