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

Bump sl4j-api to 2.x #3956

Merged
merged 5 commits into from
Dec 5, 2023
Merged

Bump sl4j-api to 2.x #3956

merged 5 commits into from
Dec 5, 2023

Conversation

sbesson
Copy link
Member

@sbesson sbesson commented Mar 3, 2023

See discussions at #3943 (comment) and ome/bio-formats-examples#102 (comment)

Bio-Formats 6.12.0 included the declaration of logback-core and logback-classic as optional dependencies in agreement with the recommendations of the slf4j framework. As. part of the testing and while trying to upgrade logback to modern versions across the board, it was found that the current version of slf4-api shipped with ome-common & Bio-Formats imposes a constraint on logback. This can be highly dependent of the build system and the way dependencies are resolved but the logback 1.2.9 released Dec 17, 2021 is the last version that uses slf4-api 1.x.

This commit explores bumping the slf4-api version to 2.x. For library usages, this means logback should be upgraded to a compatible version, either 1.3.x (Java 8+) or 1.4.x (Java 11+)

Tentatively assigning to 6.13.0

Also switch the optional logback-{core,classic} dependencies to 1.3.x
@sbesson sbesson marked this pull request as draft March 11, 2023 07:53
@sbesson sbesson changed the title Bump sl4j-api to 2.0.6 Bump sl4j-api to 2.x Mar 14, 2023
@sbesson sbesson marked this pull request as ready for review March 20, 2023 14:43
@sbesson sbesson marked this pull request as draft March 24, 2023 06:27
@sbesson sbesson removed this from the 6.13.0 milestone Apr 19, 2023
@sbesson sbesson added this to the 7.1.0 milestone Sep 5, 2023
@sbesson sbesson marked this pull request as ready for review November 3, 2023 11:14
Copy link
Member

@dgault dgault left a comment

Choose a reason for hiding this comment

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

Happy to get all of these included as part of 7.1.0 as long as it is OK for OMERO downstream (ome/omero-blitz#137)

@dgault dgault merged commit 9dadf15 into ome:develop Dec 5, 2023
17 checks passed
@sbesson sbesson deleted the slf4j-api_2 branch December 5, 2023 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants