Skip to content

Commit fe66191

Browse files
Ubuntu-20.04 --> Ubuntu-22.04 (#235)
* fix : Ubuntu-20.04 --> Ubuntu-22.04 * fix : Python 3.6 support dropped * doc : CHANGELOG.md updated
1 parent 408a7d3 commit fe66191

File tree

11 files changed

+21
-21
lines changed

11 files changed

+21
-21
lines changed

.github/workflows/publish_conda.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
publish:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212
steps:
1313
- uses: actions/checkout@v1
1414
- name: publish-to-conda

.github/workflows/publish_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
deploy:
1414

15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-22.04
1616

1717
steps:
1818
- uses: actions/checkout@v2

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
env:
1818
TEST_PYTHON_VERSION: 3.9
19-
TEST_OS: 'ubuntu-20.04'
19+
TEST_OS: 'ubuntu-22.04'
2020

2121
jobs:
2222
build:
@@ -25,8 +25,8 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
os: [ubuntu-20.04, windows-2022, macOS-13]
29-
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0, 3.11.0, 3.12.0, 3.13.0]
28+
os: [ubuntu-22.04, windows-2022, macOS-13]
29+
python-version: [3.7, 3.8, 3.9, 3.10.5, 3.11.0, 3.12.0, 3.13.0]
3030
steps:
3131
- uses: actions/checkout@v2
3232
- name: Set up Python ${{ matrix.python-version }}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1717
- Logo updated
1818
- Exit message updated
1919
- `Python 3.5` support dropped
20+
- `Python 3.6` support dropped
2021
- `Python 3.13` added to `test.yml`
2122
- Restart mode updated
2223
## [1.4] - 2024-03-16

INSTALL.md

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

33
### Source Code
4-
- Download and install [Python3.x](https://www.python.org/downloads/) (>=3.6)
4+
- Download and install [Python3.x](https://www.python.org/downloads/) (>=3.7)
55
- [x] Select `Add to PATH` option
66
- [x] Select `Install pip` option
77
- Download [Version 1.4](https://github.com/ecsim/opem/archive/v1.4.zip) or [Latest Source ](https://github.com/ecsim/opem/archive/master.zip)
@@ -24,7 +24,7 @@
2424

2525
### MATLAB
2626
- Download and install [MATLAB](https://www.mathworks.com/products/matlab.html) (>=8.5, 64/32 bit)
27-
- Download and install [Python3.x](https://www.python.org/downloads/) (>=3.6, 64/32 bit)
27+
- Download and install [Python3.x](https://www.python.org/downloads/) (>=3.7, 64/32 bit)
2828
- [x] Select `Add to PATH` option
2929
- [x] Select `Install pip` option
3030
- Run `pip install .`

build_exe.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
@echo off
2-
python --version | find /i "Python 3.4" > nul
2+
python --version | find /i "Python 3.7" > nul
33
echo -----
44
if errorlevel 1 (
5-
echo Warning : Please use Python 3.4.x
5+
echo Warning : Please use Python 3.7.x
66
) else (
77
echo Python version check done!
88
)

build_unix.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
py_version=$(python3 -V 2>&1 | grep -Po '(?<=Python )(.+)')
33
echo "Your Python Version : $py_version"
4-
echo "Recommended Python Version : >= 3.5"
4+
echo "Recommended Python Version : >= 3.7"
55
echo "-----"
66
echo "-----"
77
pip3 install –upgrade pip

docker/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
77
RUN add-apt-repository ppa:deadsnakes/ppa
88
RUN apt-get update && apt-get install -y --no-install-recommends \
99
git \
10-
python3.6 \
11-
python3.6-dev \
10+
python3.7 \
11+
python3.7-dev \
1212
python3-pip \
1313
sudo \
1414
&& apt-get clean \
@@ -23,11 +23,11 @@ RUN (echo user ; echo user) | passwd user
2323
RUN usermod -a -G sudo user
2424

2525
# Install necessary python libraries
26-
RUN python3.6 -m pip install pip --upgrade
27-
RUN sleep 80 && python3.6 -m pip install opem
26+
RUN python3.7 -m pip install pip --upgrade
27+
RUN sleep 80 && python3.7 -m pip install opem
2828

2929
USER user
3030
WORKDIR /home/user
31-
RUN python3.6 -m opem test
31+
RUN python3.7 -m opem test
3232

3333
ENTRYPOINT /bin/bash

otherfile/RELEASE.md

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

22
# OPEM Release Instructions
33

4-
**Last Update: 2024-05-06**
4+
**Last Update: 2025-05-13**
55

66
1. Create the `release` branch under `develop`
77
2. Update all version tags
@@ -36,7 +36,7 @@
3636
3. `git push origin master`
3737
4. Wait for all CI pass
3838
8. Build EXE file
39-
1. Run `build_exe.bat` (Use `Python 3.4.x`)
39+
1. Run `build_exe.bat` (Use `Python 3.7.x`)
4040
9. Create a new release
4141
1. Target branch: `master`
4242
2. Tag: `vx.x` (Example: `v0.1`)

otherfile/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ requirements:
1515
host:
1616
- pip
1717
- setuptools
18-
- python >=3.6
18+
- python >=3.7
1919
run:
2020
- art >0.7
2121
- requests >=2.20.0
22-
- python >=3.6
22+
- python >=3.7
2323
about:
2424
home: https://github.com/ECSIM/opem
2525
license: MIT

0 commit comments

Comments
 (0)