21 Commits

Author SHA256 Message Date
c63bcc9f8d Accepting request 1317824 from home:glaubitz:branches:devel:languages:python
- Update to 2.6
  * The bundled LuaJIT versions were updated to the latest git branches.
  * Built with Cython 3.1.6.

OBS-URL: https://build.opensuse.org/request/show/1317824
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=38
2025-11-14 16:13:23 +00:00
5c303d314c Accepting request 1313905 from openSUSE:Factory:RISCV
- Enable luajit on riscv64

OBS-URL: https://build.opensuse.org/request/show/1313905
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=36
2025-10-27 18:46:17 +00:00
2b525dcdd4 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=34
2025-07-22 02:57:05 +00:00
3400746267 - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=32
2025-06-02 07:59:05 +00:00
d7f9843c15 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=30
2023-10-17 10:17:44 +00:00
ce8a17807e - Synchronize architectures where luajit is Required with those
where it is build (riscv64 ppc64 ppc64le s390x).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=28
2023-08-04 11:46:10 +00:00
afbaccbe8a Accepting request 1092106 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092106
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=25
2023-06-11 11:42:42 +00:00
f0c8a736a0 Accepting request 1039853 from home:yarunachalam:branches:devel:languages:python
- Update to version 1.14.1 
  * Rebuild with Cython 0.29.32 to support Python 3.11.

OBS-URL: https://build.opensuse.org/request/show/1039853
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=23
2022-12-03 22:35:38 +00:00
4bb55738ae Accepting request 1029800 from home:AdaLovelace:branches:devel:languages:python
- No upstream LuaJIT on s390x

OBS-URL: https://build.opensuse.org/request/show/1029800
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=21
2022-10-18 22:28:49 +00:00
45ef827a5e Accepting request 1006994 from home:yarunachalam:branches:devel:languages:python
- Update to 1.13 (2022-03-01)
  * Bundled Lua source files were missing in the source distribution.

OBS-URL: https://build.opensuse.org/request/show/1006994
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=19
2022-09-29 19:02:00 +00:00
a9b1b37732 Accepting request 956332 from home:gladiac:branches:devel:languages:python
- Fix BR for luajit (Leap 15.3 only offers moonjit)
- Skip building for python2

OBS-URL: https://build.opensuse.org/request/show/956332
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=18
2022-02-22 08:24:25 +00:00
8062e0509f - Adjust BuildRequires for lua
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=17
2021-12-29 00:49:03 +00:00
2cfcdb9169 Accepting request 940098 from home:bnavigator:python-rpm-macros
- 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)

OBS-URL: https://build.opensuse.org/request/show/940098
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=16
2021-12-13 18:46:23 +00:00
e50235858b Accepting request 903471 from openSUSE:Factory:RISCV
- Force use of lua5.1, lua5.4 is not supported

OBS-URL: https://build.opensuse.org/request/show/903471
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=15
2021-07-01 17:14:10 +00:00
ebeefed5d9 Accepting request 895319 from home:pgajdos:python
- %check: use %pyunittest_arch rpm macro

OBS-URL: https://build.opensuse.org/request/show/895319
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=13
2021-05-25 11:16:17 +00:00
072d435022 - Remove third-party/ bundled application, use the system ones
(bsc#1167557).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=11
2021-01-07 16:31:33 +00:00
Tomáš Chvátal
17565c8a55 Accepting request 787170 from openSUSE:Factory:RISCV
- No LuaJIT on riscv64

OBS-URL: https://build.opensuse.org/request/show/787170
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=9
2020-03-22 07:43:39 +00:00
Tomáš Chvátal
d6966c2837 Accepting request 781868 from home:pgajdos:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/781868
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=7
2020-03-05 14:02:24 +00:00
4dc33022d5 - Use pkgconf instead of directly defining required development
packages.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=4
2019-12-10 20:17:42 +00:00
Tomáš Chvátal
c8cdb894cb - Fix dependency on the luajit to pull any implementation
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=3
2019-12-10 10:34:18 +00:00
0c81586c3d Accepting request 677289 from home:jayvdb:django
- Initial spec for v1.8

OBS-URL: https://build.opensuse.org/request/show/677289
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=1
2019-02-19 12:13:26 +00:00