Skip to content

Commit 7c36ad6

Browse files
blumuWilliam Blum
andauthored
Update to python 3.10 (#160)
* Update to python 3.10 * Fix formatting of python-version in CI configuration * . --------- Co-authored-by: William Blum <william.blum@microsoft.com>
1 parent d3b750c commit 7c36ad6

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: [3.9]
16+
python-version: ['3.10']
1717
steps:
1818
- uses: actions/checkout@v3
1919
with:
@@ -33,7 +33,7 @@ jobs:
3333
key: pip-"${{ runner.os }}"-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements.dev.txt') }}-${{ hashFiles('setup.py') }}
3434
restore-keys: pip-"${{ runner.os }}"
3535

36-
path: ${{ env.pythonver.pythonLocation }}/lib/python3.9/site-packages
36+
path: ${{ env.pythonver.pythonLocation }}/lib/python3.10/site-packages
3737

3838
- name: Pull typing stubs from cache
3939
uses: actions/cache@v3
@@ -46,7 +46,7 @@ jobs:
4646

4747
- uses: conda-incubator/setup-miniconda@v2
4848
with:
49-
python-version: 3.9
49+
python-version: '3.10'
5050
miniconda-version: "latest"
5151
activate-environment: cybersim
5252
auto-activate-base: false

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ To run your environment within a docker container, we recommend running `docker`
134134

135135
This method is not maintained anymore, please prefer instead running under
136136
a WSL subsystem Linux environment.
137-
But if you insist you want to start by installing [Python 3.9](https://www.python.org/downloads/windows/) then in a Powershell prompt run the `./init.ps1` script.
137+
But if you insist you want to start by installing [Python 3.10](https://www.python.org/downloads/windows/) then in a Powershell prompt run the `./init.ps1` script.
138138

139139
## Getting started quickly using Docker
140140

cyberbattle/agents/baseline/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python3.9
1+
#!/usr/bin/python3.10
22

33
# Copyright (c) Microsoft Corporation.
44
# Licensed under the MIT License.

env.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ channels:
33
- plotly
44
- conda-forge
55
dependencies:
6-
- python=3.9
6+
- python=3.10
77
- pyright=1.1.374
88
- nodejs
99
- nb_conda_kernels=2.3.1

notebooks/run_benchmark.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
#!/usr/bin/python3.9
2+
#!/usr/bin/python3.10
33

44
# Copyright (c) Microsoft Corporation.
55
# Licensed under the MIT License.

0 commit comments

Comments
 (0)