Comments (10)
OK, very clear answer from Stefan on the linked Discourse thread. REQUIRE is being retired soon, so Bootstrap
will need a Project.toml. I've actually already done this as part of my work on #45, so if you're happy to wait a week or two, the file can just come through as part of my PR.
from bootstrap.jl.
Well, it doesn't have one... I looked into adding one beginning of this year, but didn't see big advantages from my point of view. What would be the benefits of having the new toml files in your opinion?
from bootstrap.jl.
It is not so much advantages, but more the fact that I'm pretty sure (although not certain) that you will need a Project.toml file at some point. Currently Pkg
supports both REQUIRE files and Project.toml (which is essentially the replacement for REQUIRE), but I think the plan is to eventually get rid of REQUIRE files entirely.
To be honest, I'm surprised this hasn't caused a problem for Bootstrap
already. Have you tried to change the dependencies of Bootstrap
since Julia v1.0? I've checked out Bootstrap
into a development branch, and although it compiled fine initially, as soon as I changed the dependencies (by adding a using DependentBootstrap
) it refused to compile until I added a Project.toml file to the development branch. Certainly if you use Pkg
to generate a new package today, it will auto-generate a Project.toml file and package uuid for you.
from bootstrap.jl.
I have been using and developing the package without a manifest without problems, both with julia v1.0 and v1.1. Let me see if I can reproduce your findings.
from bootstrap.jl.
Sounds good. In the meantime, I might post a clarifying question about this to Discourse for my own edification. If the intention really is for all packages to migrate from REQUIRE to Project.toml it would probably be a good idea to have this stated in a Discourse thread by a core dev.
from bootstrap.jl.
Discourse question here. I'll be interested to see what the response is, since I've done some wider reading on this now, and some of the posts about the future of this stuff seem quite contradictory.
In the short term though, my reading agrees with your experience, i.e. I should have been able to alter the dependencies for Bootstrap with just a REQUIRE file without any problems. I'll look at it again this week. Please don't waste too much of your own time in the meantime :-)
from bootstrap.jl.
NOTE: Project.toml files work nicely with a Pkg3 environment based workflow. For example, running julia --project=@.
in the root package directory will create a custom environment just for that package. This potentially avoids version incompatibilities with other dev'd packages and means that any packages added will automatically update the Project.toml.
from bootstrap.jl.
@colintbowers Alright, thanks for getting some clarification on that issue. If you already have Project.toml
and Manifest.toml
lying around, would you mind opening a separate PR for that? It can be super quick and dirty (essentially just dumping the two prototypes of the files is fine, I can take it from there); but since missing those files is causing problems for working with the package for you (and potentially other), I'd like to get this in rather sooner than later. If you are busy with other things, I can also take a stab at this myself. Let me know what you prefer.
from bootstrap.jl.
No probs, I'll get it done tonight, or at the latest tomorrow night (Australia time).
from bootstrap.jl.
Closed with #48.
from bootstrap.jl.
Related Issues (20)
- Time-series bootstrapping HOT 12
- Bootstrap resampling from an arbitrary number of distributions? HOT 3
- Broken compatibility against new release of StatsModels (v0.6.0) HOT 11
- Upgrade `Formulas` to `StatsModels` v0.6.0+ HOT 6
- Interquartile range HOT 6
- Bootstrapping a function with 2 inputs? HOT 8
- Distributions.jl dependency HOT 4
- outdated compat info at General Registry HOT 2
- Confidence Interval Output HOT 1
- Update DataFrames dependency HOT 2
- [question] how do you control or limit the sample size? HOT 3
- Feature to retrieve all sampled results so that a histogram can be obtained HOT 6
- Feature Suggestion: Bayesian Bootstrap HOT 2
- Bump Distributions.jl to 0.25 HOT 8
- Request for documentation: Balanced Sampling
- Increased Modularity/Composability
- Exact Bootstrap?
- Allow passing an RNG
- Plase bump `StatsBase` compat bound HOT 1
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 bootstrap.jl.