Skip to content

Commit

Permalink
Pin cython<3
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Battocchi <kebatt@microsoft.com>
Signed-off-by: star1327p <star1327p@gmail.com>
  • Loading branch information
kbattocchi authored and star1327p committed Jul 19, 2023
1 parent 9c568e4 commit 0ccae86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
python-version: 3.8 # because of our supported TensorFlow versions, must build on 3.6-3.8
- run: python -m pip install --upgrade pip && pip install --upgrade setuptools
name: Ensure latest pip and setuptools
- run: pip install -U cython && pip install -e .[all] ${{ inputs.use_lkg && '-r lkg.txt' }}
- run: pip install -e .[all] ${{ inputs.use_lkg && '-r lkg.txt' }}
name: Install econml[all]
- run: sudo apt-get -yq install graphviz
name: Install graphviz
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
python-version: 3.8 # because of our supported TensorFlow versions, must build on 3.6-3.8
- run: python -m pip install --upgrade pip && pip install --upgrade setuptools
name: Ensure latest pip and setuptools
- run: pip install -U cython && pip install -e .[all] ${{ inputs.use_lkg && '-r lkg.txt' }}
- run: pip install -e .[all] ${{ inputs.use_lkg && '-r lkg.txt' }}
name: Install econml[all]
- run: python setup.py sdist
name: Build sdist
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ requires = [
"wheel",
"oldest-supported-numpy",
"scipy",
"cython"
"cython<3" # Our native code has several incompatibilities with Cython 3
]
build-backend = "setuptools.build_meta"

Expand Down

0 comments on commit 0ccae86

Please sign in to comment.