Comments (2)
@panbingkun Thanks for the report. Please see https://www.scala-sbt.org/1.x/docs/GitHub-Actions-with-sbt.html#Caching for the recommendation on setting up the cache for GitHub Actions. In general I would recommend against the use of Resolver.mavenLocal
if it contains any partial external artifacts.
Also the dependency resolution is delegated to Coursier, so could you report this issue to coursier/coursier as well plz, if you would like to have any action taken?
from sbt.
@eed3si9n Thank you for your reply so quickly
!
In fact, before I reported the bug to here
, I made many attempts
- We override the default CachePolicy from
Vector(CachePolicy.LocalUpdateChanging, CachePolicy.LocalOnly, CachePolicy.Update)
toVector(CachePolicy.Update)
, as follows:
https://github.com/apache/spark/pull/42961/files#diff-6f545c33f2fcc975200bf208c900a600a593ce6b170180f81e2f93b3efb6cb3eR310
- In our Spark build,
local Maven repo
wasskipped
in some workflows, as follows:
https://github.com/apache/spark/pull/44516/files#diff-6f545c33f2fcc975200bf208c900a600a593ce6b170180f81e2f93b3efb6cb3eR272
All of the above can make GA pass
, but none of them are perfect
.
Especially when we observe some dependencies, it seems that they are not introduced by us in Spark
, but rather dependencies of some tools themselves
, eg:
This problem has been bothering us for a long time
, since version 1.9.4 of SBT
.
Besides the methods we tried above, is there a better way
to help us get around it?
Thank you very much!
from sbt.
Related Issues (20)
- scalacOptions do not follow the delegation rules HOT 6
- SBT console "swallow" keypresses on JDK 22 and Windows 10
- sbt doesn't seem to follow 307 redirects HOT 1
- sbt whatDependsOn does not work anymore HOT 2
- set window title to organization + artifactId + sbt command HOT 1
- Incorrect spacing in build.properties causes sbt bash script to incorrectly choose to use native client
- files that depend on a dynamic class (say C) are not recompiled when C's private fields become public HOT 3
- Not able to start more than one service at a time using different ports. error is SBT server is already booting.
- Unable to track objects with Maps HOT 3
- StackOverflowError when using dependencyBrowseTree HOT 3
- Do not set -Xsource:3 flag automatically HOT 3
- `META-INF/MANIFEST.MF` has no parent zip entry `META-INF/` when packaging to a jar. HOT 1
- `publishLocalAllModule` fails with RuntimeException, "crossScalaVersions is undefined"
- `publishLocal` on the zinc module outputs error HOT 10
- The "update" or "evicted" commands are resolving to a different set of dependencies from just calling "compile" when not using coursier. HOT 6
- sbt >= 1.9.4 doesn't handle packaging type ejb properly HOT 2
- [request]: cli flag for showing compilation errors first at bottom
- Neither .sbtopts nor .jvmopts can be used to set max heap size HOT 4
- Can't seem to fix runtime IllegalAccessError HOT 3
- NoClassDefFoundError Win32NamedPipeServerSocket HOT 4
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 sbt.