Comments (1)
https://cirrus-ci.com/task/5216994890874880?command=main#L29
_____________________ TestTop360.test_package__<'jupyter'> _____________________
self = <tests.test_top.TestTop360 testMethod=test_package__<'jupyter'>>
name = 'jupyter'
@foreach(names)
def test_package(self, name):
> self._test_names([name])
tests/test_top.py:91:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/utils.py:95: in _test_names
url = self.converter.get_vcs(name)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pypidb._pypi.Converter object at 0x7f64f30dadc0>, name = 'jupyter'
def get_vcs(self, name):
normalised_name = normalize(name)
logger.info("looking up {}".format(name))
cached_result = mappings.get(normalised_name)
if cached_result:
if isinstance(cached_result, str):
return cached_result
raise cached_result
data = self._get_package_json(name)
project_info = data.get("info", {})
if not project_info:
logger.debug(data)
raise PackageWithoutFiles("{} has no info in PyPI metadata".format(name))
name = project_info.get("name")
if not name:
raise InvalidPackage('{} has no "name" in PyPI metadata'.format(name))
rule = rules.get(normalised_name)
if not rule:
rule = DefaultRule(name) # , do_old_reject_match=True)
logger.debug("rule {} {}".format(rule.__class__.__name__, rule))
if rule.preload:
self._add_mappings(rule.preload)
inputs = self._get_inputs(rule, name, data)
try:
url = self._get_vcs_links(rule, name, data, inputs)
except PackageWithoutUrls as err:
logger.error("_get_vcs_links raised PackageWithoutUrls {!r}".format(err))
raise
logger.debug("_get_vcs_links returned .. {}".format(url))
if not url:
self._raise_no_result_exception(rule, name, data)
if (
normalised_name in _stdlib_all
and normalised_name not in ALLOWED_STDLIB_BACKPORTS
):
raise UnrecognisedStdlibBackport(
"Package name {} ({}) conflicts with stdlib and is not a known backport".format(
name, url
)
)
logger.debug("{}: found {}".format(name, url))
if not rule.ignore_bad_metadata:
self._check_artifacts(data)
check_url = self._cleaner.get_root(url)
> assert check_url == url, "get_root({}) => {}".format(url, check_url)
E AssertionError: get_root(https://github.com/('jupyter', 'jupyter/jupyter_{suffix}', 'jupyter/{suffix}', 'takluyver/jupyter_{suffix}', 'jdfreder/jupyter-{suffix}')/jupyter) => https://github.com/('jupyter', 'jupyter/jupyter_{suffix}', 'jupyter
pypidb/_pypi.py:559: AssertionError
------------------------------ Captured log call -------------------------------
INFO pypidb._pypi:_pypi.py:507 looking up jupyter
INFO pypidb._pypi:_pypi.py:507 looking up jupyterhub
INFO pypidb._db:_db.py:64 Adding mapping jupyterhub = https://github.com/jupyterhub/jupyterhub
INFO pypidb._pypi:_pypi.py:349 jupyter: from None added urls []
INFO pypidb._rules:_rules.py:790 email split: jupyter @ googlegroups.org
INFO pypidb._rules:_rules.py:806 found repo name rules for jupyter ['[email protected]']: [('jupyter', 'jupyter/jupyter_{suffix}', 'jupyter/{suffix}', 'takluyver/jupyter_{suffix}', 'jdfreder/jupyter-{suffix}'), 'jupyter', 'jupyter/jupyter_{suffix}', 'jupyter/{suffix}', 'takluyver/jupyter_{suffix}', 'jdfreder/jupyter-{suffix}']
INFO pypidb._rules:_rules.py:828 checking ('jupyter', 'jupyter/jupyter_{suffix}', 'jupyter/{suffix}', 'takluyver/jupyter_{suffix}', 'jdfreder/jupyter-{suffix}')/jupyter
INFO pypidb._github:_github.py:20 Using cache directory: /root/.cache/gh.
from pypidb.
Related Issues (20)
- ruffus = https://issuetracker.google.com/code/p/ruffus HOT 1
- BitBucket unavailable repository
- Launchpad git
- opendev.org non-functional HOT 2
- Similarity function support for Python 2
- abclient timeout due to host item.id with invalid cert
- pysmt return wrong result HOT 1
- Verify failed HTTPS sites
- www.pygtk.org
- Package django-hijack-admin fails on Python 2
- Encoding failures on Python 2
- dm-xmlsec-binding false results HOT 3
- xmlsoft.org HOT 1
- Hitting one hour on AppVeyor HOT 1
- mirror-ap.wiki.ros.org
- wiki.ros.org redirects to status.ros.org HOT 6
- regex101.com leads to wrong result
- beatbox
- entrouvert.org projects HOT 1
- hiworkflow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pypidb.