8000 Bump C# language version to 7.3 (#896) · csharpHub/pythonnet@a8a9426 · GitHub
[go: up one dir, main page]

Skip to content

Commit a8a9426

Browse files
lostmsufilmor
authored andcommitted
Bump C# language version to 7.3 (pythonnet#896)
* Bump C# language version to 7.3 pythonnet#860 * Switch to .NET SDK 2.2 * Use xenial image for travis CI
1 parent 7595fda commit a8a9426

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.travis.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dist: trusty
1+
dist: xenial
22
sudo: false
33
language: python
44

@@ -12,16 +12,16 @@ matrix:
1212
addons: &xplat-addons
1313
apt:
1414
sources:
15-
- sourceline: deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-trusty-prod trusty main
15+
- sourceline: deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main
1616
key_url: https://packages.microsoft.com/keys/microsoft.asc
17-
- sourceline: deb http://download.mono-project.com/repo/ubuntu trusty main
17+
- sourceline: deb http://download.mono-project.com/repo/ubuntu xenial main
1818
key_url: http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xA6A19B38D3D831EF
1919
packages:
2020
- mono-devel
2121
- ca-certificates-mono
22-
- dotnet-hostfxr-2.0.0
23-
- dotnet-runtime-2.0.0
24-
- dotnet-sdk-2.0.0
22+
- dotnet-hostfxr-2.2
23+
- dotnet-runtime-2.2
24+
- dotnet-sdk-2.2
2525

2626
- python: 3.5
2727
env: *xplat-env
@@ -45,9 +45,9 @@ matrix:
4545
packages:
4646
- mono-devel
4747
- ca-certificates-mono
48-
- dotnet-hostfxr-2.0.0
49-
- dotnet-runtime-2.0.0
50-
- dotnet-sdk-2.0.0
48+
- dotnet-hostfxr-2.2
49+
- dotnet-runtime-2.2
50+
- dotnet-sdk-2.2
5151

5252
# --------------------- Classic builds ------------------------
5353
- python: 2.7
@@ -84,7 +84,7 @@ env:
8484
addons:
8585
apt:
8686
sources:
87-
- sourceline: deb http://download.mono-project.com/repo/ubuntu trusty main
87+
- sourceline: deb http://download.mono-project.com/repo/ubuntu xenial main
8888
key_url: http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xA6A19B38D3D831EF
8989
packages:
9090
- mono-devel

src/runtime/Python.Runtime.15.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
3131
<PythonBuildDir Condition="'$(PythonBuildDir)' == ''">$(SolutionDir)\bin\</PythonBuildDir>
A872 3232
<PublishDir Condition="'$(TargetFramework)'!='net40'">$(PythonBuildDir)\$(TargetFramework)\</PublishDir>
33-
<LangVersion>6</LangVersion>
33+
<LangVersion>7.3</LangVersion>
3434
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
3535
<AssemblyOriginatorKeyFile>..\pythonnet.snk</AssemblyOriginatorKeyFile>
3636
<CustomDefineConstants Condition="'$(CustomDefineConstants)' == ''">$(PYTHONNET_DEFINE_CONSTANTS)</CustomDefineConstants>

src/runtime/Python.Runtime.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
1616
<PythonBuildDir Condition=" '$(PythonBuildDir)' == '' ">$(SolutionDir)\bin\</PythonBuildDir>
1717
<AppDesignerFolder>Properties</AppDesignerFolder>
18-
<LangVersion>6</LangVersion>
18+
<LangVersion>7.3</LangVersion>
1919
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
2020
<SignAssembly>false</SignAssembly>
2121
<AssemblyOriginatorKeyFile>..\pythonnet.snk</AssemblyOriginatorKeyFile>

0 commit comments

Comments
 (0)
0