cd0daeabc7
- Update to 3.8.10 * Fix debug assert failure on 3.12 --profile=dev build. - Release 3.9.9 * orjson module metadata explicitly marks subinterpreters as not supported. - Release 3.9.8 * Improve performance. * Drop support for Python 3.7. - Release 3.9.7 * Fix crash in orjson.loads() due to non-reentrant handling of persistent buffer. This was introduced in 3.9.3. * Handle some FFI removals in CPython 3.13. - Release 3.9.6 * Fix numpy reference leak on unsupported array dtype. * Fix numpy.datetime64 reference handling. * Minor performance improvements. - Release 3.9.5 * Remove futex from module import and initialization path. - Release 3.9.4 * Fix hash builder using default values. * Fix non-release builds of orjson copying large deserialization buffer from stack to heap. This was introduced in 3.9.3. - Release 3.9.3 * Fix compatibility with CPython 3.12. * Support i686/x86 32-bit Python installs on Windows. - Release 3.9.2 * Fix the __cause__ exception on orjson.JSONEncodeError possibly being denormalized, i.e., of type str instead of Exception. - Release 3.9.1 * Fix memory leak on chained tracebacks of exceptions raised in OBS-URL: https://build.opensuse.org/request/show/1138592 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-orjson?expand=0&rev=15
12 lines
351 B
Bash
12 lines
351 B
Bash
#!/bin/sh
|
|
file=$(find . -maxdepth 1 -name 'orjson-*.tar.gz' -print | sort -rn | tail -1)
|
|
echo "Removing the cargo vendoring from upstream ${file}"
|
|
dir=${file%.tar.gz}
|
|
tar -x -z -f $file
|
|
rm ${dir}/Cargo.lock
|
|
rm -r ${dir}/include/cargo
|
|
rm -r ${dir}/.cargo
|
|
outfile=${dir}-devendored.tar.xz
|
|
echo "Repackaging to ${outfile}"
|
|
tar -c -J -f ${outfile} ${dir}
|