question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

this tools should install first build-requires from pep-517 before executing

See original GitHub issue

Otherwise, build extensions (e.g. setuptools-scm) cannot be interpreted (unless also fored in setup_requires). This package tries to look into setup.py so should first ensure it has build-requires.

2018-09-12T17:48:42.0336128Z package-description runtests: commands[0] | python setup.py check -r -s
2018-09-12T17:48:42.3094762Z running check
2018-09-12T17:48:42.3112596Z /opt/hostedtoolcache/Python/3.7.0/x64/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'use_scm_version'
2018-09-12T17:48:42.3129581Z   warnings.warn(msg)
2018-09-12T17:48:42.3145311Z warning: Check: missing required meta-data: version
2018-09-12T17:48:42.3153240Z 
2018-09-12T17:48:42.9435964Z The project's long description is valid RST.
2018-09-12T17:48:42.9454270Z error: Please correct your package.
2018-09-12T17:48:43.0199465Z ERROR: InvocationError for command '/home/vsts/work/1/s/.tox/package-description/bin/python setup.py check -r -s' (exited with code 1)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
dicommented, Sep 27, 2018

This is done, thanks for raising the issue @gaborbernat!

1reaction
dicommented, Sep 14, 2018

I see. So what would this twine require to be a reality?

https://github.com/pypa/twine/pull/395 should do it.

I’m going to leave this issue open until that’s merged/released and we’ve updated the readme_renderer documentation to tell people to use twine check instead.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PEP 517 – A build-system independent format for source trees
We therefore propose a new, relatively minimal interface for installation tools like pip to interact with package source trees and source ...
Read more >
python-build - Simple, correct PEP517 package builder
It is a simple build tool and does not perform any dependency management. %generate_buildrequires %pyproject_buildrequires -x test %prep ----- It saves you the ......
Read more >
Python Packaging Guidelines - Fedora Docs
Every package that uses Python (at runtime and/or build time) and/or installs Python modules MUST explicitly include BuildRequires: python3-devel in its ...
Read more >
PEP 517 and 518 in Plain English - Chad Smith - Medium
build-backend = “tool.module:myfunction” # PEP 517 - what ... pip will first install requests (per PEP 518) then call myfunction() in .
Read more >
Nixpkgs 22.11 manual - NixOS
To install it into our environment, you can just run nix-env -iA nixpkgs. ... Do not use this function in Nixpkgs as it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found