Skip to content

Instantly share code, notes, and snippets.

@lucaskjaero
Created August 4, 2021 20:56
Show Gist options
  • Save lucaskjaero/07c4ac0cb60fe00d7aabdd8d0f33cedc to your computer and use it in GitHub Desktop.
Save lucaskjaero/07c4ac0cb60fe00d7aabdd8d0f33cedc to your computer and use it in GitHub Desktop.
Dependabot Poetry url issue.
updater | ERROR <job_179691030> Error processing python-json-logger (Dependabot::SharedHelpers::HelperSubprocessFailed)
updater | ERROR <job_179691030> RuntimeError
updater | <job_179691030>
updater | <job_179691030> The Poetry configuration is invalid:
updater | <job_179691030> - [dependencies.da_core_news_sm] {'url': 'https://github.com/explosion/spacy-models/releases/download/da_core_news_sm-3.1.0/da_core_news_sm-3.1.0.tar.gz', 'version': '3.1.0'} is not valid under any of the given schemas
updater | <job_179691030> - [dependencies.en_core_web_sm] {'url': 'https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.1.0/en_core_web_sm-3.1.0.tar.gz', 'version': '3.1.0'} is not valid under any of the given schemas
updater | <job_179691030> - [dependencies.es_core_news_sm] {'url': 'https://github.com/explosion/spacy-models/releases/download/es_core_news_sm-3.1.0/es_core_news_sm-3.1.0.tar.gz', 'version': '3.1.0'} is not valid under any of the given schemas
updater | <job_179691030> - [dependencies.zh_core_web_sm] {'url': 'https://github.com/explosion/spacy-models/releases/download/zh_core_web_sm-3.1.0/zh_core_web_sm-3.1.0.tar.gz', 'version': '3.1.0'} is not valid under any of the given schemas
updater | <job_179691030>
updater | <job_179691030>
updater | <job_179691030> at /usr/local/.pyenv/versions/3.9.6/lib/python3.9/site-packages/poetry/core/factory.py:43 in create_poetry
updater | <job_179691030> 39│ message = ""
updater | <job_179691030> 40│ for error in check_result["errors"]:
updater | <job_179691030> 41│ message += " - {}\n".format(error)
updater | <job_179691030> 42│
updater | <job_179691030> → 43│ raise RuntimeError("The Poetry configuration is invalid:\n" + message)
updater | <job_179691030> 44│
updater | <job_179691030> 45│ # Load package
updater | <job_179691030> 46│ name = local_config["name"]
updater | <job_179691030> 47│ version = local_config["version"]
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-python-0.158.0/lib/dependabot/python/update_checker/poetry_version_resolver.rb:323:in `run_poetry_command'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-python-0.158.0/lib/dependabot/python/update_checker/poetry_version_resolver.rb:88:in `block (2 levels) in fetch_latest_resolvable_version_string'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.158.0/lib/dependabot/shared_helpers.rb:160:in `with_git_configured'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-python-0.158.0/lib/dependabot/python/update_checker/poetry_version_resolver.rb:76:in `block in fetch_latest_resolvable_version_string'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.158.0/lib/dependabot/shared_helpers.rb:46:in `block (2 levels) in in_a_temporary_directory'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.158.0/lib/dependabot/shared_helpers.rb:46:in `chdir'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.158.0/lib/dependabot/shared_helpers.rb:46:in `block in in_a_temporary_directory'
updater | ERROR <job_179691030> /usr/lib/ruby/2.7.0/tmpdir.rb:89:in `mktmpdir'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.158.0/lib/dependabot/shared_helpers.rb:43:in `in_a_temporary_directory'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-python-0.158.0/lib/dependabot/python/update_checker/poetry_version_resolver.rb:75:in `fetch_latest_resolvable_version_string'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-python-0.158.0/lib/dependabot/python/update_checker/poetry_version_resolver.rb:48:in `latest_resolvable_version'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-python-0.158.0/lib/dependabot/python/update_checker.rb:43:in `latest_resolvable_version'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.158.0/lib/dependabot/update_checkers/base.rb:74:in `preferred_resolvable_version'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.158.0/lib/dependabot/update_checkers/base.rb:257:in `preferred_version_resolvable_with_unlock?'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.158.0/lib/dependabot/update_checkers/base.rb:249:in `numeric_version_can_update?'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.158.0/lib/dependabot/update_checkers/base.rb:199:in `version_can_update?'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-common-0.158.0/lib/dependabot/update_checkers/base.rb:44:in `can_update?'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:429:in `requirements_to_unlock'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:224:in `check_and_create_pull_request'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:80:in `check_and_create_pr_with_error_handling'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `block in run'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `each'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `run'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/lib/dependabot/update_files_job.rb:17:in `perform_job'
updater | ERROR <job_179691030> /home/dependabot/dependabot-updater/lib/dependabot/base_job.rb:28:in `run'
updater | ERROR <job_179691030> bin/update_files.rb:21:in `<main>'
Run poetry install
poetry install
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.9.6/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.6/x64/lib
Creating virtualenv language-service-SNdGoMW5-py3.9 in /home/runner/.cache/pypoetry/virtualenvs
Installing dependencies from lock file
Package operations: 78 installs, 0 updates, 0 removals
• Installing catalogue (2.0.4)
• Installing click (7.1.2)
• Installing cymem (2.0.5)
• Installing murmurhash (1.0.5)
• Installing numpy (1.21.1)
• Installing typing-extensions (3.10.0.0)
• Installing blis (0.7.4)
• Installing certifi (2021.5.30)
• Installing idna (3.2)
• Installing preshed (3.0.5)
• Installing markupsafe (2.0.1)
• Installing charset-normalizer (2.0.4)
• Installing pydantic (1.8.2)
• Installing pyparsing (2.4.7)
• Installing smart-open (5.1.0)
• Installing smmap (4.0.0)
• Installing srsly (2.4.1)
• Installing typer (0.3.2)
• Installing urllib3 (1.26.6)
• Installing wasabi (0.8.2)
• Installing attrs (21.2.0)
• Installing cython (0.29.24)
• Installing gitdb (4.0.7)
• Installing itsdangerous (1.1.0)
• Installing jinja2 (2.11.3)
• Installing more-itertools (8.8.0)
• Installing packaging (21.0)
• Installing pathy (0.6.0)
• Installing pbr (5.6.0)
• Installing pluggy (0.13.1)
• Installing py (1.10.0)
• Installing pyyaml (5.4.1)
• Installing requests (2.26.0)
• Installing soupsieve (2.2.1)
• Installing spacy-legacy (3.0.8)
• Installing thinc (8.0.8)
• Installing toml (0.10.2)
• Installing tqdm (4.62.0)
• Installing wcwidth (0.2.5)
• Installing werkzeug (1.0.1)
• Installing aniso8601 (9.0.1)
• Installing appdirs (1.4.4)
• Installing dparse (0.5.1)
• Installing flask (1.1.4)
• Installing beautifulsoup4 (4.9.3)
• Installing gitpython (3.1.20)
• Installing greenlet (1.1.0)
• Installing mccabe (0.6.1)
• Installing pathspec (0.9.0)
• Installing pycodestyle (2.7.0)
• Installing pyflakes (2.3.1)
• Installing pytest (5.4.3)
• Installing pytz (2021.1)
• Installing regex (2021.8.3)
• Installing six (1.16.0)
• Installing spacy (3.1.1)
• Installing spacy-pkuseg (0.0.28)
• Installing stevedore (3.3.0)
• Installing typed-ast (1.4.3)
• Installing zope.event (4.5.0)
• Installing zope.interface (5.4.0)
• Installing bandit (1.7.0)
• Installing black (19.10b0)
• Installing coverage (5.5)
• Installing da-core-news-sm (3.1.0 https://github.com/explosion/spacy-models/releases/download/da_core_news_sm-3.1.0/da_core_news_sm-3.1.0.tar.gz)
• Installing es-core-news-sm (3.1.0 https://github.com/explosion/spacy-models/releases/download/es_core_news_sm-3.1.0/es_core_news_sm-3.1.0.tar.gz)
• Installing en-core-web-sm (3.1.0 https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.1.0/en_core_web_sm-3.1.0.tar.gz)
• Installing flake8 (3.9.2)
• Installing flask-restful (0.3.9)
• Installing gevent (20.12.1)
• Installing gunicorn (20.1.0)
• Installing marshmallow (3.13.0)
• Installing pytest-mock (2.0.0)
• Installing python-json-logger (0.1.11)
• Installing safety (1.10.3)
• Installing testfixtures (6.18.0)
• Installing wiktionaryparser (0.0.97)
• Installing zh-core-web-sm (3.1.0 https://github.com/explosion/spacy-models/releases/download/zh_core_web_sm-3.1.0/zh_core_web_sm-3.1.0.tar.gz)
Installing the current project: language-service (0.1.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment