Skip to content

Commit 53b94f3

Browse files
committed
Fixed #216 Incompatibility with Python 3.12.
1 parent 50aecc3 commit 53b94f3

File tree

79 files changed

+4046
-18
lines changed

Some content is hidden

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

79 files changed

+4046
-18
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ This conceptual metamodel is used to generate
9090
# Installation
9191

9292
You can install *Python for Capella* in your Capella thanks to an update site.
93-
Then you will need to setup Python 3.7 in your environment for release before [2022-08-29](https://github.com/labs4capella/python4capella/releases/tag/2022-08-29). For realeases after [2022-08-29](https://github.com/labs4capella/python4capella/releases/tag/2022-08-29) you can install more recent versions of Python up to 3.11 see the [Python Installation](#python-installation) section.
93+
Then you will need to setup Python 3.7 in your environment for release before [2022-08-29](https://github.com/labs4capella/python4capella/releases/tag/2022-08-29). For realeases after [2022-08-29](https://github.com/labs4capella/python4capella/releases/tag/2022-08-29) you can install [Python Installation](#python-installation) section.
9494

9595
1) You need to download the zip file from the available releases [here](https://github.com/labs4capella/python4capella/releases). You don’t need to decompress it
9696
2) menu Help > Install New Software...
@@ -106,13 +106,13 @@ If you don't know how to install from an update site you can have a look at our
106106

107107
## Python Installation
108108

109-
You will need to setup Python 3.7 in your environment for release before [2022-08-29](https://github.com/labs4capella/python4capella/releases/tag/2022-08-29). *Python for Capella* support Python up to version 3.11 (see this [issue](https://github.com/labs4capella/python4capella/issues/216)).
109+
You will need to setup Python 3.7 in your environment for release before [2022-08-29](https://github.com/labs4capella/python4capella/releases/tag/2022-08-29). *Python for Capella* support newer versions of Python.
110110

111111
If you are running Windows, you can download the following zip file and unzip it in your Capella installation directory, or any other location:
112112

113113
[https://github.com/labs4capella/python4capella/releases/download/2021-07-16/Python37.zip](https://github.com/labs4capella/python4capella/releases/download/2021-07-16/Python37.zip)
114114

115-
If you are running Linux or MacOS X, please check your distribution documentation to install Python 3.7 on your system. For realeases after [2022-08-29](https://github.com/labs4capella/python4capella/releases/tag/2022-08-29) you can install more recent versions of Python up to 3.11. In order to run provided sample scripts, you will also need to install [openpyxl](https://openpyxl.readthedocs.io/en/stable/). You can check the [Install new Python package](https://github.com/labs4capella/python4capella/blob/master/doc/org.eclipse.python4capella.doc/doc/developer/python/InstallNewPythonPackage.textile) page for more details or directly use your Python interpreter documentation.
115+
If you are running Linux or MacOS X, please check your distribution documentation to install Python 3.7 on your system. For realeases after [2022-08-29](https://github.com/labs4capella/python4capella/releases/tag/2022-08-29) you can install more recent versions of Python. In order to run provided sample scripts, you will also need to install [openpyxl](https://openpyxl.readthedocs.io/en/stable/). You can check the [Install new Python package](https://github.com/labs4capella/python4capella/blob/master/doc/org.eclipse.python4capella.doc/doc/developer/python/InstallNewPythonPackage.textile) page for more details or directly use your Python interpreter documentation.
116116

117117
# *Python for Capella* configuration
118118

pom.xml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
<module>doc/org.eclipse.python4capella.doc</module>
3131

3232
<module>features/org.eclipse.python4capella.feature</module>
33+
34+
<!-- EASE patches -->
35+
<module>releng/patches/org.eclipse.ease.lang.python.feature_0.8.0.I202104099999</module>
36+
<module>releng/patches/org.eclipse.ease.lang.python.py4j.feature_0.8.0.I202104099999</module>
37+
<module>releng/patches/org.eclipse.ease.lang.python.py4j_0.8.0.I202104099999</module>
38+
<module>releng/patches/org.eclipse.ease.lang.python_0.8.0.I202104099999</module>
3339
</modules>
3440

3541
<properties>
@@ -68,6 +74,12 @@
6874
<archive>
6975
<addMavenDescriptor>false</addMavenDescriptor>
7076
</archive>
77+
<excludes>
78+
<plugin id="org.eclipse.ease.lang.python.py4j"/>
79+
<plugin id="org.eclipse.ease.lang.python"/>
80+
<feature id="org.eclipse.ease.lang.python.feature"/>
81+
<feature id="org.eclipse.ease.lang.python.py4j.feature"/>
82+
</excludes>
7183
</configuration>
7284
<executions>
7385
<execution>
@@ -76,23 +88,10 @@
7688
<goal>plugin-source</goal>
7789
</goals>
7890
</execution>
79-
</executions>
80-
</plugin>
81-
<plugin>
82-
<groupId>org.eclipse.tycho.extras</groupId>
83-
<artifactId>tycho-source-feature-plugin</artifactId>
84-
<version>${tycho-extras-version}</version>
85-
<configuration>
86-
<archive>
87-
<addMavenDescriptor>false</addMavenDescriptor>
88-
</archive>
89-
</configuration>
90-
<executions>
9191
<execution>
92-
<id>source-feature</id>
93-
<phase>package</phase>
92+
<id>feature-source</id>
9493
<goals>
95-
<goal>source-feature</goal>
94+
<goal>feature-source</goal>
9695
</goals>
9796
</execution>
9897
</executions>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Manifest-Version: 1.0
2+
Created-By: Maven Archiver 3.5.0
3+
Build-Jdk-Spec: 15
4+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
bin.includes = META-INF/,\
2+
feature.properties,\
3+
feature.xml,\
4+
license.html

0 commit comments

Comments
 (0)