[jira] [Comment Edited] (PYLUCENE-66) JCC doesn't build with Python 3.11.
[ https://issues.apache.org/jira/browse/PYLUCENE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17626895#comment-17626895 ] Andi Vajda edited comment on PYLUCENE-66 at 11/1/22 1:12 AM: - I switched that line to use Py_SET_TYPE() and that should fix this bug. I have not yet upgrade to Python 3.11 yet, could you please try this fix and see if there are other issues with Python 3.11 ? Thanks ! (The fix is in rev 1904960) was (Author: vajda): I switched that line to use Py_SET_TYPE() and that should fix this bug. I have not yet upgrade to Python 3.11 yet, could you please try this fix and see if there are other issues with Python 3.11 ? Thanks ! (The fix is in rev 1904960) > JCC doesn't build with Python 3.11. > --- > > Key: PYLUCENE-66 > URL: https://issues.apache.org/jira/browse/PYLUCENE-66 > Project: PyLucene > Issue Type: Bug > Environment: Python 3.11, PyLucene 9.4.1-rc >Reporter: A. Coady >Priority: Major > > {{#10 10.86 In file included from /usr/local/include/python3.11/Python.h:44,}} > {{#10 10.86 from _jcc3/java/lang/Object.h:18,}} > {{#10 10.86 from jcc3/sources/functions.cpp:23:}} > {{#10 10.86 jcc3/sources/functions.cpp: In function ‘void > installType(PyTypeObject*{*}, PyType_Def{*}, PyObject*, char*, int)’:}} > {{#10 10.86 /usr/local/include/python3.11/object.h:136:30: error: lvalue > required as left operand of assignment}} > {{#10 10.86 136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))}} > {{#10 10.86 | ~{~}{{~}}^{{~}}{~}~}} > {{#10 10.86 jcc3/sources/functions.cpp:1742:13: note: in expansion of macro > ‘Py_TYPE’}} > {{#10 10.86 1742 | Py_TYPE(*type) = PY_TYPE(FinalizerClass);}} > {{#10 10.86 | ^~~}} > {{#10 10.89 error: command '/usr/bin/gcc' failed with exit code 1}} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (PYLUCENE-66) JCC doesn't build with Python 3.11.
[ https://issues.apache.org/jira/browse/PYLUCENE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17626895#comment-17626895 ] Andi Vajda commented on PYLUCENE-66: I switched that line to use Py_SET_TYPE() and that should fix this bug. I have not yet upgrade to Python 3.11 yet, could you please try this fix and see if there are other issues with Python 3.11 ? Thanks ! (The fix is in rev 1904960) > JCC doesn't build with Python 3.11. > --- > > Key: PYLUCENE-66 > URL: https://issues.apache.org/jira/browse/PYLUCENE-66 > Project: PyLucene > Issue Type: Bug > Environment: Python 3.11, PyLucene 9.4.1-rc >Reporter: A. Coady >Priority: Major > > {{#10 10.86 In file included from /usr/local/include/python3.11/Python.h:44,}} > {{#10 10.86 from _jcc3/java/lang/Object.h:18,}} > {{#10 10.86 from jcc3/sources/functions.cpp:23:}} > {{#10 10.86 jcc3/sources/functions.cpp: In function ‘void > installType(PyTypeObject*{*}, PyType_Def{*}, PyObject*, char*, int)’:}} > {{#10 10.86 /usr/local/include/python3.11/object.h:136:30: error: lvalue > required as left operand of assignment}} > {{#10 10.86 136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))}} > {{#10 10.86 | ~{~}{{~}}^{{~}}{~}~}} > {{#10 10.86 jcc3/sources/functions.cpp:1742:13: note: in expansion of macro > ‘Py_TYPE’}} > {{#10 10.86 1742 | Py_TYPE(*type) = PY_TYPE(FinalizerClass);}} > {{#10 10.86 | ^~~}} > {{#10 10.89 error: command '/usr/bin/gcc' failed with exit code 1}} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Resolved] (PYLUCENE-66) JCC doesn't build with Python 3.11.
[ https://issues.apache.org/jira/browse/PYLUCENE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Vajda resolved PYLUCENE-66. Resolution: Fixed fixed in rev 1904960. > JCC doesn't build with Python 3.11. > --- > > Key: PYLUCENE-66 > URL: https://issues.apache.org/jira/browse/PYLUCENE-66 > Project: PyLucene > Issue Type: Bug > Environment: Python 3.11, PyLucene 9.4.1-rc >Reporter: A. Coady >Priority: Major > > {{#10 10.86 In file included from /usr/local/include/python3.11/Python.h:44,}} > {{#10 10.86 from _jcc3/java/lang/Object.h:18,}} > {{#10 10.86 from jcc3/sources/functions.cpp:23:}} > {{#10 10.86 jcc3/sources/functions.cpp: In function ‘void > installType(PyTypeObject*{*}, PyType_Def{*}, PyObject*, char*, int)’:}} > {{#10 10.86 /usr/local/include/python3.11/object.h:136:30: error: lvalue > required as left operand of assignment}} > {{#10 10.86 136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))}} > {{#10 10.86 | ~{~}{{~}}^{{~}}{~}~}} > {{#10 10.86 jcc3/sources/functions.cpp:1742:13: note: in expansion of macro > ‘Py_TYPE’}} > {{#10 10.86 1742 | Py_TYPE(*type) = PY_TYPE(FinalizerClass);}} > {{#10 10.86 | ^~~}} > {{#10 10.89 error: command '/usr/bin/gcc' failed with exit code 1}} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (PYLUCENE-66) JCC doesn't build with Python 3.11.
[ https://issues.apache.org/jira/browse/PYLUCENE-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] A. Coady updated PYLUCENE-66: - Environment: Python 3.11, PyLucene 9.4.1-rc (was: Python 3.11) > JCC doesn't build with Python 3.11. > --- > > Key: PYLUCENE-66 > URL: https://issues.apache.org/jira/browse/PYLUCENE-66 > Project: PyLucene > Issue Type: Bug > Environment: Python 3.11, PyLucene 9.4.1-rc >Reporter: A. Coady >Priority: Major > > {{#10 10.86 In file included from /usr/local/include/python3.11/Python.h:44,}} > {{#10 10.86 from _jcc3/java/lang/Object.h:18,}} > {{#10 10.86 from jcc3/sources/functions.cpp:23:}} > {{#10 10.86 jcc3/sources/functions.cpp: In function ‘void > installType(PyTypeObject*{*}, PyType_Def{*}, PyObject*, char*, int)’:}} > {{#10 10.86 /usr/local/include/python3.11/object.h:136:30: error: lvalue > required as left operand of assignment}} > {{#10 10.86 136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))}} > {{#10 10.86 | ~{~}{{~}}^{{~}}{~}~}} > {{#10 10.86 jcc3/sources/functions.cpp:1742:13: note: in expansion of macro > ‘Py_TYPE’}} > {{#10 10.86 1742 | Py_TYPE(*type) = PY_TYPE(FinalizerClass);}} > {{#10 10.86 | ^~~}} > {{#10 10.89 error: command '/usr/bin/gcc' failed with exit code 1}} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Created] (PYLUCENE-66) JCC doesn't build with Python 3.11.
A. Coady created PYLUCENE-66: Summary: JCC doesn't build with Python 3.11. Key: PYLUCENE-66 URL: https://issues.apache.org/jira/browse/PYLUCENE-66 Project: PyLucene Issue Type: Bug Environment: Python 3.11 Reporter: A. Coady {{#10 10.86 In file included from /usr/local/include/python3.11/Python.h:44,}} {{#10 10.86 from _jcc3/java/lang/Object.h:18,}} {{#10 10.86 from jcc3/sources/functions.cpp:23:}} {{#10 10.86 jcc3/sources/functions.cpp: In function ‘void installType(PyTypeObject*{*}, PyType_Def{*}, PyObject*, char*, int)’:}} {{#10 10.86 /usr/local/include/python3.11/object.h:136:30: error: lvalue required as left operand of assignment}} {{#10 10.86 136 | # define Py_TYPE(ob) Py_TYPE(_PyObject_CAST(ob))}} {{#10 10.86 | ~{~}{{~}}^{{~}}{~}~}} {{#10 10.86 jcc3/sources/functions.cpp:1742:13: note: in expansion of macro ‘Py_TYPE’}} {{#10 10.86 1742 | Py_TYPE(*type) = PY_TYPE(FinalizerClass);}} {{#10 10.86 | ^~~}} {{#10 10.89 error: command '/usr/bin/gcc' failed with exit code 1}} -- This message was sent by Atlassian Jira (v8.20.10#820010)
Re: [VOTE] Release PyLucene 9.4.1
+1 On Mon, Oct 31, 2022, 3:50 PM Andi Vajda wrote: > > The PyLucene 9.4.1 (rc1) release tracking the recent release of > Apache Lucene 9.4.1 is ready. > > A release candidate is available from: > https://dist.apache.org/repos/dist/dev/lucene/pylucene/9.4.1-rc1/ > > PyLucene 9.4.1 is built with JCC 3.12, included in these release artifacts. > > JCC 3.12 supports Python 3.3 up to Python 3.9 (in addition to Python 2.3+). > PyLucene may be built with Python 2 or Python 3, although Python 2 support > is > now untested. > > Please vote to release these artifacts as PyLucene 9.4.1. > Anyone interested in this release can and should vote ! > > Thanks ! > > Andi.. > > ps: the KEYS file for PyLucene release signing is at: > https://dist.apache.org/repos/dist/release/lucene/pylucene/KEYS > https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS > > pps: here is my +1 >
[VOTE] Release PyLucene 9.4.1
The PyLucene 9.4.1 (rc1) release tracking the recent release of Apache Lucene 9.4.1 is ready. A release candidate is available from: https://dist.apache.org/repos/dist/dev/lucene/pylucene/9.4.1-rc1/ PyLucene 9.4.1 is built with JCC 3.12, included in these release artifacts. JCC 3.12 supports Python 3.3 up to Python 3.9 (in addition to Python 2.3+). PyLucene may be built with Python 2 or Python 3, although Python 2 support is now untested. Please vote to release these artifacts as PyLucene 9.4.1. Anyone interested in this release can and should vote ! Thanks ! Andi.. ps: the KEYS file for PyLucene release signing is at: https://dist.apache.org/repos/dist/release/lucene/pylucene/KEYS https://dist.apache.org/repos/dist/dev/lucene/pylucene/KEYS pps: here is my +1
Re: New release of PyLucene?
On Mon, 31 Oct 2022, Benjamin Trent wrote: Thank you very much Andi! Once I wrapped my head around the basics, I found PyLucene excellent, intuitive, and just like writing in Lucene, but with Python! It would be marvelous if we could automate the process or document the steps for building newer versions. Sadly, the marvelous documentation goes as follows: - point PyLucene's Makefile at the version of Lucene you wish to wrap - build PyLucene as usual - fix the breakages For example, for Lucene 9.4.1, the only breakage was updating the hppc version. Trivial, this time. Andi..
Re: New release of PyLucene?
Thank you very much Andi! Once I wrapped my head around the basics, I found PyLucene excellent, intuitive, and just like writing in Lucene, but with Python! It would be marvelous if we could automate the process or document the steps for building newer versions. Thanks! Ben On Mon, Oct 31, 2022 at 11:50 AM Andi Vajda wrote: > > > On Oct 31, 2022, at 07:55, Benjamin Trent wrote: > > > > Lucene 9.4.1 was recently released. The last version of PyLucene > released > > was 9.1.0. There have been some improvements to Lucene since then. My > > particular concern is around KNN search. > > > > What is the process to start a new release of PyLucene? > > Showing interest, which you just did ! > Let me get one going... > > Andi.. > > > > > > > Thank you! > > > > Ben >
Re: New release of PyLucene?
> On Oct 31, 2022, at 07:55, Benjamin Trent wrote: > > Lucene 9.4.1 was recently released. The last version of PyLucene released > was 9.1.0. There have been some improvements to Lucene since then. My > particular concern is around KNN search. > > What is the process to start a new release of PyLucene? Showing interest, which you just did ! Let me get one going... Andi.. > > > Thank you! > > Ben
New release of PyLucene?
Lucene 9.4.1 was recently released. The last version of PyLucene released was 9.1.0. There have been some improvements to Lucene since then. My particular concern is around KNN search. What is the process to start a new release of PyLucene? Thank you! Ben