Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Build snapshot wheels #603

Open
wants to merge 45 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
f9afc06
Snapshot CI
geofjamg May 9, 2023
ededaec
Fix
geofjamg May 9, 2023
e32aa2d
Fix
geofjamg May 9, 2023
9b8dda6
Fix
geofjamg May 9, 2023
2fc5666
Fix
geofjamg May 9, 2023
c75184e
Fix
geofjamg May 9, 2023
f635bc1
Fix
geofjamg May 9, 2023
98a8750
Fix
geofjamg May 9, 2023
108d526
Migrate to PowSyBl 2023.2.0
geofjamg Jun 7, 2023
dcf505f
Wip
geofjamg Jun 7, 2023
91b5a05
Wip
geofjamg Jun 7, 2023
b54dffb
Wip
geofjamg Jun 7, 2023
039c1a2
Dynawaltz integration update
geofjamg Jun 8, 2023
a1a6c86
add creation/removing of tie lines - doc to do
colinepiloquet Jun 8, 2023
c4a77f6
add ucte_xnode_code in dangling line
colinepiloquet Jun 8, 2023
d7166a2
fix doc
colinepiloquet Jun 8, 2023
6b15837
add python doc
colinepiloquet Jun 8, 2023
c3fe739
Fix dangling line doc
colinepiloquet Jun 8, 2023
7692bdf
Merge remote-tracking branch 'origin/powsybl_2023_2_0' into olf_sn
geofjamg Jun 8, 2023
89d63c3
Wip
geofjamg Jun 8, 2023
669daeb
Fix
geofjamg Jun 8, 2023
b12a46b
Fix
geofjamg Jun 8, 2023
db52e72
Fix
geofjamg Jun 8, 2023
81465a9
Merge branch 'main' into olf_sn
geofjamg Jun 9, 2023
7643dc6
Merge branch 'main' into olf_sn
geofjamg Jul 11, 2023
19e3d5d
Test
geofjamg Jul 11, 2023
7e5b48c
Test
geofjamg Jul 11, 2023
01d5630
Merge branch 'main' into olf_sn
geofjamg Jul 16, 2023
8f3969a
Test with SLD 3.3.2
geofjamg Jul 16, 2023
17298cb
add rated s parameter in generator dataframe (#634)
EtienneLt Jul 21, 2023
5f35ce0
upgrade powsybl dependencies to v2023.2.3 (#633)
EtienneLt Jul 21, 2023
6654acd
upgrade powsybl dependencies to v2023.2.4 (#636)
EtienneLt Jul 24, 2023
82c1ede
release v0.24.0
EtienneLt Jul 24, 2023
1bf04f8
bump to version 0.25.0.dev1
EtienneLt Jul 24, 2023
0bc7fb0
Fix attributes name in docstring (#638)
colinepiloquet Jul 25, 2023
c0df2a0
fix pom (#639)
EtienneLt Jul 26, 2023
4924644
Merge branch 'main' into olf_sn
geofjamg Aug 16, 2023
5916a27
Test
geofjamg Aug 16, 2023
1f978e8
Test
geofjamg Aug 21, 2023
6b5204b
Fix
geofjamg Sep 6, 2023
74f25c1
Test
geofjamg Sep 10, 2023
4107ea2
Merge branch 'main' into olf_sn
geofjamg Oct 2, 2023
a989476
Merge branch 'main' into olf_sn
geofjamg Apr 25, 2024
eb65a7d
Wip
geofjamg Apr 25, 2024
a412dad
Wip
geofjamg Apr 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 40 additions & 14 deletions .github/workflows/dev-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
matrix:
python:
- {
name: cp38,
abi: cp38,
version: '3.8',
name: cp310,
abi: cp310,
version: '3.10',
}

steps:
Expand All @@ -43,6 +43,17 @@ jobs:
with:
submodules: true

- name: Checkout olf sources
uses: actions/checkout@v3
with:
repository: powsybl/powsybl-open-loadflow
ref: fix-svc-targetV
path: powsybl-open-loadflow

- name: Build and install olf
shell: bash
run: mvn --batch-mode -DskipTests=true --file powsybl-open-loadflow/pom.xml install

- name: Setup path
run: echo "/opt/python/${{ matrix.python.name }}-${{ matrix.python.abi }}/bin/" >> $GITHUB_PATH

Expand Down Expand Up @@ -78,19 +89,17 @@ jobs:
- name: Linting
run: pylint pypowsybl

- name: Sonar analysis
uses: sonarsource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: |
-Dsonar.python.coverage.reportPaths=coverage.xml

- name: Run doc examples
working-directory: ./docs
run: make doctest

- name: Upload wheel
uses: actions/upload-artifact@v3
with:
name: pypowsybl-wheel-linux-${{ matrix.python.name }}
path: wheelhouse/*.whl


macos_windows_build:
name: Build ${{ matrix.config.name }} ${{ matrix.python.name }} wheel
runs-on: ${{ matrix.config.os }}
Expand All @@ -107,8 +116,8 @@ jobs:
}
python:
- {
name: cp38,
version: '3.8',
name: cp310,
version: '3.10',
}

steps:
Expand All @@ -124,6 +133,17 @@ jobs:
with:
submodules: true

- name: Checkout olf sources
uses: actions/checkout@v3
with:
repository: powsybl/powsybl-open-loadflow
ref: fix-svc-targetV
path: powsybl-open-loadflow

- name: Build and install olf
shell: bash
run: mvn --batch-mode -DskipTests=true --file powsybl-open-loadflow/pom.xml install

- name: Setup Python
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -153,3 +173,9 @@ jobs:
- name: Run doc examples
working-directory: ./docs
run: make doctest

- name: Upload wheel
uses: actions/upload-artifact@v3
with:
name: pypowsybl-wheel-${{ matrix.config.name }}-${{ matrix.python.name }}
path: dist/*.whl
44 changes: 42 additions & 2 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@
<powsybl-dependencies.version>2024.1.0</powsybl-dependencies.version>
<powsybl-open-reac.version>0.6.0</powsybl-open-reac.version>
<zstdjni.version>1.5.5-3</zstdjni.version>
<powsybl-core.version>6.3.0</powsybl-core.version>
<powsybl-open-loadflow.version>1.10.0-SNAPSHOT</powsybl-open-loadflow.version>
<powsybl-diagram.version>4.4.0</powsybl-diagram.version>
<powsybl-dynawo.version>2.4.0</powsybl-dynawo.version>
<powsybl-entsoe.version>2.9.0</powsybl-entsoe.version>
</properties>

<build>
Expand Down Expand Up @@ -157,10 +162,45 @@

<dependencyManagement>
<dependencies>
<!-- core -->
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-dependencies</artifactId>
<version>${powsybl-dependencies.version}</version>
<artifactId>powsybl-core</artifactId>
<version>${powsybl-core.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<!-- diagram: sld / nad -->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>powsybl-diagram</artifactId>
<version>${powsybl-diagram.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<!-- olf -->
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-open-loadflow</artifactId>
<version>${powsybl-open-loadflow.version}</version>
</dependency>

<!-- dynawo -->
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-dynawo</artifactId>
<version>${powsybl-dynawo.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<!-- entsoe -->
<dependency>
<groupId>com.powsybl</groupId>
<artifactId>powsybl-entsoe</artifactId>
<version>${powsybl-entsoe.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Loading