43 Commits

Author SHA256 Message Date
456d7fb8e7 Accepting request 1317845 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1317845
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=21
2025-11-17 11:14:06 +00:00
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
5049ee0dcd Accepting request 1313922 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1313922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=20
2025-10-28 13:47:08 +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
b6ece54712 Accepting request 1296221 from devel:languages:python
- 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/request/show/1296221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=19
2025-07-30 09:44:20 +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
5c50fa9c62 Accepting request 1281777 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1281777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=18
2025-06-02 20:00:25 +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
31af89448b Accepting request 1118276 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1118276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=17
2023-10-19 20:47:12 +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
bf8e087dd9 Accepting request 1102379 from devel:languages:python
- Synchronize architectures where luajit is Required with those
  where it is build (riscv64 ppc64 ppc64le s390x).

OBS-URL: https://build.opensuse.org/request/show/1102379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=16
2023-08-05 10:54:57 +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
a02a75a3cd Accepting request 1092248 from devel:languages:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=15
2023-06-12 13:24:45 +00:00
728be22e40 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=26 2023-06-11 11:43:08 +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
7745ade374 Accepting request 1039911 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1039911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=14
2022-12-05 17:00:31 +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
7ea4fd1cb0 Accepting request 1029884 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1029884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=13
2022-10-20 09:09:34 +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
48bbab37e9 Accepting request 1007069 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1007069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=12
2022-10-03 11:44:08 +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
9b7c3ae2ae Accepting request 956623 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/956623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=11
2022-02-23 15:25:42 +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
a663aff09b Accepting request 943002 from devel:languages:python
- Adjust BuildRequires for lua

OBS-URL: https://build.opensuse.org/request/show/943002
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=10
2021-12-30 14:55:26 +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
c2f8e1fcbe Accepting request 940346 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/940346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=9
2021-12-16 20:19:32 +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
c950b0f25a Accepting request 903562 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/903562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=8
2021-07-10 20:53:54 +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
8d6d457d02 Accepting request 895337 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/895337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=7
2021-06-01 08:33:00 +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
663aee6d04 Accepting request 861403 from devel:languages:python
- Remove third-party/ bundled application, use the system ones
  (bsc#1167557).

OBS-URL: https://build.opensuse.org/request/show/861403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=6
2021-01-11 16:08:08 +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
dd52b5c83d Accepting request 787215 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/787215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=5
2020-03-26 23:28:15 +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
a54ec4203f Accepting request 781871 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/781871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=4
2020-03-08 21:22:26 +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
1fa96017e8 Accepting request 757623 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/757623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=3
2019-12-23 21:38:39 +00:00
31c8a7fdf5 Accepting request 755513 from devel:languages:python
- Fix dependency on the luajit to pull any implementation

OBS-URL: https://build.opensuse.org/request/show/755513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=2
2019-12-11 11:04:16 +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
a2e57d11b6 Accepting request 677348 from devel:languages:python
- Initial spec for v1.8

OBS-URL: https://build.opensuse.org/request/show/677348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=1
2019-02-27 16:28:40 +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