File python-lupa.changes of Package python-lupa

-------------------------------------------------------------------
Tue Jul 22 02:56:37 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

- Update to 2.5:
  * Lua uses dlopen() again, which was lost in Lupa 2.3.
  * Built with Cython 3.1.2.
  * Failures in the test suite didn't set a non-zero process exit value.
  * Removed support for Python 2.x.
  * Built with Cython 3.0.11.
  * A new method LuaRuntime.gccollect() was added to trigger the Lua garbage
    collector.
  * A new context manager LuaRuntime.nogc() was added to temporarily disable
    the Lua garbage collector.
  * The table_from() method gained a new keyword argument recursive=False.
  * The LuaRuntime methods "eval", "execute" and "compile" gained new keyword
    options mode and name that allow constraining the input type and
    modifying the (chunk) name shown in error messages, following similar
    arguments in the Lua load() function.
  * Loading Lua modules did not work for the version specific Lua modules
    introduced in Lupa 2.0. It turned out that it can only be enabled for one
    of them in a given Python run, so it is now left to users to enable it
    explicitly at need.
  * Built with Cython 3.0.9 for improved support of Python 3.12/13.
- Drop patches, included upstream:
  * no-bundle.patch
  * noexcept.patch

-------------------------------------------------------------------
Mon Jun  2 07:58:20 UTC 2025 - Markéta Machová <mmachova@suse.com>

- Convert to pip-based build

-------------------------------------------------------------------
Tue Oct 17 10:12:44 UTC 2023 - Daniel Garcia Moreno <daniel.garcia@suse.com>

- Add upstream patches to built with Cython 3.0.3:
  - Add no-bundle.patch gh#scoder/lupa@19279acda1ad
  - Add noexcept.patch gh#scoder/lupa@fc0a1af99b74
- Update to 2.0:
  - GH#217: Lua stack traces in Python exception messages are now
    reversed to match the order of Python stack traces.
  - GH#196: Lupa now ships separate extension modules built with Lua
    5.3, Lua 5.4, LuaJIT 2.0 and LuaJIT 2.1 beta. Note that this is
    build specific and may depend on the platform. A normal Python
    import cascade can be used.
  - GH#211: A new option max_memory allows to limit the memory usage
    of Lua code. (patch by Leo Developer)
  - GH#171: Python references in Lua are now more safely reference
    counted to prevent garbage collection glitches. (patch by
    Guilherme Dantas)
  - GH#146: Lua integers in Lua 5.3+ are converted from and to Python
    integers. (patch by Guilherme Dantas)
  - GH#180: The python.enumerate() function now returns indices as
    integers if supported by Lua. (patch by Guilherme Dantas)
  - GH#178: The Lua integer limits can be read from the module as
    LUA_MAXINTEGER and LUA_MININTEGER. (patch by Guilherme Dantas)
  - GH#174: Failures while calling the __index method in Lua during a
    table index lookup from Python could crash Python. (patch by
    Guilherme Dantas)
  - GH#137: Passing None as a dict key into table_from() crashed.
    (patch by Leo Developer)
  - GH#176: A new function python.args(*args, **kwargs) was added to
    help with building Python argument tuples and keyword argument
    dicts for Python function calls from Lua code.
  - GH#177: Tables that are not sequences raise IndexError when
    unpacking them. Previously, non-sequential items were simply
    ignored.
  - GH#179: Resolve some C compiler warnings about signed/unsigned
    comparisons. (patch by Guilherme Dantas)
  - Built with Cython 0.29.34.

-------------------------------------------------------------------
Fri Aug  4 11:45:42 UTC 2023 - Matej Cepl <mcepl@suse.com>

- Synchronize architectures where luajit is Required with those
  where it is build (riscv64 ppc64 ppc64le s390x).

-------------------------------------------------------------------
Sat Jun 10 17:17:28 UTC 2023 - ecsos <ecsos@opensuse.org>

- Add %{?sle15_python_module_pythons}

-------------------------------------------------------------------
Sat Dec  3 17:43:41 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

- Update to version 1.14.1 
  * Rebuild with Cython 0.29.32 to support Python 3.11.

-------------------------------------------------------------------
Tue Oct 18 17:10:06 UTC 2022 - Sarah Kriesch <sarah.kriesch@opensuse.org>

- No upstream LuaJIT on s390x

-------------------------------------------------------------------
Thu Sep 29 15:01:40 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

- Update to 1.13 (2022-03-01)
  * Bundled Lua source files were missing in the source distribution. 

-------------------------------------------------------------------
Mon Feb 21 09:05:32 UTC 2022 - Andreas Schneider <asn@cryptomilk.org>

- Fix BR for luajit (Leap 15.3 only offers moonjit)

-------------------------------------------------------------------
Mon Feb 21 08:57:02 UTC 2022 - Andreas Schneider <asn@cryptomilk.org>

- Skip building for python2

-------------------------------------------------------------------
Wed Dec 29 00:48:53 UTC 2021 - Matej Cepl <mcepl@suse.com>

- Adjust BuildRequires for lua

-------------------------------------------------------------------
Sun Dec 12 15:54:42 UTC 2021 - Ben Greiner <code@bnavigator.de>

- Update to 1.10
  * GH#147: Lua 5.4 is supported. (patch by Russel Davis)
  * The runtime version of the Lua library as a tuple (e.g. (5,3))
    is provided via lupa.LUA_VERSION and LuaRuntime.lua_version.
  * The Lua implementation name and version string is provided as
    LuaRuntime.lua_implementation.
  * setup.py accepts new command line arguments --lua-lib and
    --lua-includes to specify the
  * Use Lua 5.4.3 in binary wheels and as bundled Lua.
  * Built with Cython 0.29.24 to support Python 3.9.
- Also successfully builds and tests on python310
- Update to pkgconfig(lua5.4)

-------------------------------------------------------------------
Thu Jul  1 14:56:37 UTC 2021 - Andreas Schwab <schwab@suse.de>

- Force use of lua5.1, lua5.4 is not supported

-------------------------------------------------------------------
Tue May 25 09:45:01 UTC 2021 - pgajdos@suse.com

- %check: use %pyunittest_arch rpm macro

-------------------------------------------------------------------
Thu Jan  7 16:28:30 UTC 2021 - Matej Cepl <mcepl@suse.com>

- Remove third-party/ bundled application, use the system ones
  (bsc#1167557).

-------------------------------------------------------------------
Sat Mar 21 18:05:45 UTC 2020 - Andreas Schwab <schwab@suse.de>

- No LuaJIT on riscv64

-------------------------------------------------------------------
Thu Mar  5 13:50:57 UTC 2020 - pgajdos@suse.com

- version update to 1.9
  * Build against Lua 5.3 if available.
  * GH#129: Fix Lua module loading in Python 3.x.
  * GH#126: Fix build on Linux systems that install Lua as "lua52" package.

-------------------------------------------------------------------
Tue Dec 10 20:52:28 CET 2019 - Matej Cepl <mcepl@suse.com>

- Use pkgconf instead of directly defining required development
  packages.

-------------------------------------------------------------------
Tue Dec 10 10:34:01 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

- Fix dependency on the luajit to pull any implementation

-------------------------------------------------------------------
Sat Feb 16 16:23:10 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

- Initial spec for v1.8
openSUSE Build Service is sponsored by