Skip to content

Commit 2f82491

Browse files
authored
Update SharpZipLib (#6106)
* Update SharpZipLib * Update API usage * Update test matrix
1 parent 3fac3c7 commit 2f82491

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/integration-jobs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ jobs:
3838
'7.11.2',
3939
'7.12.1',
4040
'7.13.2',
41-
'7.14.0',
42-
'7.15.0-SNAPSHOT',
41+
'7.14.2',
42+
'7.15.2',
43+
'7.16.3',
44+
'7.17.0',
4345
'latest-7'
4446
]
4547

tests/Tests/Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<TargetFramework>net5.0</TargetFramework>
@@ -19,7 +19,7 @@
1919
<PackageReference Include="Bogus" Version="22.1.2" />
2020
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
2121
<PackageReference Include="System.Reactive" Version="3.1.1" />
22-
<PackageReference Include="SharpZipLib" Version="1.0.0-alpha2" />
22+
<PackageReference Include="SharpZipLib" Version="1.3.3" />
2323
<PackageReference Include="System.Net.Http" Version="4.3.2" />
2424
<PackageReference Include="System.Diagnostics.FileVersionInfo" Version="4.3.0" />
2525
<PackageReference Include="SemanticVersioning" Version="0.8.0" />

tests/Tests/XPack/MachineLearning/MachineLearningCluster.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using System;
66
using System.IO;
77
using System.Linq;
8+
using System.Text;
89
using Elastic.Elasticsearch.Ephemeral;
910
using Elastic.Elasticsearch.Ephemeral.Tasks;
1011
using Elastic.Elasticsearch.Managed.ConsoleWriters;
@@ -71,7 +72,7 @@ public override void Run(IEphemeralCluster<EphemeralClusterConfiguration> cluste
7172
W($"Unzipping machine learning sample data: {to} ...");
7273
using (var inStream = File.OpenRead(to))
7374
using (var gzipStream = new GZipInputStream(inStream))
74-
using (var tarArchive = TarArchive.CreateInputTarArchive(gzipStream))
75+
using (var tarArchive = TarArchive.CreateInputTarArchive(gzipStream, Encoding.UTF8))
7576
{
7677
tarArchive.ExtractContents(directoryTarget);
7778
tarArchive.Close();

tests/Tests/packages.lock.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,9 @@
4646
},
4747
"SharpZipLib": {
4848
"type": "Direct",
49-
"requested": "[1.0.0-alpha2, )",
50-
"resolved": "1.0.0-alpha2",
51-
"contentHash": "ndshrRoIzWdvoHr5ncGvSp3p/At+H2l4nT4bfWgPB0VU39TOT5/6uS6XbkO9N95Y8quO5RgLMiEBO3M0nq4pXw==",
52-
"dependencies": {
53-
"NETStandard.Library": "1.6.1"
54-
}
49+
"requested": "[1.3.3, )",
50+
"resolved": "1.3.3",
51+
"contentHash": "N8+hwhsKZm25tDJfWpBSW7EGhH/R7EMuiX+KJ4C4u+fCWVc1lJ5zg1u3S1RPPVYgTqhx/C3hxrqUpi6RwK5+Tg=="
5552
},
5653
"System.Diagnostics.FileVersionInfo": {
5754
"type": "Direct",

0 commit comments

Comments
 (0)