Closed fschleich closed 1 month ago
I need some guidance on how to correctly update CORE_VERSION_MAP.cpp
, as running make version-map-update
results in the below error. Manually setting the version to 0.18.0
results in the failed tests, e.g. here. Would appreciate any pointers or guidance!
(.venv) fschleich@Florians-MacBook-Pro OpenTimelineIO % make version-map-update
updating the CORE_VERSION_MAP...
Traceback (most recent call last):
File "/Users/fschleich/Developer/github/fschleich/OpenTimelineIO/src/py-opentimelineio/opentimelineio/console/autogen_version_map.py", line 116, in <module>
main()
File "/Users/fschleich/Developer/github/fschleich/OpenTimelineIO/src/py-opentimelineio/opentimelineio/console/autogen_version_map.py", line 86, in main
args = _parsed_args()
^^^^^^^^^^^^^^
File "/Users/fschleich/Developer/github/fschleich/OpenTimelineIO/src/py-opentimelineio/opentimelineio/console/autogen_version_map.py", line 38, in _parsed_args
default=otio.__version__,
^^^^^^^^^^^^^^^^
AttributeError: module 'opentimelineio' has no attribute '__version__'
make: *** [version-map-update] Error 1
A while back when we added enabled
to Clip, we were able to do so without increasing the schema version because the new property has a clear fallback value (true). I think you can do the same here for Effect. Here's the PR for Clip for reference: https://github.com/AcademySoftwareFoundation/OpenTimelineIO/pull/1175
Attention: Patch coverage is 94.73684%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 81.62%. Comparing base (
c0e97b0
) to head (c2ab22f
). Report is 23 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
src/opentimelineio/effect.h | 50.00% | 1 Missing :warning: |
This PR addresses #1187 - Add enabled Flag to Effects
If there is an associated issue, link it in the form:
Fixes #1187
Summarize your change.
- Updated Effect schema to version 2- Updated core version to 0.18.0Reference associated tests.
test_effect.py
to account for enabled flagempty_effect.json
and updatedtest_json_backend.py
accordingly