Build combined#6328
Conversation
|
This failure looks to be caused by the fact that the ZarrReader is not being built whilst using a SNAPSHOT version and therefore it is unable to locate its underlying dependencies |
|
The idea is to be able to build BF only and/or ZarrReader only and not create a dependency between the 2 |
|
If Ivy has a dependency for a SNAPSHOT version for ZarrReader then you are going have to build it. Using a deployed release version should be ok however. |
|
@dgault the failure happens with the combination BF-SNAPSHOT+ ZarrReader 0.3.0
|
|
An ome-poi PR has been opened to bump the commons-logging version which should then match across the stack. This will require a release of the poi component and formats-gpl. The other remaining discrepancies between BF and OMERO dependencies are as follows: We can bump slf4j in BF to match 1.7.30 (see ome/bioformats#3844) org.apache.httpcomponents:httpclient:jar commons-codec:commons-codec:jar Both of these components in BF come from cdm-core: In OMERO the ivy dependency resolution looks like:
commons-codec
com.fasterxml.jackson.core:jackson-annotations:jar In BF these components are coming from minio: In OMERO the ivy dependency resolution looks like:
jackson-databind
jackson-annotations
|
|
As per https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.9.7, I think upgrading |
sbesson
left a comment
There was a problem hiding this comment.
Good to see that the combined build can now pass without requiring a chain of low-level components release. A few questions:
- the main donwside of declaring
ome-commonis that it's another version to track while it is defined transitively as a dependency ofomero-blitz/omero-gateway. Is that something that would be done as part of everyomero-blitz/omero-gatewaybump as long as a new version is available? - there are at least two locations where dependencies are declared
ivy.xmlandcomponents/tools/OMEROJava/ivy.xml. I am confused and unclear on the role of each file especially asomero-blitz/omero-gatewayare declared in both places. ShouldOMEZarrReaderalso be declared incomponents/tools/OMEROJava/ivy.xmland would that suffice to solve the issue?
|
An alternative I have considered is only to inject it as part of the GHA build since it is usually not required during a standard build since it comes via |
|
@sbesson the last set of commits
|
sbesson
left a comment
There was a problem hiding this comment.
Overall, 👍 for being able to test the cross-repository workflow via GitHub Actions build without any modification to the source files used for release
A few inline questions
| - name: Set Bio-Formats version | ||
| if: matrix.build_bf | ||
| run: | | ||
| DEPENDENCY="<dependency org=\"org.openmicroscopy\" name=\"ome-common\" rev=\"${{ steps.bf.outputs.ome_common_version }}\">\n<artifact name=\"ome-common\" type=\"jar\" ext=\"jar\"\/>\n<\/dependency>" |
There was a problem hiding this comment.
I remember it was used during the investigation but what is the rationale for including the ome-common dependency?
There was a problem hiding this comment.
When building using snapshot, the version of ome-common does not get picked up for some reasons.
This PR builds openmicroscopy
ZarrReader (SNAPSHOT)Bio-Formats (SNAPSHOT)An error currently occurs with
Bio-Formats (SNAPSHOT). The problem is not there with the release version@dgault is looking into it