-
Notifications
You must be signed in to change notification settings - Fork 309
Fix missing init metadata #1251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix missing init metadata #1251
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1251 +/- ##
==========================================
- Coverage 86.10% 86.09% -0.01%
==========================================
Files 196 196
Lines 19647 19665 +18
Branches 2305 2308 +3
==========================================
+ Hits 16917 16931 +14
- Misses 2171 2173 +2
- Partials 559 561 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for figuring out where the problem lay! Some comments in line
… install pure Python modules/files/packages
Thanks for the fix! |
It's a pleasure :) |
* main: Add Python 3.10 to CI (AcademySoftwareFoundation#1256) Fix missing init metadata (AcademySoftwareFoundation#1251) Support OTIO_PLUGIN_MANIFEST_PATH being set to an emptry string (AcademySoftwareFoundation#1253) Add ALE adapter argument `ale_name_column_key` (AcademySoftwareFoundation#1248) AAF Adapter: Mob transcription heuristics (AcademySoftwareFoundation#1249) Bump src/deps/Imath from `bd6f74c` to `bd254da` (AcademySoftwareFoundation#1245) clang notices that constexpr can't be used on a mutating function (AcademySoftwareFoundation#1242)
* fix a regression where the dunder attributes weren't being preprended to __init__.py. * Don't install Python files from cmake if building with setuptools * Don't build C++ tests if building from setuptools * Add new OTIO_INSTALL_PYTHON_MODULES CMake variable to control when to install pure Python modules/files/packages Co-authored-by: Nick Porcino <[email protected]>
Fixes #1250
#1238 introduced a regression where it overwrote Python modules where modified by setuptools.
This PR disables copying python files from CMake if
OTIO_PYTHON_INSTALL_DIR
is not set. AFAIK,OTIO_PYTHON_INSTALL_DIR
is only used when running from setuptools. Or I think.I've also set
BUILD_TESTING
to OFF when building from setuptools since there is no point of building the C++ tests when building the Python extension.