Skip to content
This repository was archived by the owner on Jul 9, 2024. It is now read-only.

bugfix: version range for abstractions#257

Merged
baywet merged 4 commits intomainfrom
bugfix/hard-version
May 22, 2024
Merged

bugfix: version range for abstractions#257
baywet merged 4 commits intomainfrom
bugfix/hard-version

Conversation

@baywet
Copy link
Member

@baywet baywet commented May 21, 2024

fixes #256

@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

baywet added 4 commits May 21, 2024 16:28
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
@baywet baywet force-pushed the bugfix/hard-version branch from c907639 to 58127f9 Compare May 21, 2024 20:29
@sonarqubecloud
Copy link

@baywet baywet merged commit 82c7cb6 into main May 22, 2024
@baywet baywet deleted the bugfix/hard-version branch May 22, 2024 06:18
@johnholliday
Copy link

johnholliday commented May 22, 2024

Thanks for the quick fix attempt. Unfortunately the real issue appears to be that there is no consistency in the dependencies between the various Kiota modules, which should all be aligned. It is currently not possible to find a working combination of required modules that do not fail at runtime.

NOTE: I am building a class library that uses a relatively simple (at the moment) API. Happy to entertain a reliable work-around if one exists.

Fail: Could not load file or assembly 'Microsoft.Kiota.Abstractions, Version=1.8.3.0...

NOTE: Cannot link to version 1.8.3 because of required dependencies on 1.8.4

Serialization.Text (1.1.5) => Abstractions >= 1.8.4
Serialization.Multipart (1.1.4) => Abstractions >= 1.8.4
Serialization.Json (1.2.3) => Abstractions >= 1.8.4
Serialization.Form (1.1.6) => Abstractions >= 1.8.4
Http.HttpClientLibrary (1.4.1) => Abstractions >= 1.8.3
Authentication.Azure (1.1.5) => Abstractions >= 1.8.3

Fail: Could not load file or assembly 'Microsoft.Kiota.Abstractions, Version=1.7.11.0...

NOTE: Cannot link to version 1.7.11 because of required dependencies on 1.8.3.

Serialization.Text (1.1.4) => Abstractions >= 1.7.11
Serialization.Multipart (1.1.3) => Abstractions >= 1.7.10
Serialization.Json (1.2.1) => Abstractions >= 1.8.3
Serialization.Form (1.1.5) => Abstractions >= 1.7.11
Http.HttpClientLibrary (1.4.0) => Abstractions >= 1.8.3
Authentication.Azure (1.1.5) => Abstractions >= 1.8.3

Fail: Could not load file or assembly 'Microsoft.Kiota.Abstractions, Version=1.9.0.0...

NOTE: Cannot link to version 1.9.0 because of required dependency on 1.9.1

Serialization.Text (1.2.0) => Abstractions >= 1.9.0
Serialization.Multipart (1.1.4) => Abstractions >= 1.8.4
Serialization.Json (1.3.0) => Abstractions >= 1.9.0
Serialization.Form (1.2.0) => Abstractions >= 1.9.0
Http.HttpClientLibrary (1.4.2) => Abstractions >= 1.9.1 < 2.0.0
Authentication.Azure (1.1.5) => Abstractions >= 1.8.3

@baywet
Copy link
Member Author

baywet commented May 22, 2024

Thanks for the additional information.
Can you update (from the last one you've shared):

  • Form to 1.2.2
  • Json to 1.3.1
    And share the results?
    I believe that multipart and authentication azure probably need a patch bump and release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Hard dependency on MS.Kiota.Abstractions 1.8.3 causes runtime load errors.

3 participants