Package Details: python-pyvo 1.4.1-1

Git Clone URL: (read-only, click to copy)
Package Base: python-pyvo
Description: Astropy affiliated package for accessing Virtual Observatory data and services
Upstream URL:
Licenses: BSD
Submitter: Universebenzene
Maintainer: Universebenzene
Last Packager: Universebenzene
Votes: 0
Popularity: 0.000000
First Submitted: 2019-01-10 12:19 (UTC)
Last Updated: 2023-03-08 04:42 (UTC)

Latest Comments

mboquien commented on 2021-08-12 13:12 (UTC) (edited on 2021-08-12 13:17 (UTC) by mboquien)

Hello. The package build fails because of the check() procedure. ______ TestDALResults.test_init_firstresource ______

self = <pyvo.dal.tests.test_query.TestDALResults object at 0x7fbb91e627c0>

def test_init_firstresource(self):
  dalresults = DALResults.from_result_url(


pyvo/dal/ in from_result_url votableparse(cls._from_result_url(result_url, session).read), /usr/lib/python3.9/site-packages/astropy/utils/ in wrapper return function(args, kwargs) /usr/lib/python3.9/site-packages/astropy/io/votable/ in parse return tree.VOTableFile( /usr/lib/python3.9/site-packages/astropy/io/votable/ in parse tag_mapping.get(tag, self._add_unknown_tag)( /usr/lib/python3.9/site-packages/astropy/io/votable/ in _add_resource resource = Resource(config=config, pos=pos, *data) /usr/lib/python3.9/site-packages/astropy/io/votable/ in init self.type = type /usr/lib/python3.9/site-packages/astropy/io/votable/ in type vo_raise(E18, type, self._config, self._pos)

exception_class = <class ''>, args = '' config = {'_current_table_number': 0, 'chunk_size': 256, 'columns': None, 'datatype_mapping': {}, ...}, pos = (5, 1)

def vo_raise(exception_class, args=(), config=None, pos=None):
    Raise an exception, with proper position information if available.
    if config is None:
        config = {}
  raise exception_class(args, config, pos)

E None:5:1: E18: type must be 'results' or 'meta', not ''

/usr/lib/python3.9/site-packages/astropy/io/votable/ E18 ====================================================== warnings summary ====================================================== ../../../../../usr/lib/python3.9/site-packages/astropy/tests/plugins/ /usr/lib/python3.9/site-packages/astropy/tests/plugins/ AstropyDeprecationWarning: The astropy.tests.plugins.display plugin has been deprecated. See the pytest-astropy-header documentation for information on migrating to using pytest-astropy-header to customize the pytest header. warnings.warn('The astropy.tests.plugins.display plugin has been deprecated. '

pyvo/dal/tests/ pyvo/dal/tests/ pyvo/dal/tests/ /usr/lib/python3.9/site-packages/astropy/io/votable/ E02: ?:?:?: E02: Incorrect number of elements in array. Expected multiple of 2, got 1 warn_or_raise(E02, E02, (self._items, len(parts)), config, pos)

pyvo/dal/tests/ pyvo/dal/tests/ /tmp/pyvo-test-nmk485t5/lib/python3.9/site-packages/pyvo/dal/ AstropyDeprecationWarning: Using the table property is deprecated. Please use se to_table() instead. warn(AstropyDeprecationWarning(

pyvo/dal/tests/ /tmp/pyvo-test-nmk485t5/lib/python3.9/site-packages/pyvo/utils/xml/ UnknownElementWarning: None:2:0: UnknownElementWarning: Unknown element jobs warn_or_raise(

-- Docs: ================================================== short test summary info =================================================== FAILED pyvo/dal/tests/ - None:5:1:... ======================== 1 failed, 124 passed, 18 skipped, 3 xfailed, 1 xpassed, 7 warnings in 1.40s ========================= ==> ERROR: A failure occurred in check().

Deleting it fixes the issue. In my experience check() causes frequent failures when building packages and more often than not, I have to disable it. I have not noticed having any problem when using packages with check() disabled. I understand the usefulness of these checks for the developers, I am not sure they are useful for end users as there is little remedial action that can be taken on that end.