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.

Option to vendor dependencies to easy bootstrapping

See original GitHub issue

Would it be possible to have a version of build which vendors its dependencies?

The bootstrap cycle isn’t fun and I’m trying to reduce the number of recipes that we have to build by hand. We’ve a generic ‘pep 517’ building class that uses build and installer but obviously that leads to dependency cycles involving build, installer, pep517, tomli.

I’ve actually bitten the bullet and written a minimal clone of build that vendors pep517 and tomli as a prototype, and considering our scope is smaller (no isolated builds are needed) it’s almost fully functional at 58 lines.

However, I’d prefer not to maintain code. A build which embedded it’s dependencies would be easier for us, and all other source-based distributions.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
laydaycommented, Dec 8, 2022

With isolation dependencies are downloaded but not checked. Without isolation (-n) dependencies are not downloaded but they are checked by default. Pass -nx to neither download dependencies nor check them.

1reaction
laydaycommented, Nov 27, 2022

For Python < 3.11, you’ll also need tomli, but yes, the remaining dependencies are optional.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting started - Bootstrap
Should you encounter problems with installing dependencies or running Grunt commands, first delete the /node_modules/ directory generated by npm. Then, rerun ...
Read more >
Stop vendoring packages #2825 - pypa/setuptools - GitHub
When vendoring dependencies, it's the responsibility of the hosting package to re-write imports to point to the vendored copies, creating non-standard usage ...
Read more >
Adding third party vendor dependencies to mean.js
I've been struggling trying to hook up this dependency (http://flowjs.github.io/ng-flow/) to my mean.js application. I'm thinking it's simply a naming ...
Read more >
Bootstrapping WordPress projects with Composer and WP-CLI
When declaring themes and plugins as dependencies, their vendor names are ... The easiest option is to submit it to Packagist, ...
Read more >
How To Bootstrap A Quality Golang Backend - 8th Light
The next step is to design a scalable folder structure and lay out the project's source code. Our choice of framework will help...
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