-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
WIP: neil dep upgrade
: don't change Git URLs
#236
Draft
teodorlu
wants to merge
12
commits into
babashka:main
Choose a base branch
from
teodorlu:neil-dep-upgrade-dont-change-url
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
WIP: neil dep upgrade
: don't change Git URLs
#236
teodorlu
wants to merge
12
commits into
babashka:main
from
teodorlu:neil-dep-upgrade-dont-change-url
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
teodorlu
changed the title
Fail to reproduce issue 235
WIP: Aug 2, 2024
neil dep upgrade
: don't change Git URL
teodorlu
changed the title
WIP:
WIP: Aug 4, 2024
neil dep upgrade
: don't change Git URLneil dep upgrade
: don't change Git URLs
As of b32fda1, I'm getting a test failure.
Full stacktraceERROR in (neil-dep-upgrade-does-not-change-git-urls) (Numbers.java:265) Uncaught exception, not in assertion. expected: nil actual: java.lang.ClassCastException: class clojure.lang.Symbol cannot be cast to class java.lang.Number (clojure.lang.Symbol is in unnamed module of loader 'app'; java.lang.Number is in module java.base of loader 'bootstrap') at clojure.lang.Numbers.gte (Numbers.java:265) clojure.lang.Numbers.gte (Numbers.java:3991) borkdude.rewrite_edn.impl$get.invokeStatic (impl.cljc:154) borkdude.rewrite_edn.impl$get.invoke (impl.cljc:119) borkdude.rewrite_edn.impl$get_in$fn__6417.invoke (impl.cljc:162) clojure.lang.PersistentVector.reduce (PersistentVector.java:343) clojure.core$reduce.invokeStatic (core.clj:6886) clojure.core$reduce.invoke (core.clj:6869) borkdude.rewrite_edn.impl$get_in.invokeStatic (impl.cljc:159) borkdude.rewrite_edn.impl$get_in.invoke (impl.cljc:158) borkdude.rewrite_edn$get_in.invokeStatic (rewrite_edn.cljc:36) borkdude.rewrite_edn$get_in.invoke (rewrite_edn.cljc:30) borkdude.rewrite_edn$get_in.invokeStatic (rewrite_edn.cljc:34) borkdude.rewrite_edn$get_in.invoke (rewrite_edn.cljc:30) babashka.neil$dep_add.invokeStatic (neil.clj:436) babashka.neil$dep_add.invoke (neil.clj:380) babashka.neil$do_dep_upgrade.invokeStatic (neil.clj:723) babashka.neil$do_dep_upgrade.invoke (neil.clj:701) babashka.neil$dep_upgrade.invokeStatic (neil.clj:783) babashka.neil$dep_upgrade.invoke (neil.clj:731) babashka.cli$dispatch_tree.invokeStatic (cli.cljc:670) babashka.cli$dispatch_tree.invoke (cli.cljc:652) babashka.cli$dispatch.invokeStatic (cli.cljc:704) babashka.cli$dispatch.invoke (cli.cljc:672) babashka.neil$_main.invokeStatic (neil.clj:885) babashka.neil$_main.doInvoke (neil.clj:884) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invokeStatic (core.clj:667) clojure.core$apply.invoke (core.clj:662) babashka.neil.test_util$neil$fn__7068.invoke (test_util.clj:33) babashka.neil.test_util$neil.invokeStatic (test_util.clj:33) babashka.neil.test_util$neil.doInvoke (test_util.clj:24) clojure.lang.RestFn.invoke (RestFn.java:439) babashka.neil.dep_upgrade_test$fn__7596.invokeStatic (dep_upgrade_test.clj:287) babashka.neil.dep_upgrade_test/fn (dep_upgrade_test.clj:281) clojure.test$test_var$fn__9856.invoke (test.clj:717) clojure.test$test_var.invokeStatic (test.clj:717) clojure.test$test_var.invoke (test.clj:708) clojure.test$test_vars$fn__9882$fn__9887.invoke (test.clj:735) clojure.test$default_fixture.invokeStatic (test.clj:687) clojure.test$default_fixture.invoke (test.clj:683) clojure.test$test_vars$fn__9882.invoke (test.clj:735) clojure.test$default_fixture.invokeStatic (test.clj:687) clojure.test$default_fixture.invoke (test.clj:683) clojure.test$test_vars.invokeStatic (test.clj:731) clojure.test$test_all_vars.invokeStatic (test.clj:737) clojure.test$test_ns.invokeStatic (test.clj:758) clojure.test$test_ns.invoke (test.clj:743) clojure.core$map$fn__5935.invoke (core.clj:2772) clojure.lang.LazySeq.sval (LazySeq.java:42) clojure.lang.LazySeq.seq (LazySeq.java:51) clojure.lang.Cons.next (Cons.java:39) clojure.lang.RT.next (RT.java:713) clojure.core$next__5451.invokeStatic (core.clj:64) clojure.core$reduce1.invokeStatic (core.clj:946) clojure.core$reduce1.invokeStatic (core.clj:936) clojure.core$merge_with.invokeStatic (core.clj:3077) clojure.core$merge_with.doInvoke (core.clj:3069) clojure.lang.RestFn.applyTo (RestFn.java:139) clojure.core$apply.invokeStatic (core.clj:669) clojure.test$run_tests.invokeStatic (test.clj:768) clojure.test$run_tests.doInvoke (test.clj:768) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.core$apply.invokeStatic (core.clj:667) clojure.core$apply.invoke (core.clj:662) cognitect.test_runner$test.invokeStatic (test_runner.clj:74) cognitect.test_runner$test.invoke (test_runner.clj:62) cognitect.test_runner$_main.invokeStatic (test_runner.clj:127) cognitect.test_runner$_main.doInvoke (test_runner.clj:115) clojure.lang.RestFn.invoke (RestFn.java:397) clojure.lang.AFn.applyToHelper (AFn.java:152) clojure.lang.RestFn.applyTo (RestFn.java:132) clojure.lang.Var.applyTo (Var.java:705) clojure.core$apply.invokeStatic (core.clj:667) clojure.main$main_opt.invokeStatic (main.clj:514) clojure.main$main_opt.invoke (main.clj:510) clojure.main$main.invokeStatic (main.clj:664) clojure.main$main.doInvoke (main.clj:616) clojure.lang.RestFn.applyTo (RestFn.java:137) clojure.lang.Var.applyTo (Var.java:705) clojure.main.main (main.java:40) |
If you can narrow down the error to something reproduceable that'd be helpful. Interesting why it doesn't happen with bb, but it might be a bug in rewrite-edn or so, in that case, please file an issue there. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Status
WIP, nothing important to see yet, I think.
Questions
Please answer the following questions and leave the below in as part of your PR.
This PR corresponds to an issue with a clear problem statement.
I have updated the CHANGELOG.md file with a description of the addressed issue.
I have considered whether I should add more tests covering the code I've changed.