Skip to content

Commit a8576b9

Browse files
committed
Merge branch 'master' into 3.6
2 parents f429410 + b4dc2ac commit a8576b9

91 files changed

Lines changed: 1478 additions & 695 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ dotnet_diagnostic.CA1838.severity = suggestion # CA1838: Avoid 'StringBuilder'
8080
dotnet_diagnostic.CA1845.severity = none # CA1845: Use span-based 'string.Concat'
8181
dotnet_diagnostic.CA1846.severity = none # CA1846: Prefer 'AsSpan' over 'Substring'
8282
dotnet_diagnostic.CA1847.severity = none # CA1847: Use char literal for a single character lookup
83+
dotnet_diagnostic.CA1852.severity = suggestion # CA1852: Seal internal types
8384
dotnet_diagnostic.CA2101.severity = suggestion # CA2101: Specify marshaling for P/Invoke string arguments
8485
dotnet_diagnostic.CA2201.severity = none # CA2201: Do not raise reserved exception types
8586
dotnet_diagnostic.CA2208.severity = suggestion # CA2208: Instantiate argument exceptions correctly

.github/workflows/main.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ jobs:
2727
uses: actions/setup-dotnet@v1
2828
with:
2929
dotnet-version: '3.1.x'
30-
- name: Setup .NET 5.0
31-
uses: actions/setup-dotnet@v1
32-
with:
33-
dotnet-version: '5.0.x'
3430
- name: Setup .NET 6.0
3531
uses: actions/setup-dotnet@v1
3632
with:
@@ -49,18 +45,15 @@ jobs:
4945
with:
5046
name: packages
5147
path: Package/Release/Packages
52-
- name: Test (net46)
53-
run: ./make.ps1 -frameworks net46 test-all
48+
- name: Test (net462)
49+
run: ./make.ps1 -frameworks net462 test-all
5450
shell: pwsh
5551
- name: Test (netcoreapp2.1)
5652
run: ./make.ps1 -frameworks netcoreapp2.1 test-all
5753
shell: pwsh
5854
- name: Test (netcoreapp3.1)
5955
run: ./make.ps1 -frameworks netcoreapp3.1 test-all
6056
shell: pwsh
61-
- name: Test (net5.0)
62-
run: ./make.ps1 -frameworks net5.0 test-all
63-
shell: pwsh
6457
- name: Test (net6.0)
6558
run: ./make.ps1 -frameworks net6.0 test-all
6659
shell: pwsh
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
4+
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
55
<IsFullFramework>true</IsFullFramework>
66
</PropertyGroup>
77

Build/net5.0-windows.props

Lines changed: 0 additions & 9 deletions
This file was deleted.

Build/net5.0.props

Lines changed: 0 additions & 42 deletions
This file was deleted.

Build/steps.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,7 @@ steps:
3737
version: '3.1.x'
3838

3939
- task: UseDotNet@2
40-
displayName: Install .NET Core 5.0 runtime for testing
41-
inputs:
42-
packageType: 'runtime'
43-
version: '5.0.x'
44-
45-
- task: UseDotNet@2
46-
displayName: Install .NET Core 6.0 SDK for build
40+
displayName: Install .NET 6.0 SDK for build
4741
inputs:
4842
packageType: 'sdk'
4943
version: '6.0.x'

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
</PropertyGroup>
118118

119119
<ItemGroup>
120-
<Using Include="Microsoft.Scripting.Runtime.NotNullAttribute" Alias="NotNoneAttribute" />
120+
<Using Include="Microsoft.Scripting.Runtime.NotNullAttribute" Alias="NotNone" />
121121
</ItemGroup>
122122

123123
<!-- Release -->

Documentation/package-compatibility.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,17 @@ To install:
3838
```
3939
ipy -m pip install requests==2.21.0
4040
```
41+
42+
## sympy (1.4)
43+
44+
To install:
45+
```
46+
ipy -m pip install sympy==1.4
47+
```
48+
49+
The above will also automatically install `mpmath` 1.2.1 if not yet installed.
50+
51+
`sympy` comes with an interactive console, which can be started with:
52+
```
53+
ipy -m isympy
54+
```

IronPython.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ EndProject
3434
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{17737ACB-40C6-41A6-83DA-3203A4DCEC19}"
3535
ProjectSection(SolutionItems) = preProject
3636
Build\After.targets = Build\After.targets
37-
Build\net46.props = Build\net46.props
38-
Build\net5.0-windows.props = Build\net5.0-windows.props
39-
Build\net5.0.props = Build\net5.0.props
37+
Build\net462.props = Build\net462.props
38+
Build\net6.0-windows.props = Build\net6.0-windows.props
39+
Build\net6.0.props = Build\net6.0.props
4040
Build\netcoreapp2.1.props = Build\netcoreapp2.1.props
4141
Build\netcoreapp3.1.props = Build\netcoreapp3.1.props
4242
Build\netstandard2.0.props = Build\netstandard2.0.props

Package/choco/Choco.Packaging.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
</PropertyGroup>
88
<Exec Command="$(NuGet) install chocolatey -Version $(ChocolateyVersion) -OutputDirectory &quot;$(RootDir)packages&quot; -Source https://api.nuget.org/v3/index.json" />
99
<Exec Command="$(RootDir)packages\chocolatey.$(ChocolateyVersion)\tools\chocolateyInstall\choco.exe pack -r &quot;$(RootDir)Package\choco\IronPython.nuspec&quot; --outputdirectory &quot;$(StageDir)&quot; --version $(PackageVersion) STAGEDIR=&quot;$(StageDir)&quot;" />
10-
<Move SourceFiles="$(StageDir)\ironpython3.$(PackageVersion).nupkg" DestinationFiles="$(PackageDir)\ironpython3.chocolatey.$(PackageVersion).nupkg" />
10+
<Move SourceFiles="$(StageDir)\ironpython.$(PackageVersion).nupkg" DestinationFiles="$(PackageDir)\ironpython.chocolatey.$(PackageVersion).nupkg" />
1111
</Target>
1212
</Project>

0 commit comments

Comments
 (0)