Baseflow / Baseflow/LottieXamarin
Lottie nuget preventing other nugets from upgrading
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 253
- PR merge metrics
- No merged PRs in 30d
Description
## 🐛 Bug Report
Looks like LottieSharp 1.1.3 uses an obsolete version of DotNetZip which should be upgraded, as it prevent upgrading other microsoft nugets.
Also, LottieSharp 2.x is .net7 only.
```
@ Installing Azure.Storage.Blobs in Tests finished (0.285 sec)
[Notification][Install] Install failed (project: Tests, package: Azure.Storage.Blobs v12.14.1)
Package restore failed. Rolling back package changes for 'Tests'.
Detected package version outside of dependency constraint: DotNetZip 1.13.7 requires System.Text.Encoding.CodePages (>= 4.5.0 && < 5.0.0) but version System.Text.Encoding.CodePages 6.0.0 was resolved.
Package 'OpenTK 3.0.1 ... ashes 5.0.0 -> Microsoft.AppCenter 5.0.0 -> System.Configuration.ConfigurationManager 6.0.0 -> System.Security.Permissions (>= 6.0.0)
Tests -> Xam2 -> Com.Airbnb.Xamarin.Forms.Lottie 4.1.0 -> LottieSharp 1.1.3 -> DotNetZip 1.13.7 -> System.Security.Permissions (>= 4.5.0 && < 5.0.0).
```
### Workaround
Install the latest version of DotNetZip in the project referencing Lottie xamarin nuget.
Contributor guide
Research direction
Inspect the package metadata for LottieSharp 1.1.3 and the project or packaging configuration that declares its DotNetZip dependency. Reproduce restore with Azure.Storage.Blobs and the reported dependency chain, then verify that the updated package no longer constrains System.Text.Encoding.CodePages below the resolved version without requiring the documented workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100