Skip to content

openusd v26.08 - #33

Open
regro-cf-autotick-bot wants to merge 5 commits into
conda-forge:mainfrom
regro-cf-autotick-bot:26.08_hdc6f7e
Open

openusd v26.08#33
regro-cf-autotick-bot wants to merge 5 commits into
conda-forge:mainfrom
regro-cf-autotick-bot:26.08_hdc6f7e

Conversation

@regro-cf-autotick-bot

Copy link
Copy Markdown
Contributor

It is very likely that the current package version for this feedstock is out of date.

Checklist before merging this PR:

  • Dependencies have been updated if changed: see upstream
  • Tests have passed
  • Updated license if changed and license_file is packaged

Information about this PR:

  1. Feel free to push to the bot's branch to update this PR if needed.
  2. The bot will almost always only open one PR per version.
  3. The bot will stop issuing PRs if more than 3 version bump PRs generated by the bot are open. If you don't want to package a particular version please close the PR.
  4. If you want these PRs to be merged automatically, make an issue with @conda-forge-admin,please add bot automerge in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.
  5. If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase @conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

This PR was created by the conda-forge-bot. The conda-forge-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/conda-forge/conda-forge-bot/actions/runs/29787859418 - please use this URL for debugging.

@conda-forge-admin

conda-forge-admin commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/recipe.yaml) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipe/recipe.yaml:

  • ℹ️ azure.settings_win.variables.CONDA_BLD_PATH is deprecated, please use workflow_settings.build_workspace_dir instead.
  • ℹ️ azure.settings_win.variables.MINIFORGE_HOME is deprecated, please use workflow_settings.tools_install_dir instead.
  • ℹ️ 'Free Disk Space' is deprecated.
    Deprecated. Use workflow_settings.free_disk_space instead.
    Free up disk space before build.
    The following components can be cleaned up: apt, cache, docker.
    When set to true, only apt and cache are cleaned up.
    Set it to the full list to clean up all components.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/29893058704. Examine the logs at this URL for more detail.

oursland added 3 commits July 21, 2026 13:55
fix_tbb_version_macro.patch failed to apply (hunk conda-forge#1 context not
found): 26.08 restructured pxr/base/work/workTBB to include a new
local header tbb_version.h, which uses __has_include to pull in
<tbb/version.h> (or the legacy tbb/tbb_stddef.h) and #errors if
TBB_INTERFACE_VERSION_MAJOR is still undefined. That supersedes the
downstream patch, so remove it.

3759.patch (upstream PR #3759, pxrConfig.cmake.in Python version pin)
is merged into 26.08 and was already being skipped as "already
applied"; remove it as well.
Two 26.08 regressions surfaced once the patch-application failure was
resolved:

1. ctest reported "No tests were found!!!" and failed the build. On some
   configurations (e.g. linux_64) OpenUSD registers no ctest tests at
   all; older ctest treated that as success (v26.05 logged the same
   message and passed), but recent ctest defaults the no-tests action to
   "error". Pass --no-tests=ignore to restore the prior behavior without
   masking real test failures on configurations that do register tests.

2. OpenUSD 26.08 added PXR_PYTHON_INSTALL_DIR, which now defaults to a
   lib/pythonX.Y/site-packages (Lib\site-packages on Windows) layout
   instead of the previously hard-coded lib/python. That breaks the
   "mv/move lib/python/pxr -> SP_DIR" step in build.sh/build.bat. Pin
   PXR_PYTHON_INSTALL_DIR=lib/python to keep the expected layout.
On macOS, OpenUSD 26.08 fails 195 of 991 ctest tests, all standalone C++
test executables aborting at load with missing Python symbols, e.g.:

    dyld: symbol not found in flat namespace '__Py_NoneStruct'

conda-forge's Python reports a static LDLIBRARY (libpythonX.Y.a) via
sysconfig, so OpenUSD force-enables PXR_PY_UNDEFINED_DYNAMIC_LOOKUP. In
that mode the USD C++ libraries reference Python C-API symbols (TfPython,
boost::python glue) that are left undefined for runtime resolution, and
libpython is only meant to be linked into EXECUTABLE targets. The existing
link_python_to_executables.patch wires that up for the boost python
interface target, but the executables built by pxr_build_test link only
their explicit ${bt_LIBRARIES} and never pull in ${PYTHON_LIBRARIES}, so
they load without libpython and cannot resolve those symbols. v26.05
linked this differently and passed 949/949.

Add fix_macos_test_python_link.patch, which links ${PYTHON_LIBRARIES}
into the test executables. Since a test target is an EXECUTABLE the
generator expression resolves to the Python library for it (and to
nothing for shared libraries), so the binaries load libpython and the
flat-namespace symbols resolve at runtime. Only the non-installed test
executables are affected; the shipped libraries are unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants