Skip to content

Commit

Permalink
Remove python 3.7 compatibility (#674)
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne LESOT <[email protected]>
  • Loading branch information
EtienneLt authored Nov 15, 2023
1 parent e7823f8 commit a14422f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 17 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/full-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ jobs:
strategy:
matrix:
python:
- {
name: cp37,
abi: cp37m,
version: '3.7',
}
- {
name: cp38,
abi: cp38,
Expand Down Expand Up @@ -130,10 +125,6 @@ jobs:
os: windows-2022,
}
python:
- {
name: cp37,
version: '3.7',
}
- {
name: cp38,
version: '3.8',
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,7 @@ Requirements:
- Maven >= 3.1
- Cmake >= 3.14
- C++11 compiler
- Python >= 3.7 for Linux, Windows and MacOS amd64
- Python >= 3.8 for MacOS arm64
- Python >= 3.8 for Linux, Windows and MacOS amd64
- [Oracle GraalVM Java 17](https://www.graalvm.org/downloads/)

To build from sources and install PyPowSyBl package:
Expand Down
4 changes: 1 addition & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# actual dependencies
pandas==1.5.3; python_version == "3.11"
pandas==1.5.3; python_version != "3.11" and sys_platform == "darwin" and platform_machine == "arm64"
pandas==1.3.5; python_version != "3.11" and (sys_platform != "darwin" or platform_machine != "arm64")
pandas==2.0.3
prettytable==2.0.0
networkx
matplotlib
Expand Down
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ classifiers =
Development Status :: 4 - Beta
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Expand All @@ -26,7 +25,7 @@ classifiers =
zip_safe = False
include_package_data = True
packages = find:
python_requires = >=3.7
python_requires = >=3.8
install_requires =
prettytable
numpy>=1.20.0
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ sonar.sources=pypowsybl
sonar.tests=tests

# to get specific analysis for those versions
sonar.python.version=3.7,3.8,3.9,3.10
sonar.python.version=3.8,3.9,3.10,3.11

0 comments on commit a14422f

Please sign in to comment.