Skip to content
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

Cleanup jline dependencies #12020

Merged
merged 5 commits into from
Jan 9, 2025
Merged

Conversation

hubertp
Copy link
Collaborator

@hubertp hubertp commented Jan 8, 2025

Pull Request Description

A wild attempt at fixing MacOS signing process that prevents nightlies from working.
Also cleaned up dependencies for wrapper projects - scala-compiler was unnecessary and was introducing jline requirement.
Related to #11957.

Important Notes

Not sure if this will fix the nightly as I'm still unable to confirm the real issue but this doesn't hurt.

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.

A wild attempt at fixing MacOS signing process that prevents nightlies
from working.
Also cleaned up dependencies for wrapper projects - `scala-compiler` was
unnecessary and was introducing jline requirement.
@hubertp hubertp added CI: No changelog needed Do not require a changelog entry for this PR. CI: Clean build required CI runners will be cleaned before and after this PR is built. labels Jan 8, 2025
Copy link
Member

@JaroslavTulach JaroslavTulach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Splitting the JLine dependencies into individual ones is OK, the removal of Scala compiler as a dependency is great.

"org.scala-lang" % "scala-reflect" % scalacVersion,
"org.scala-lang" % "scala-compiler" % scalacVersion
val scalaReflect = Seq(
"org.scala-lang" % "scala-reflect" % scalacVersion
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing scala-compiler from our dependencies seems beneficial on its own.

build.sbt Outdated Show resolved Hide resolved
@@ -1,7 +1,6 @@
module org.enso.scala.wrapper {
requires scala.library;
requires scala.reflect;
requires org.jline;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good removal.

Copy link
Contributor

@somebody1234 somebody1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approving change to signArchivesMacOs.ts

@hubertp hubertp added the CI: Ready to merge This PR is eligible for automatic merge label Jan 9, 2025
@mergify mergify bot merged commit c6f4b4a into develop Jan 9, 2025
45 of 49 checks passed
@mergify mergify bot deleted the wip/hubert/11957-cleaning-deps-jline branch January 9, 2025 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Clean build required CI runners will be cleaned before and after this PR is built. CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants