-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dependency package + python 3.12 support
1. Fix dependency package (eralchemy2 and sqlalchemy) 2. Remove a test case that is not working 3. Fix the runtime issue from clean_duplication_utils 4. Fix CI issue with 3.12 compatibility
- Loading branch information
Showing
7 changed files
with
3,729 additions
and
2,452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,26 +15,39 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python: ["3.8", "3.9"] | ||
python: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
include: | ||
- os: ubuntu-latest | ||
install_graphviz: | ||
sudo apt install graphviz graphviz-dev | ||
- os: macos-latest | ||
install_graphviz: brew install graphviz | ||
- os: windows-latest | ||
install_graphviz: | ||
choco install graphviz --version=2.48.0; | ||
poetry run pip install --global-option=build_ext --global-option="-IC:\Program Files\Graphviz\include" --global-option="-LC:\Program Files\Graphviz\lib" pygraphviz; | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
|
||
- name: "Windows Graphviz install" | ||
if: runner.os == 'Windows' | ||
uses: crazy-max/ghaction-chocolatey@v3 | ||
with: | ||
args: -h | ||
|
||
- name: Install Graphviz for Windows | ||
if: runner.os == 'Windows' | ||
run: | | ||
choco install graphviz --version=2.49.3 | ||
- name: Install pygraphviz for Windows | ||
if: runner.os == 'Windows' | ||
run: | | ||
python -m pip install --use-pep517 --config-settings="--global-option=build_ext" --config-settings="--global-option=-IC:\\Program Files\\Graphviz\\include" --config-settings="--global-option=-LC:\\Program Files\\Graphviz\\lib" pygraphviz | ||
- name: Install Graphviz for other platforms | ||
if: runner.os != 'Windows' | ||
uses: ts-graphviz/setup-graphviz@v2 | ||
with: | ||
macos-skip-brew-update: 'true' | ||
|
||
- name: Cache venv | ||
uses: actions/cache@v2 | ||
with: | ||
|
@@ -47,7 +60,7 @@ jobs: | |
${{ matrix.install_graphviz }} | ||
echo "Cache Version ${{ secrets.CACHE_VERSION }}" | ||
poetry install | ||
poetry run pip install ERAlchemy | ||
poetry run pip install ERAlchemy2 | ||
poetry config --list | ||
- name: Print tool versions | ||
|
@@ -95,6 +108,9 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup Graphviz | ||
uses: ts-graphviz/[email protected] | ||
|
||
- name: Install dependencies | ||
run: | | ||
pip install poetry | ||
|
@@ -110,6 +126,8 @@ jobs: | |
run: | | ||
pip install poetry | ||
poetry install | ||
poetry run pip install ERAlchemy2 | ||
- name: Build docs | ||
run: poetry run sphinx-build -M html docs/source docs/build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.