New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add coursier 2.0.16 #13411
add coursier 2.0.16 #13411
Conversation
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/coursier:
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Welp: I still don't know what to do about the licenses... looking around for something, but doesn't appear there's anything built into |
Hm, maven appears to be able to, with an extension... http://www.mojohaus.org/license-maven-plugin/add-third-party-mojo.html |
tried the JSON report of Does not include the licenses, potentially related to: |
recipes/coursier/meta.yaml
Outdated
version: {{ version }} | ||
|
||
source: | ||
- url: https://raw.githubusercontent.com/{{ name }}/{{ name }}/v{{ version }}/LICENSE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case the license does not change, you can simply upload it directly to the recipe repository.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But in case it does? Granted, something that is Apache-2.0 is unlikely to change, but I guess I'd rather have it fail with a predictable sums do not match
than just... not know, and keep shipping the wrong one.
@bollwyvl Thanks for bringing coursier. Super handy tool and bridge into the java world with lots of artefacts on maven central (I use it to e.g. install the almond scala kernel for Jupyter, get+run the the bfg repo cleaner jar or plantuml.jar). Why do you want to pin it for Java 8-11? The used command There are anyway two options to package coursier here:
The second option is maybe with less license issues. (Similar tools like sbt or gradle are anyway also packaged as binary blob from upstream without rebuild because of chicken and egg issues otherwise). I would do the following changes:
|
As usual with stuff outside of my python wheelhouse (ha!), I just _need_
this and don't actually _want_ it, much less want to _maintain_ it, but
will if it lets me do jupyter demos that will work tomorrow.
I'm definitely open to the above suggestions, and will peruse them when I
get a chance.
I find the lack of license tooling disturbing, and would _definitely_
appreciate ways to automate that. The rust stuff I've had to build is
feasible... it can say least when I'm out of compliance.
Alternately, and frankly my preference, open another, better PR that does
it right!
|
I would be fine with co-maintaining the recipe and also do the suggested changes, if you are ok with it. |
You've nailed it here for my present use case. The specific thing I have in mind is getting to where I can package almond + metals for a demo on jupyterlab-lsp, with this just being a stepping stone. The most terse instructions we've gotten to (starting with If we can get this working properly where installing a
Other feedstocks that do Binary Java Things seem to, and it's what coursier tests against. I need to look at some tarballs with
Anywhere I can, I try to not to package this kind of behavior. Having a part of a toolchain that has to hot bootstrap itself before getting to it's actually doing seems... tenuous, no matter how magical the underlying npm/rust/prolog/go/jvm/elixir is. Further, if we end up having to scrape
I find supporting "system" JDK almost as frustrating as system x11. If would not wish another "getting started with pyspark" talk, with the first 30 minutes being getting To suit both, we could have a multi-output recipe with a |
Well, other feedstocks build = compile against openjdk, which this recipe does not.
The pyspark and almond case you refer to (and also in case of r-sparklyr) are very interesting regarding some detail: Lots of work with Spark is often done on Hadoop systems, where the system java + installed dependencies (patched to e.g. read faster from AWS S3) should be used. If now by installing coursier (to boostrap almond) another java is installed via conda, this is then counter-productive/intuitive. And as coursier is not compiled via this PR it is also in no way linked against the conda java and works very well with the system java on such systems. The pyspark and r-sparklyr recipes also for that reason specifically don't list list openjdk as run requirement as this is expected from the underlying cluster system. This means, I would still vote for the same changes as written before. |
@bollwyvl How to unblock this PR? What is your idea? Keep the PR as it is and solve the license situation and get it merged? Should I try my ideas via separate PR? |
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/coursier:
|
Sorry, had been meaning to get around to this. As of cff75a0 ( a linting push to come), it's building:
So for most purposes wanting to use
and not worry about the jdk version (unless they actually care). For your enterprise setting, I'm still not sold on shipping the un-bootstrapped thing with the sole purpose of immediately downloading something else as soon as its used, which means I still need to try to find the licenses... |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
*@mariusvniekerk thanks for the review... What do you think about the
license situation?*
…On Thu, Dec 24, 2020, 17:27 Marius van Niekerk ***@***.***> wrote:
***@***.**** approved this pull request.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#13411 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAALCRAEPKNNDP7J43ACHN3SWO55RANCNFSM4UPL46BA>
.
|
I'd recommend pulling them from a canonical place like maven central if needed |
Probably best to use a tool like license-gradle-plugin to automate it |
@bollwyvl Thanks for updating the PR. Something similar to the mentioned gradle plugin for sbt would be https://github.com/sbt/sbt-license-report Either we run that during build or upstreams runs it and publishes the output with each tagged release. Though the output is just a list of licenses with links which still would require collecting and aggregating them. |
Hi friend! We really, really, really appreciate that you have taken the time to make a PR on In an effort to maintain this repository and increase the signal-to-noise for open PRs, the maintainers of If you'd like to keep it open, please comment/push and we will be happy to oblige! Note that very old PRs will likely need to be rebased on master so that they can be rebuilt with the most recent CI scripts. If you have any trouble, or we missed reviewing this PR in the first place (sorry!), feel free to ping the team using a special command in a comment on the PR to get the attention of the Cheers and thank you for contributing to this community effort! |
Hi again! About a month ago, we commented on this PR saying it would be closed in another month if it was still inactive. It has been a month and so now it is being closed. Thank you so much for making it in the first place and contributing to the community project that is Cheers and have a great day! |
once again, I don't really care about this package, and if someone else would prefer to do an alternate PR that allows building against a modern (2.x) coursier with known-good, conda-forge delivered openjdk, i'd happily delete this branch. That being said, my "need" for this has warmed up again, and will probably bump to |
@conda-forge-admin please restart CI |
Well, the jar/wrapper approach appears to work. Maybe we should see if we can get the binary launchers to work: https://get-coursier.io/docs/cli-installation#native-launcher This probably has a smaller surface of "can go entirely wrong," and may be better able to extract the licenses if it's doing a build... |
Hi friend! We really, really, really appreciate that you have taken the time to make a PR on In an effort to maintain this repository and increase the signal-to-noise for open PRs, the maintainers of If you'd like to keep it open, please comment/push and we will be happy to oblige! Note that very old PRs will likely need to be rebased on Cheers and thank you for contributing to this community effort! |
Hi again! About a month ago, we commented on this PR saying it would be closed in another month if it was still inactive. It has been a month and so now it is being closed. Thank you so much for making it in the first place and contributing to the community project that is Cheers and have a great day! |
Checklist
url
) rather than a repo (e.g.git_url
) is used in your recipe (see here for more details)On the general, @conda-forge/help-java:
conda_build_config.yaml
for each JDK major version? If so, i probably need to add in a few placesCOURSIER_CACHE
somewhere in the installed env?related: