Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package vapoursynth for openSUSE:Factory checked in at 2024-09-20 17:12:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vapoursynth (Old) and /work/SRC/openSUSE:Factory/.vapoursynth.new.29891 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vapoursynth" Fri Sep 20 17:12:07 2024 rev:30 rq:1202125 version:70 Changes: -------- --- /work/SRC/openSUSE:Factory/vapoursynth/vapoursynth.changes 2024-07-05 19:57:27.164070323 +0200 +++ /work/SRC/openSUSE:Factory/.vapoursynth.new.29891/vapoursynth.changes 2024-09-20 17:13:20.747065675 +0200 @@ -1,0 +2,9 @@ +Wed Sep 18 19:41:07 UTC 2024 - Michael Vetter <mvet...@suse.com> + +- Update to 70: + * the inspectable core flag is now correctly detected by the + vsscript python environment when an external core is supplied + * fixed a potential crash that could happen when more than 2 + audio clips are spliced at the same time + +------------------------------------------------------------------- Old: ---- vapoursynth-R69.tar.gz New: ---- vapoursynth-R70.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vapoursynth.spec ++++++ --- /var/tmp/diff_new_pack.1w3Pre/_old 2024-09-20 17:13:21.219085336 +0200 +++ /var/tmp/diff_new_pack.1w3Pre/_new 2024-09-20 17:13:21.219085336 +0200 @@ -17,7 +17,7 @@ Name: vapoursynth -Version: 69 +Version: 70 Release: 0 Summary: A video processing framework License: LGPL-2.1-only ++++++ vapoursynth-R69.tar.gz -> vapoursynth-R70.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vapoursynth-R69/.github/workflows/windows.yml new/vapoursynth-R70/.github/workflows/windows.yml --- old/vapoursynth-R69/.github/workflows/windows.yml 2024-06-12 21:21:14.000000000 +0200 +++ new/vapoursynth-R70/.github/workflows/windows.yml 2024-09-12 09:05:41.000000000 +0200 @@ -60,9 +60,8 @@ - name: Package for Python 3.12 run: | - mkdir wheels - python setup.py bdist_wheel -d ./wheels - python setup.py sdist -d ./wheels --format=zip + python setup.py bdist_wheel + python setup.py sdist --formats=zip - name: Run test with Python 3.12 run: | @@ -76,8 +75,7 @@ - name: Package for Python 3.8 run: | - python setup.py bdist_wheel -d ./wheels - python setup.py sdist -d ./wheels --format=zip + python setup.py bdist_wheel - name: Run test with Python 3.8 run: | @@ -86,12 +84,8 @@ - uses: actions/upload-artifact@v4 with: - name: Wheels - path: | - wheels/**/*.whl - wheels/*.whl - wheels/**/*.zip - wheels/*.zip + name: vapoursynth + path: dist test-windows: runs-on: windows-latest @@ -108,14 +102,14 @@ - uses: actions/download-artifact@v4 with: - name: Wheels + name: vapoursynth - name: Try installing run: | - pip install --no-index --find-links . vapoursynth + pip install vapoursynth --no-index --find-links . python -c "from vapoursynth import core; print(core.std.BlankClip())" - public: + publish: runs-on: ubuntu-latest needs: test-windows if: startsWith(github.event.ref, 'refs/tags/R') && !(contains(github.event.ref, 'RC')) @@ -127,15 +121,17 @@ - uses: actions/download-artifact@v4 with: - name: Wheels + name: vapoursynth + path: dist - name: Install twine run: | pip install -U twine - - name: Upload VapourSynth + - name: Publish Python packages on PyPI env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN_NOT_PORTABLE }} run: | - twine upload VapourSynth-* + twine check dist/* + twine upload dist/* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vapoursynth-R69/ChangeLog new/vapoursynth-R70/ChangeLog --- old/vapoursynth-R69/ChangeLog 2024-06-12 21:21:14.000000000 +0200 +++ new/vapoursynth-R70/ChangeLog 2024-09-12 09:05:41.000000000 +0200 @@ -1,4 +1,8 @@ -r69 +r70: +the inspectable core flag is now correctly detected by the vsscript python environment when an external core is supplied +fixed a potential crash that could happen when more than 2 audio clips are spliced at the same time + +r69: added YUV420PS/H and YUV422PS/H constants for convenience vspipe --info will now output information for all set output nodes added a new function to to the vsscript api to get a list of all set output indices, since most users don't need vsscript api 4.2 you now have to define VSSCRIPT_USE_LATEST_API or VSSCRIPT_USE_API_42 to actually require it diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vapoursynth-R69/VAPOURSYNTH_VERSION new/vapoursynth-R70/VAPOURSYNTH_VERSION --- old/vapoursynth-R69/VAPOURSYNTH_VERSION 2024-06-12 21:21:14.000000000 +0200 +++ new/vapoursynth-R70/VAPOURSYNTH_VERSION 2024-09-12 09:05:41.000000000 +0200 @@ -1 +1 @@ -#define VS_CURRENT_RELEASE 69 \ No newline at end of file +#define VS_CURRENT_RELEASE 70 \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vapoursynth-R69/installer/install-portable-vapoursynth.ps1 new/vapoursynth-R70/installer/install-portable-vapoursynth.ps1 --- old/vapoursynth-R69/installer/install-portable-vapoursynth.ps1 2024-06-12 21:21:14.000000000 +0200 +++ new/vapoursynth-R70/installer/install-portable-vapoursynth.ps1 2024-09-12 09:05:41.000000000 +0200 @@ -5,7 +5,7 @@ $PythonVersionMajor = 3 $PythonVersionMid = 12 -$PythonVersionMinor = 2 +$PythonVersionMinor = 6 if ($Python38 -or ([System.Environment]::OSVersion.Version.Major -lt 10)) { $Python38 = $true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vapoursynth-R69/src/core/audiofilters.cpp new/vapoursynth-R70/src/core/audiofilters.cpp --- old/vapoursynth-R69/src/core/audiofilters.cpp 2024-06-12 21:21:14.000000000 +0200 +++ new/vapoursynth-R70/src/core/audiofilters.cpp 2024-09-12 09:05:41.000000000 +0200 @@ -171,7 +171,7 @@ int reqFrame = static_cast<int>(currentStartSample / VS_AUDIO_FRAME_SAMPLES); do { int64_t reqStart = reqFrame * static_cast<int64_t>(VS_AUDIO_FRAME_SAMPLES); - int reqSamples = static_cast<int>(std::min<int64_t>(VS_AUDIO_FRAME_SAMPLES - reqStartOffset, d->numSamples[i] - reqStart)); + int reqSamples = static_cast<int>(std::min<int64_t>(VS_AUDIO_FRAME_SAMPLES - reqStartOffset, d->numSamples[i] - reqStart - reqStartOffset)); reqStartOffset = 0; vsapi->requestFrameFilter(reqFrame, d->nodes[i], frameCtx); remainingSamples -= reqSamples; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vapoursynth-R69/src/cython/vapoursynth.pyx new/vapoursynth-R70/src/cython/vapoursynth.pyx --- old/vapoursynth-R69/src/cython/vapoursynth.pyx 2024-06-12 21:21:14.000000000 +0200 +++ new/vapoursynth-R70/src/cython/vapoursynth.pyx 2024-09-12 09:05:41.000000000 +0200 @@ -2815,7 +2815,7 @@ cdef Core instance = Core.__new__(Core) instance.funcs = getVapourSynthAPI(VAPOURSYNTH_API_VERSION) if instance.funcs == NULL: - raise Error('Failed to obtain VapourSynth API pointer. System does not support SSE2 or is the Python module and loaded core library mismatched?') + raise Error('Failed to obtain VapourSynth API pointer. Is the Python module and loaded core library mismatched?') instance.core = instance.funcs.createCore(env.coreCreationFlags) instance.timings = createCoreTimings(instance) instance.creationFlags = env.coreCreationFlags @@ -2825,13 +2825,26 @@ cdef Core createCore2(VSCore *core): cdef Core instance = Core.__new__(Core) + cdef VSMap *min + cdef VSMap *mout + cdef VSPlugin *plugin + cdef VSNode *node instance.funcs = getVapourSynthAPI(VAPOURSYNTH_API_VERSION) if instance.funcs == NULL: - raise Error('Failed to obtain VapourSynth API pointer. System does not support SSE2 or is the Python module and loaded core library mismatched?') + raise Error('Failed to obtain VapourSynth API pointer. Is the Python module and loaded core library mismatched?') instance.core = core instance.timings = createCoreTimings(instance) if instance.core_version.release_major <> VS_CURRENT_RELEASE: instance.log_message(mtWarning, f'Version mismatch: The VapourSynth Python module version is R{__version__.release_major:d} but the VapourSynth core library is R{instance.core_version.release_major:d}. This usually indicates a broken install.') + plugin = instance.funcs.getPluginByID('com.vapoursynth.std', core) + min = instance.funcs.createMap() + mout = instance.funcs.invoke(plugin, "BlankClip", min) + instance.funcs.freeMap(min) + node = instance.funcs.mapGetNode(mout, "clip", 0, NULL) + instance.funcs.freeMap(mout) + if instance.funcs.getNodeCreationFunctionName(node, 0) <> NULL: + instance.creationFlags = ccfEnableGraphInspection + instance.funcs.freeNode(node) return instance cdef Core _get_core(threads = None): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vapoursynth-R69/src/vspipe/vspipe.cpp new/vapoursynth-R70/src/vspipe/vspipe.cpp --- old/vapoursynth-R69/src/vspipe/vspipe.cpp 2024-06-12 21:21:14.000000000 +0200 +++ new/vapoursynth-R70/src/vspipe/vspipe.cpp 2024-09-12 09:05:41.000000000 +0200 @@ -873,7 +873,7 @@ } #ifdef VS_TARGET_OS_WINDOWS -int main8(int argc, char **argv); +static int main8(int argc, char **argv); int wmain(int argc, wchar_t **argv) { std::vector<std::string> argv8storage;