Skip to content

Commit

Permalink
pypi: Pin delocate package to 0.10.x
Browse files Browse the repository at this point in the history
The delocate package used to construct the usd-core wheel on
MacOS was recently updated to 0.11.0. This version introduced
new behavior that modified the name of the generated wheel,
which caused issues later in our process. This behavior has
affected other projects; see:

matthew-brett/delocate#214.

In the meantime, we pin delocate to the prior 0.10.x version
to get things working again. Support for Python 3.6 was dropped
in 0.10.3, so we use a "compatible release" version specifier
that gets us 0.10.2 for Python 3.6 and the latest 0.10.x version
(currently 0.10.7) for Python 3.7+.

(Internal change: 2324479)
  • Loading branch information
sunyab authored and pixar-oss committed Apr 16, 2024
1 parent b4ca108 commit 115aba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pypi-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ stages:
$(PYTHON_INTERPRETER) build_scripts/build_usd.py --build-args USD,"-DPXR_PY_UNDEFINED_DYNAMIC_LOOKUP=ON -DPXR_BUILD_USD_TOOLS=OFF -DPXR_INSTALL_LOCATION=../pluginfo" --no-materialx --no-imaging --no-examples --no-tutorials --generator Xcode --build-target universal --build $HOME/USDgen/build --src $HOME/USDgen/src $HOME/USDinst -v
displayName: 'Building USD'
- bash: |
$(PYTHON_INTERPRETER) -m pip install delocate wheel
$(PYTHON_INTERPRETER) -m pip install delocate~=0.10.2 wheel
displayName: 'Installing python packages'
- bash: |
mkdir ./packaging
Expand Down

0 comments on commit 115aba0

Please sign in to comment.