Skip to content

Commit 6b731c8

Browse files
authored
Update deps. Net7 (#94)
* Update deps. Net7 * Use net7 in CI * Build for both net6 and net7
1 parent 627a1fe commit 6b731c8

File tree

11 files changed

+1879
-1595
lines changed

11 files changed

+1879
-1595
lines changed

.config/dotnet-tools.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
]
1010
},
1111
"fable": {
12-
"version": "4.1.3",
12+
"version": "4.2.1",
1313
"commands": [
1414
"fable"
1515
]
1616
},
1717
"fantomas": {
18-
"version": "6.0.1",
18+
"version": "6.2.1",
1919
"commands": [
2020
"fantomas"
2121
]

.github/workflows/build-and-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
- name: Setup .NET Core
2020
uses: actions/setup-dotnet@v1
2121
with:
22-
dotnet-version: 6.0.403
22+
dotnet-version: |
23+
6.x
24+
7.x
2325
2426
- name: Setup dotnet tools
2527
run: dotnet tool restore

Build.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Target.create "Clean" (fun _ ->
1919

2020
Target.create "Build" (fun _ ->
2121
Shell.mkdir buildPath
22-
run dotnet $"fable --exclude Fable.Core --lang Python --outDir {buildPath}" srcPath
22+
run dotnet $"fable --lang Python --outDir {buildPath}" srcPath
2323
)
2424

2525
Target.create "Docs" (fun _ ->

Build.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net7.0</TargetFramework>
55
</PropertyGroup>
66
<ItemGroup>
77
<Compile Include="Helpers.fs" />

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ It contains example code for using Fable Python with:
7575
- [Fable.Logging](https://github.com/dbrattli/Fable.logging), logging for Fable.Python
7676
- [Fable.Requests](https://github.com/Zaid-Ajaj/Fable.Requests)
7777
- [Fable.Jupyter](https://github.com/fable-compiler/Fable.Jupyter), Jupyter Notebook using Fable.Python
78+
- [Fable.Pyexpecto](https://github.com/Freymaurer/Fable.Pyxpecto), Fable-python equivalent for Fable.Mocha
7879
- [Fable.SimpleJson.Python](https://github.com/Zaid-Ajaj/Fable.SimpleJson.Python)
7980
- [Fable.Sedlex](https://github.com/thautwarm/Fable.Sedlex)
8081
- [Feliz.ViewEngine](https://github.com/dbrattli/Feliz.ViewEngine)

examples/timeflies/TimeFlies.fsproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>net5.0</TargetFramework>
5+
<TargetFramework>net6.0</TargetFramework>
66
<WarnOn>3390;$(WarnOn)</WarnOn>
77
</PropertyGroup>
88
<ItemGroup>

examples/timeflies/pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ license = "MIT"
99
[tool.poetry.dependencies]
1010
python = "^3.9"
1111
fable-library = ">=0.8.0"
12-
fable-python = ""
13-
fsharp-control-async-rx = ""
12+
#fable-python = "*"
13+
#fsharp-control-async-rx = "*"
1414

1515
[tool.poetry.dev-dependencies]
16-
fable-python = {path = "./fable_modules/fable-python", develop = true}
17-
fsharp-control-async-rx = {path = "./fable_modules/fsharp-control-async-rx", develop = true}
16+
#fable-python = {path = "./fable_modules/fable-python", develop = true}
17+
#fsharp-control-async-rx = {path = "./fable_modules/fsharp-control-async-rx", develop = true}
18+
19+
[tool.poetry.group.dev.dependencies]
20+
black = "^22.10.0"
1821

1922
[build-system]
2023
requires = ["poetry-core>=1.0.0"]

paket.dependencies

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
source https://api.nuget.org/v3/index.json
44
storage: none
5-
framework: net6.0, netstandard2.0, netstandard2.1
5+
framework: netstandard2.0, netstandard2.1, net6.0, net7.0
66

77
nuget FSharp.Core >= 4.7.2 lowest_matching: true
88
nuget Fable.Core ~> 4.1
@@ -22,7 +22,7 @@ group Test
2222
group Build
2323
source https://api.nuget.org/v3/index.json
2424
storage: none
25-
framework: net6.0
25+
framework: net7.0
2626

2727
nuget System.Collections.Immutable
2828
nuget Fake.Core.Target

paket.lock

Lines changed: 64 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,105 +1,104 @@
11
STORAGE: NONE
2-
RESTRICTION: || (== net6.0) (== netstandard2.0) (== netstandard2.1)
2+
RESTRICTION: || (== net6.0) (== net7.0) (== netstandard2.0) (== netstandard2.1)
33
NUGET
44
remote: https://api.nuget.org/v3/index.json
5-
Fable.Core (4.0.0-theta-007)
5+
Fable.Core (4.1)
66
FSharp.Core (4.7.2)
77

88
GROUP Build
99
STORAGE: NONE
10-
RESTRICTION: == net6.0
10+
RESTRICTION: == net7.0
1111
NUGET
1212
remote: https://api.nuget.org/v3/index.json
13-
Fake.Core.CommandLineParsing (5.23.1)
13+
Fake.Core.CommandLineParsing (6.0)
1414
FParsec (>= 1.1.1)
15-
FSharp.Core (>= 6.0)
16-
Fake.Core.Context (5.23.1)
17-
FSharp.Core (>= 6.0)
18-
Fake.Core.Environment (5.23.1)
19-
FSharp.Core (>= 6.0)
20-
Fake.Core.FakeVar (5.23.1)
21-
Fake.Core.Context (>= 5.23.1)
22-
FSharp.Core (>= 6.0)
23-
Fake.Core.Process (5.23.1)
24-
Fake.Core.Environment (>= 5.23.1)
25-
Fake.Core.FakeVar (>= 5.23.1)
26-
Fake.Core.String (>= 5.23.1)
27-
Fake.Core.Trace (>= 5.23.1)
28-
Fake.IO.FileSystem (>= 5.23.1)
29-
FSharp.Core (>= 6.0)
30-
System.Collections.Immutable (>= 5.0)
31-
Fake.Core.String (5.23.1)
32-
FSharp.Core (>= 6.0)
33-
Fake.Core.Target (5.23.1)
34-
Fake.Core.CommandLineParsing (>= 5.23.1)
35-
Fake.Core.Context (>= 5.23.1)
36-
Fake.Core.Environment (>= 5.23.1)
37-
Fake.Core.FakeVar (>= 5.23.1)
38-
Fake.Core.Process (>= 5.23.1)
39-
Fake.Core.String (>= 5.23.1)
40-
Fake.Core.Trace (>= 5.23.1)
15+
FSharp.Core (>= 6.0.3)
16+
Fake.Core.Context (6.0)
17+
FSharp.Core (>= 6.0.3)
18+
Fake.Core.Environment (6.0)
19+
FSharp.Core (>= 6.0.3)
20+
Fake.Core.FakeVar (6.0)
21+
Fake.Core.Context (>= 6.0)
22+
FSharp.Core (>= 6.0.3)
23+
Fake.Core.Process (6.0)
24+
Fake.Core.Environment (>= 6.0)
25+
Fake.Core.FakeVar (>= 6.0)
26+
Fake.Core.String (>= 6.0)
27+
Fake.Core.Trace (>= 6.0)
28+
Fake.IO.FileSystem (>= 6.0)
29+
FSharp.Core (>= 6.0.3)
30+
System.Collections.Immutable (>= 6.0)
31+
Fake.Core.String (6.0)
32+
FSharp.Core (>= 6.0.3)
33+
Fake.Core.Target (6.0)
34+
Fake.Core.CommandLineParsing (>= 6.0)
35+
Fake.Core.Context (>= 6.0)
36+
Fake.Core.Environment (>= 6.0)
37+
Fake.Core.FakeVar (>= 6.0)
38+
Fake.Core.Process (>= 6.0)
39+
Fake.Core.String (>= 6.0)
40+
Fake.Core.Trace (>= 6.0)
4141
FSharp.Control.Reactive (>= 5.0.2)
42-
FSharp.Core (>= 6.0)
43-
Fake.Core.Trace (5.23.1)
44-
Fake.Core.Environment (>= 5.23.1)
45-
Fake.Core.FakeVar (>= 5.23.1)
46-
FSharp.Core (>= 6.0)
47-
Fake.IO.FileSystem (5.23.1)
48-
Fake.Core.String (>= 5.23.1)
49-
FSharp.Core (>= 6.0)
42+
FSharp.Core (>= 6.0.3)
43+
Fake.Core.Trace (6.0)
44+
Fake.Core.Environment (>= 6.0)
45+
Fake.Core.FakeVar (>= 6.0)
46+
FSharp.Core (>= 6.0.3)
47+
Fake.IO.FileSystem (6.0)
48+
Fake.Core.String (>= 6.0)
49+
Fake.Core.Trace (>= 6.0)
50+
FSharp.Core (>= 6.0.3)
5051
FParsec (1.1.1)
5152
FSharp.Core (>= 4.3.4)
5253
FSharp.Control.Reactive (5.0.5)
5354
FSharp.Core (>= 4.7.2)
5455
System.Reactive (>= 5.0 < 6.0)
55-
FSharp.Core (7.0)
56+
FSharp.Core (7.0.400)
5657
System.Collections.Immutable (7.0)
57-
System.Runtime.CompilerServices.Unsafe (>= 6.0)
5858
System.Reactive (5.0)
59-
System.Runtime.CompilerServices.Unsafe (6.0)
6059

6160
GROUP Test
6261
STORAGE: NONE
6362
RESTRICTION: == net6.0
6463
NUGET
6564
remote: https://api.nuget.org/v3/index.json
66-
Fable.Core (4.0.0-theta-007)
67-
FSharp.Core (7.0)
68-
Microsoft.CodeCoverage (17.4.1)
65+
Fable.Core (4.1)
66+
FSharp.Core (7.0.400)
67+
Microsoft.CodeCoverage (17.7.2)
6968
Microsoft.NET.Test.Sdk (16.11)
7069
Microsoft.CodeCoverage (>= 16.11)
7170
Microsoft.TestPlatform.TestHost (>= 16.11)
72-
Microsoft.NETCore.Platforms (7.0)
73-
Microsoft.TestPlatform.ObjectModel (17.4.1)
74-
NuGet.Frameworks (>= 5.11)
71+
Microsoft.NETCore.Platforms (7.0.4)
72+
Microsoft.TestPlatform.ObjectModel (17.7.2)
73+
NuGet.Frameworks (>= 6.5)
7574
System.Reflection.Metadata (>= 1.6)
76-
Microsoft.TestPlatform.TestHost (17.4.1)
77-
Microsoft.TestPlatform.ObjectModel (>= 17.4.1)
75+
Microsoft.TestPlatform.TestHost (17.7.2)
76+
Microsoft.TestPlatform.ObjectModel (>= 17.7.2)
7877
Newtonsoft.Json (>= 13.0.1)
7978
NETStandard.Library (2.0.3)
8079
Microsoft.NETCore.Platforms (>= 1.1)
81-
Newtonsoft.Json (13.0.2)
82-
NuGet.Frameworks (6.4)
80+
Newtonsoft.Json (13.0.3)
81+
NuGet.Frameworks (6.7)
8382
System.Collections.Immutable (7.0)
8483
System.Runtime.CompilerServices.Unsafe (>= 6.0)
85-
System.Reflection.Metadata (7.0)
84+
System.Reflection.Metadata (7.0.2)
8685
System.Collections.Immutable (>= 7.0)
8786
System.Runtime.CompilerServices.Unsafe (6.0)
88-
xunit (2.4.2)
89-
xunit.analyzers (>= 1.0)
90-
xunit.assert (>= 2.4.2)
91-
xunit.core (2.4.2)
87+
XUnit (2.5.2)
88+
xunit.analyzers (>= 1.4)
89+
xunit.assert (>= 2.5.2)
90+
xunit.core (2.5.2)
9291
xunit.abstractions (2.0.3)
93-
xunit.analyzers (1.1)
94-
xunit.assert (2.4.2)
92+
xunit.analyzers (1.4)
93+
xunit.assert (2.5.2)
9594
NETStandard.Library (>= 1.6.1)
96-
xunit.core (2.4.2)
97-
xunit.extensibility.core (2.4.2)
98-
xunit.extensibility.execution (2.4.2)
99-
xunit.extensibility.core (2.4.2)
95+
xunit.core (2.5.2)
96+
xunit.extensibility.core (2.5.2)
97+
xunit.extensibility.execution (2.5.2)
98+
xunit.extensibility.core (2.5.2)
10099
NETStandard.Library (>= 1.6.1)
101100
xunit.abstractions (>= 2.0.3)
102-
xunit.extensibility.execution (2.4.2)
101+
xunit.extensibility.execution (2.5.2)
103102
NETStandard.Library (>= 1.6.1)
104-
xunit.extensibility.core (2.4.2)
105-
xunit.runner.visualstudio (2.4.5)
103+
xunit.extensibility.core (2.5.2)
104+
xunit.runner.visualstudio (2.5.3)

0 commit comments

Comments
 (0)