summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorGeorge Steel <george.steel@gmail.com>2022-10-09 11:50:10 -0400
committerGitHub <noreply@github.com>2022-10-09 11:50:10 -0400
commit10a800531a478cf5524314bca336e00d274c4140 (patch)
treea001bbaed191cbd588eb9455214adf528d58673e /.github/workflows
parent9dfc0a2f5ceb97670919b2b27974bb9856b606f3 (diff)
parent45136fba8ab5d90c4ba77467d350e78d4dd0534b (diff)
Merge pull request #1848 from inkstitch/george-steel/fix-requirements
fix requirements.txt, move CI version pins to CI file (moved), fix wx simulator closing paths Restores the ability to manually install. - Move colormath version requirement from CI build files to requirements.txt so that pip sees it outside of CI. - Replace inkex commit hash with a version tag now that the commit in question has been released. - Add version bound to trimesh as insurance against the outdated Manjaro package. - Move wxpython version pin (4.1.1) and wheel URL to CI and change to lower bound in requirements.txt to allow for use of system packages in distros that have updated to 4.2 (Debian, etc). - Change stitch path drawing in wx simulator from DrawLines (for polygons) to StrokeLines (for non-closed paths). - Add version pin for scipy 1.9.1 to windows builds as scipy just dropped 32-bit support.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml15
1 files changed, 7 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 778bd3aa..d35fa221 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,7 +15,7 @@ jobs:
submodules: recursive
- uses: actions/setup-python@v2
with:
- python-version: '3.8.5'
+ python-version: '3.8.x'
- uses: actions/setup-node@v1
with:
node-version: '16.x'
@@ -68,9 +68,7 @@ jobs:
python -m pip install pycairo
python -m pip install PyGObject
- # colormath - last official release: 3.0.0
- # we need already submitted fixes - so let's grab them from the github repository
- python -m pip install git+https://github.com/gtaylor/python-colormath
+ python -m pip install https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04/wxPython-4.1.1-cp38-cp38-linux_x86_64.whl
python -m pip install -r requirements.txt
python -m pip install pyinstaller
@@ -108,11 +106,12 @@ jobs:
- name: install dependencies
shell: bash
run: |
+ git config --system core.longpaths true
python -m pip install --upgrade pip
python -m pip install wheel
-
- python -m pip install git+https://github.com/gtaylor/python-colormath
-
+ # scipy 1.9.1 is the last version to support 32-bit windows
+ python -m pip install scipy==1.9.1
+ python -m pip install wxpython==4.1.1
python -m pip install -r requirements.txt
python -m pip install pyinstaller
@@ -171,7 +170,7 @@ jobs:
pip --version
pip install wheel
pip install PyGObject
- pip install git+https://github.com/gtaylor/python-colormath
+ pip install wxpython==4.1.1
pip install -r requirements.txt
# with --no-binary argument may fix notary issues as well shapely speedups error issue
pip install -U lxml --no-binary lxml