Fri, 13 Dec 2019 06:23:21 +0100 [README] point to readthedocs
Laurent Peuch <cortex@worlddomination.be> [Fri, 13 Dec 2019 06:23:21 +0100] rev 882
[README] point to readthedocs
Fri, 13 Dec 2019 06:22:34 +0100 [doc] put tutorial first as it's what we want
Laurent Peuch <cortex@worlddomination.be> [Fri, 13 Dec 2019 06:22:34 +0100] rev 881
[doc] put tutorial first as it's what we want
Fri, 13 Dec 2019 06:22:18 +0100 [doc] add english file to doc index
Laurent Peuch <cortex@worlddomination.be> [Fri, 13 Dec 2019 06:22:18 +0100] rev 880
[doc] add english file to doc index
Fri, 13 Dec 2019 05:54:11 +0100 [doc] use sphinx-quickstart to make doc configuration modern
Laurent Peuch <cortex@worlddomination.be> [Fri, 13 Dec 2019 05:54:11 +0100] rev 879
[doc] use sphinx-quickstart to make doc configuration modern
Fri, 13 Dec 2019 05:36:22 +0100 [doc] integrate the result of sphinx-apidoc on the rql module
Laurent Peuch <cortex@worlddomination.be> [Fri, 13 Dec 2019 05:36:22 +0100] rev 878
[doc] integrate the result of sphinx-apidoc on the rql module
Thu, 12 Dec 2019 03:35:59 +0100 [doc] rename doc/ to docs/ for readthedocs
Laurent Peuch <cortex@worlddomination.be> [Thu, 12 Dec 2019 03:35:59 +0100] rev 877
[doc] rename doc/ to docs/ for readthedocs
Thu, 12 Dec 2019 03:16:01 +0100 [doc/fix] correct syntax for numbered lists
Laurent Peuch <cortex@worlddomination.be> [Thu, 12 Dec 2019 03:16:01 +0100] rev 876
[doc/fix] correct syntax for numbered lists
Thu, 12 Dec 2019 03:14:30 +0100 [doc] put code in rst block for syntax highlight
Laurent Peuch <cortex@worlddomination.be> [Thu, 12 Dec 2019 03:14:30 +0100] rev 875
[doc] put code in rst block for syntax highlight Just putting indentation and "::" in front of everything.
Fri, 13 Dec 2019 04:44:34 +0100 [error/ux] improve lisibility of RQLSyntaxError messages
Laurent Peuch <cortex@worlddomination.be> [Fri, 13 Dec 2019 04:44:34 +0100] rev 874
[error/ux] improve lisibility of RQLSyntaxError messages This is a first step in trying to make syntax error messages more useful. For this faulty RQL: DISTINCT Any N WHERE N is Network, N type "cold water", FCC calibration_for N, FCC variables ILIKE "%conso%", FCC in_state SFCC, FC use_calibration FCC, FC in_state SFC, SFC name "wfs_finished", FC prediction_date FCB, FC nhours FCH, FCP calibration_for N, FCP variables ILIKE "%prod%", FCP in_state SFCP, FP use_calibration FCP, FP in_state SFP, SFP name "wfs_finished", FP prediction_date FPB, FP nhours FPH, MAX(FCB, FCP) < MIN(FCB + CAST(Interval,CAST (String,FCH)+" hours"), FPB + CAST(Interval,CAST(String,FPH)+" hours"))' It will turn the error message from: RQLSyntaxError: DISTINCT Any N WHERE N is Network, N type "cold water", FCC calibration_for N, FCC variables ILIKE "%conso%", FCC in_state SFCC, FC use_calibration FCC, FC in_state SFC, SFC name "wfs_finished", FC prediction_date FCB, FC nhours FCH, FCP calibration_for N, FCP variables ILIKE "%prod%", FCP in_state SFCP, FP use_calibration FCP, FP in_state SFP, SFP name "wfs_finished", FP prediction_date FPB, FP nhours FPH, MAX(FCB, FCP) < MIN(FCB + CAST(Interval,CAST(String,FCH)+" hours"), FPB + CAST(Interval,CAST(String,FPH)+" hours")); at: ('<f.3664>', 1, 414) Trying to find one of QMARK, R_TYPE, CMP_OP, 'IN' To: RQLSyntaxError: Trying to find one of QMARK, R_TYPE, CMP_OP, 'IN' in: DISTINCT Any N WHERE N is Network, N type "cold water", FCC calibration_for N, FCC variables ILIKE "%conso%", FCC in_state SFCC, FC use_calibration FCC, FC in_state SFC, SFC name "wfs_finished", FC prediction_date FCB, FC nhours FCH, FCP calibration_for N, FCP variables ILIKE "%prod%", FCP in_state SFCP, FP use_calibration FCP, FP in_state SFP, SFP name "wfs_finished", FP prediction_date FPB, FP nhours FPH, MAX(FCB, FCP) < MIN(FCB + CAST(Interval,CAST(String,FCH)+" hours"), FPB + CAST(Interval,CAST(String,FPH)+" hours")); at line 1 and column 414 around: ...n_date FPB, FP nhours FPH, MAX(FCB, FCP) < MIN(FCB + CAST(In... ^ here Similarly, for this RQL (the same but on several lines): DISTINCT Any N WHERE N is Network, N type "cold water", FCC calibration_for N, FCC variables ILIKE "%conso%", FCC in_state SFCC, FC use_calibration FCC, FC in_state SFC, SFC name "wfs_finished", FC prediction_date FCB, FC nhours FCH, FCP calibration_for N, FCP variables ILIKE "%prod%", FCP in_state SFCP, FP use_calibration FCP, FP in_state SFP, SFP name "wfs_finished", FP prediction_date FPB, FP nhours FPH, MAX(FCB, FCP) < MIN(FCB + CAST(Interval,CAST(String,FCH)+" hours"), FPB + CAST(Interval,CAST(String,FPH)+" hours")); It will turn the error message from: RQLSyntaxError: 1: DISTINCT Any N WHERE N is Network, N type "cold water", 2: FCC calibration_for N, FCC variables ILIKE "%conso%", 3: FCC in_state SFCC, FC use_calibration FCC, 4: FC in_state SFC, SFC name "wfs_finished", 5: FC prediction_date FCB, FC nhours FCH, 6: FCP calibration_for N, FCP variables ILIKE "%prod%", 7: FCP in_state SFCP, FP use_calibration FCP, 8: FP in_state SFP, SFP name "wfs_finished", 9: FP prediction_date FPB, FP nhours FPH, 10: MAX(FCB, FCP) < 11: MIN(FCB + CAST(Interval,CAST(String,FCH)+" hours"), 12: FPB + CAST(Interval,CAST(String,FPH)+" hours")); at: ('<f.3665>', 10, 4) Trying to find one of QMARK, R_TYPE, CMP_OP, 'IN' To: RQLSyntaxError: Trying to find one of QMARK, R_TYPE, CMP_OP, 'IN' in: 1: DISTINCT Any N WHERE N is Network, N type "cold water", 2: FCC calibration_for N, FCC variables ILIKE "%conso%", 3: FCC in_state SFCC, FC use_calibration FCC, 4: FC in_state SFC, SFC name "wfs_finished", 5: FC prediction_date FCB, FC nhours FCH, 6: FCP calibration_for N, FCP variables ILIKE "%prod%", 7: FCP in_state SFCP, FP use_calibration FCP, 8: FP in_state SFP, SFP name "wfs_finished", 9: FP prediction_date FPB, FP nhours FPH, 10: MAX(FCB, FCP) < 11: MIN(FCB + CAST(Interval,CAST(String,FCH)+" hours"), 12: FPB + CAST(Interval,CAST(String,FPH)+" hours")); at line 10 and column 4 around: MAX(FCB, FCP) < ^ here Closes #17256169
Thu, 07 Nov 2019 18:28:41 +0100 Drop dead python2 code
Philippe Pepiot <philippe.pepiot@logilab.fr> [Thu, 07 Nov 2019 18:28:41 +0100] rev 873
Drop dead python2 code
Wed, 06 Nov 2019 11:55:34 +0100 Add check-manifest environment
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 06 Nov 2019 11:55:34 +0100] rev 872
Add check-manifest environment
Wed, 06 Nov 2019 11:54:21 +0100 Add missing build_wheel.sh and drop debian/ from the sdist
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 06 Nov 2019 11:54:21 +0100] rev 871
Add missing build_wheel.sh and drop debian/ from the sdist There's no good reason to include debian packaging in python sdist.
Wed, 06 Nov 2019 11:49:59 +0100 Add python_requires and python3 only specifiers
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 06 Nov 2019 11:49:59 +0100] rev 870
Add python_requires and python3 only specifiers This allow pip to install a older python2 compatible package if running with python2. The "Programming Language :: Python :: 3 :: Only" is just for pypi statistics AFAIK.
Wed, 06 Nov 2019 11:22:40 +0100 Drop dependency on six
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 06 Nov 2019 11:22:40 +0100] rev 869
Drop dependency on six We're going to remove python2 support so we can remove six as well.
Wed, 06 Nov 2019 11:27:36 +0100 Stop building python2 wheels and workaround broken py38 wheel
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 06 Nov 2019 11:27:36 +0100] rev 868
Stop building python2 wheels and workaround broken py38 wheel This script is used to publish wheel binary packages to pypi. Since we're going to remove python2 support, stop generating wheels for python2. Also py38 is out and our wheel doesn't compile with py38 due to a bug of logilab-common. Waiting a fix, don't build wheel for py38. % docker run --rm -it quay.io/pypa/manylinux1_x86_64 ls -1A /opt/python cp27-cp27m cp27-cp27mu cp34-cp34m cp35-cp35m cp36-cp36m cp37-cp37m cp38-cp38
Wed, 06 Nov 2019 11:20:56 +0100 Drop debian python2 packaging
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 06 Nov 2019 11:20:56 +0100] rev 867
Drop debian python2 packaging
Wed, 06 Nov 2019 11:14:50 +0100 Drop python2 tests from tox configuration
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 06 Nov 2019 11:14:50 +0100] rev 866
Drop python2 tests from tox configuration
Wed, 06 Nov 2019 11:13:17 +0100 Drop rpm packaging
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 06 Nov 2019 11:13:17 +0100] rev 865
Drop rpm packaging This packaging (if it works) only work for python2 and we're going to drop python2 support. I don't have an rpm build environment and I don't known how to test this, so just drop the spec file and let someone revive this if needed.
Wed, 26 Jun 2019 09:01:30 +0200 Added tag 0.35.2, debian/0.35.2 for changeset 6dade00934bb
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 26 Jun 2019 09:01:30 +0200] rev 864
Added tag 0.35.2, debian/0.35.2 for changeset 6dade00934bb
Wed, 26 Jun 2019 09:00:38 +0200 [pkg] Version 0.35.2 0.35.2 debian/0.35.2
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 26 Jun 2019 09:00:38 +0200] rev 863
[pkg] Version 0.35.2
Tue, 04 Jun 2019 11:53:03 +0200 Update Debian packaging
Jérémy Bobbio <jeremy.bobbio@irq7.fr> [Tue, 04 Jun 2019 11:53:03 +0200] rev 862
Update Debian packaging Various improvements to Debian packaging: - Depend on python-yapps and python3-yapps for YAPPS runtime. - Use PYBUILD_NAME instead of debian/*.install files. - Use python3-sphinx instead of obsolete Python 2 version. - Always build Python 3 package. - Run tests at build time and adds relevant packages to Build-Depends. - Add superficial autopkgtest using autodep8. - Add autopkgtest script to run unittest against installed packages. - Add Vcs-Hg and Vcs-Browser fields. - Update Standards-Version to 4.3.0. In order to run the tests at build time and with autopkgtest, they need to be made part of the Python source package. The manifest has been modified accordingly.
Fri, 15 Feb 2019 15:46:02 +0100 autopep8: F501 line too long
Simon Chabot <simon.chabot@logilab.fr> [Fri, 15 Feb 2019 15:46:02 +0100] rev 861
autopep8: F501 line too long
Wed, 13 Feb 2019 19:10:43 +0100 autopep8: F841 undefined name
Simon Chabot <simon.chabot@logilab.fr> [Wed, 13 Feb 2019 19:10:43 +0100] rev 860
autopep8: F841 undefined name Special cases: - `long` and `unicode` no longer exist in python 3. I added a "# noqa" comment to avoid warnings. - `cmp` method no longer exist in python 3. It was used in the `test/unittest_analyze.py` file in the __cmp__ method. It appears that when this method is removed, all the tests are still valid. Therefore I dropped it.
Wed, 13 Feb 2019 19:01:27 +0100 autopep8: F841 local variable is assinged but never used
Simon Chabot <simon.chabot@logilab.fr> [Wed, 13 Feb 2019 19:01:27 +0100] rev 859
autopep8: F841 local variable is assinged but never used
Wed, 13 Feb 2019 18:51:26 +0100 autopep8: F401 imported but unused
Simon Chabot <simon.chabot@logilab.fr> [Wed, 13 Feb 2019 18:51:26 +0100] rev 858
autopep8: F401 imported but unused
Wed, 13 Feb 2019 18:41:43 +0100 autopep8: E731 do not assign a lambda expression, use a def
Simon Chabot <simon.chabot@logilab.fr> [Wed, 13 Feb 2019 18:41:43 +0100] rev 857
autopep8: E731 do not assign a lambda expression, use a def
Wed, 13 Feb 2019 18:36:40 +0100 autopep8: E402 module level import not at top of file
Simon Chabot <simon.chabot@logilab.fr> [Wed, 13 Feb 2019 18:36:40 +0100] rev 856
autopep8: E402 module level import not at top of file Fixing E402 implied running autopep8 for : - E404 from __future__ imports must occur at the beginning of the file - E303 too many blank lines
Wed, 13 Feb 2019 18:28:29 +0100 autopep8: E265 block comment should start with '# '
Simon Chabot <simon.chabot@logilab.fr> [Wed, 13 Feb 2019 18:28:29 +0100] rev 855
autopep8: E265 block comment should start with '# '
Wed, 13 Feb 2019 18:25:45 +0100 autopep8: E261 at least two spaces before inline comment
Simon Chabot <simon.chabot@logilab.fr> [Wed, 13 Feb 2019 18:25:45 +0100] rev 854
autopep8: E261 at least two spaces before inline comment
Wed, 13 Feb 2019 18:24:25 +0100 autopep8: fix E127 continuation line over-indented for visual indent
Simon Chabot <simon.chabot@logilab.fr> [Wed, 13 Feb 2019 18:24:25 +0100] rev 853
autopep8: fix E127 continuation line over-indented for visual indent
Wed, 13 Feb 2019 18:14:10 +0100 autopep8: fix E203 whitespace before ':'
Simon Chabot <simon.chabot@logilab.fr> [Wed, 13 Feb 2019 18:14:10 +0100] rev 852
autopep8: fix E203 whitespace before ':'
Wed, 13 Feb 2019 17:30:46 +0100 Add flake8 tests in tox configuration
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:30:46 +0100] rev 851
Add flake8 tests in tox configuration Use python3 version of flake8 and ignore still known issues. Don't ignore errors in global flake8 configuration so the errors are not hidden in IDEs. This prevent future regressions on fixed issues.
Wed, 13 Feb 2019 17:27:26 +0100 flake8: fix E714 test for object identity should be 'is not'
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:27:26 +0100] rev 850
flake8: fix E714 test for object identity should be 'is not'
Wed, 13 Feb 2019 17:25:37 +0100 autopep8: fix E225 missing whitespace around operator
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:25:37 +0100] rev 849
autopep8: fix E225 missing whitespace around operator
Wed, 13 Feb 2019 17:24:55 +0100 flake8: fix E713 test for membership should be 'not in'
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:24:55 +0100] rev 848
flake8: fix E713 test for membership should be 'not in'
Wed, 13 Feb 2019 17:23:28 +0100 autopep8: fix E262 inline comment should start with '# '
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:23:28 +0100] rev 847
autopep8: fix E262 inline comment should start with '# '
Wed, 13 Feb 2019 17:22:45 +0100 autopep8: fix E129 visually indented line with same indent as next logical line
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:22:45 +0100] rev 846
autopep8: fix E129 visually indented line with same indent as next logical line
Wed, 13 Feb 2019 17:22:18 +0100 autopep8: fix E128 continuation line under-indented for visual indent
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:22:18 +0100] rev 845
autopep8: fix E128 continuation line under-indented for visual indent
Wed, 13 Feb 2019 17:15:44 +0100 flake8: fix E722 do not use bare 'except'
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:15:44 +0100] rev 844
flake8: fix E722 do not use bare 'except'
Wed, 13 Feb 2019 17:12:08 +0100 autopep8: fix E227 missing whitespace around bitwise or shift operator
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:12:08 +0100] rev 843
autopep8: fix E227 missing whitespace around bitwise or shift operator
Wed, 13 Feb 2019 17:11:54 +0100 autopep8: fix E225 missing whitespace around operator
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:11:54 +0100] rev 842
autopep8: fix E225 missing whitespace around operator
Wed, 13 Feb 2019 17:11:31 +0100 autopep8: fix E221 multiple spaces before operator
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:11:31 +0100] rev 841
autopep8: fix E221 multiple spaces before operator
Wed, 13 Feb 2019 17:08:31 +0100 autopep8: fix E231 missing whitespace after ','
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:08:31 +0100] rev 840
autopep8: fix E231 missing whitespace after ','
Wed, 13 Feb 2019 17:07:13 +0100 autopep8: fix E301/E302 expected 1/2 blank line, found 0/1
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:07:13 +0100] rev 839
autopep8: fix E301/E302 expected 1/2 blank line, found 0/1
Wed, 13 Feb 2019 17:06:44 +0100 autopep8: fix E306 expected 1 blank line before a nested definition, found 0
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:06:44 +0100] rev 838
autopep8: fix E306 expected 1 blank line before a nested definition, found 0
Wed, 13 Feb 2019 17:06:17 +0100 autopep8: fix E401 multiple imports on one line
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:06:17 +0100] rev 837
autopep8: fix E401 multiple imports on one line
Wed, 13 Feb 2019 17:05:19 +0100 autopep8: fix E702 multiple statements on one line (semicolon)
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:05:19 +0100] rev 836
autopep8: fix E702 multiple statements on one line (semicolon)
Wed, 13 Feb 2019 17:04:16 +0100 autopep8: fix W391 blank line at end of file
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:04:16 +0100] rev 835
autopep8: fix W391 blank line at end of file
Wed, 13 Feb 2019 17:03:33 +0100 autopep8: fix W291 trailing whitespace
Philippe Pepiot <philippe.pepiot@logilab.fr> [Wed, 13 Feb 2019 17:03:33 +0100] rev 834
autopep8: fix W291 trailing whitespace
Wed, 13 Feb 2019 15:36:13 +0100 autopep8: fix E125 continuation line with same indent as next logical line
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 13 Feb 2019 15:36:13 +0100] rev 833
autopep8: fix E125 continuation line with same indent as next logical line
Wed, 13 Feb 2019 15:34:51 +0100 autopep8: fix E124 closing bracket does not match visual indentation
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 13 Feb 2019 15:34:51 +0100] rev 832
autopep8: fix E124 closing bracket does not match visual indentation
Wed, 13 Feb 2019 15:31:44 +0100 Drop commented code causing of flake8 errors
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 13 Feb 2019 15:31:44 +0100] rev 831
Drop commented code causing of flake8 errors
Wed, 13 Feb 2019 15:30:50 +0100 autopep8: fix E111 indentation is not a multiple of four
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 13 Feb 2019 15:30:50 +0100] rev 830
autopep8: fix E111 indentation is not a multiple of four
Wed, 13 Feb 2019 15:29:38 +0100 autopep8: fix E202 whitespace before ')'
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 13 Feb 2019 15:29:38 +0100] rev 829
autopep8: fix E202 whitespace before ')'
Wed, 13 Feb 2019 12:31:37 +0100 autopep8: fix E303 too many blank lines
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 13 Feb 2019 12:31:37 +0100] rev 828
autopep8: fix E303 too many blank lines
Wed, 13 Feb 2019 12:31:03 +0100 autopep8: fix E127 continuation line over-indented for visual indent
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 13 Feb 2019 12:31:03 +0100] rev 827
autopep8: fix E127 continuation line over-indented for visual indent
Wed, 13 Feb 2019 12:28:28 +0100 autopep8: fix E305 expected 2 blank lines after class or function definition
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 13 Feb 2019 12:28:28 +0100] rev 826
autopep8: fix E305 expected 2 blank lines after class or function definition
Wed, 13 Feb 2019 16:06:24 +0100 Configure flake8 to allo 100-long lines
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 13 Feb 2019 16:06:24 +0100] rev 825
Configure flake8 to allo 100-long lines
Wed, 13 Feb 2019 15:54:57 +0100 Added tag 0.35.1 for changeset 01b2152b778a
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 13 Feb 2019 15:54:57 +0100] rev 824
Added tag 0.35.1 for changeset 01b2152b778a
Wed, 13 Feb 2019 15:41:11 +0100 [pkg] Version 0.35.1 0.35.1
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 13 Feb 2019 15:41:11 +0100] rev 823
[pkg] Version 0.35.1
Wed, 13 Feb 2019 14:04:48 +0100 Add a "should_register_op" class attribute to ScopeNode
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 13 Feb 2019 14:04:48 +0100] rev 822
Add a "should_register_op" class attribute to ScopeNode This a follow-up on changeset a0bf7565501f which introduce usage of this attribute in set_having() method. Sometimes, derived would classes implement this method (e.g. through EditableMixIn or directly, like Union) but some statement would not (e.g. Delete). So this breaks any mutable query using an HAVING clause. For instance, in cubicweb: self = <unittest_querier.QuerierTC testMethod=test_update_having> def test_update_having(self): peid1 = self.qexecute("INSERT Personne Y: Y nom 'hop', Y tel 1")[0][0] peid2 = self.qexecute("INSERT Personne Y: Y nom 'hop', Y tel 2")[0][0] > rset = self.qexecute("SET X tel 3 WHERE X tel TEL HAVING TEL&1=1") cubicweb/server/test/unittest_querier.py:1354: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cubicweb/devtools/repotest.py:193: in qexecute return self.o.execute(cnx, rql, args, build_descr) cubicweb/server/sqlutils.py:488: in new_execute rset = base_execute(*args, **kwargs) cubicweb/statsd_logger.py:135: in __call__ return self.callable(*args, **kw) cubicweb/server/querier.py:532: in execute rqlst, cachekey = self.rql_cache.get(cnx, rql, args) cubicweb/server/querier.py:659: in get rqlst = self._parse(rql) cubicweb/server/querier.py:629: in parse return parse(text_type(rql), annotate=annotate) .tox/py27-server/local/lib/python2.7/site-packages/rql/__init__.py:91: in parse rqlst = parse(rqlstring, False) .tox/py27-server/local/lib/python2.7/site-packages/rql/__init__.py:213: in parse return parser.goal() .tox/py27-server/local/lib/python2.7/site-packages/rql/parser.py:123: in goal update = self.update(Set(), _context) .tox/py27-server/local/lib/python2.7/site-packages/rql/parser.py:167: in update having = self.having(R, _context) .tox/py27-server/local/lib/python2.7/site-packages/rql/parser.py:243: in having S.set_having([logical_expr]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = SET Relation(VarRef(X) tel = 3) WHERE Relation(VarRef(X) tel = VarRef(TEL)) terms = [= (VarRef(TEL) & 1), 1] def set_having(self, terms): > if self.should_register_op: E AttributeError: 'Set' object has no attribute 'should_register_op' .tox/py27-server/local/lib/python2.7/site-packages/rql/stmts.py:82: AttributeError So, we simply add a class attribute with a None value so that the interface of this ScopeNode class is at least self-consistent. Adding a non-regression test with a DELETE and a SET queries. (Note that most existing non-regression tests do not contain assertions, they just call functions in the hope they do not crash; the new test just follows this pattern as I don't know what to check.)
Thu, 13 Dec 2018 10:02:45 +0100 [readme] fix custom spelling
Samuel Trégouët <samuel.tregouet@logilab.fr> [Thu, 13 Dec 2018 10:02:45 +0100] rev 821
[readme] fix custom spelling
Thu, 13 Dec 2018 09:33:49 +0100 Added tag 0.35.0, centos/0.35.0-1, debian/0.35.0-1 for changeset 148f94dda768
Philippe Pepiot <philippe.pepiot@logilab.fr> [Thu, 13 Dec 2018 09:33:49 +0100] rev 820
Added tag 0.35.0, centos/0.35.0-1, debian/0.35.0-1 for changeset 148f94dda768
Thu, 13 Dec 2018 09:32:27 +0100 [pkg] version 0.35.0 0.35.0 centos/0.35.0-1 debian/0.35.0-1
Philippe Pepiot <philippe.pepiot@logilab.fr> [Thu, 13 Dec 2018 09:32:27 +0100] rev 819
[pkg] version 0.35.0
Thu, 12 Jul 2018 18:11:10 +0200 add script to build manylinux wheels in docker
Samuel Trégouët <samuel.tregouet@logilab.fr> [Thu, 12 Jul 2018 18:11:10 +0200] rev 818
add script to build manylinux wheels in docker
Fri, 18 May 2018 19:31:20 +0200 [gecode] make the extension compatible with libgecode6
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 18 May 2018 19:31:20 +0200] rev 817
[gecode] make the extension compatible with libgecode6 cf. http://www.gecode.org/doc-latest/reference/PageHowToChange__6.html
Fri, 18 May 2018 19:26:19 +0200 beautify C++ code with clang-format
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Fri, 18 May 2018 19:26:19 +0200] rev 816
beautify C++ code with clang-format This removes tabs and spaces mix and make the readable again
Mon, 29 Jan 2018 14:51:42 +0100 upgrade to gecode5.x API
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Mon, 29 Jan 2018 14:51:42 +0100] rev 815
upgrade to gecode5.x API http://www.gecode.org/doc-latest/reference/PageHowToChange__5.html says that brancher handlers have been removed and that `BrancherGroup` should be used instead. use the `BrancherGroup:all` static member to get the special brancher group that gathers all branchers in a space, and fetch the number of branchers it contains. cf. http://www.gecode.org/doc-latest/MPG.pdf Do the same thing for propagators.
Tue, 28 Nov 2017 14:43:01 +0100 [tox] Use py3 environment instead of py34
Denis Laxalde <denis.laxalde@logilab.fr> [Tue, 28 Nov 2017 14:43:01 +0100] rev 814
[tox] Use py3 environment instead of py34 The former would select any Python 3 interpreter.
Thu, 02 Feb 2017 17:10:51 +0100 Add "undo" support for HAVING clause
Denis Laxalde <denis.laxalde@logilab.fr> [Thu, 02 Feb 2017 17:10:51 +0100] rev 813
Add "undo" support for HAVING clause Closes #10058776.
Fri, 27 Jan 2017 17:56:20 +0100 Added tag 0.34.2, debian/0.34.2-1, centos/0.34.2-1 for changeset 0736f99993c4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 Jan 2017 17:56:20 +0100] rev 812
Added tag 0.34.2, debian/0.34.2-1, centos/0.34.2-1 for changeset 0736f99993c4
Fri, 27 Jan 2017 17:46:38 +0100 Prepare 0.34.2 0.34.2 centos/0.34.2-1 debian/0.34.2-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 Jan 2017 17:46:38 +0100] rev 811
Prepare 0.34.2
Thu, 01 Dec 2016 23:18:11 +0100 [test] cleanup a bit
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Dec 2016 23:18:11 +0100] rev 810
[test] cleanup a bit
Thu, 01 Dec 2016 23:14:53 +0100 Start test using py.test
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Dec 2016 23:14:53 +0100] rev 809
Start test using py.test This includes turning generative test into subtest, using standard api for doctest and some use of bare unittest instead of lgc.testlib as bonus.
Fri, 27 Jan 2017 16:45:33 +0100 [pkg] Add python-logilab-constraint to debian dependencies
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 27 Jan 2017 16:45:33 +0100] rev 808
[pkg] Add python-logilab-constraint to debian dependencies else we may run into problem when pkg_resources is used, as it will detect that a dependancy in the python package isn't installed. Fix it this way rather than using extras_require because we want the package to be usable with a simple pip install. Closes #9343431
Thu, 01 Dec 2016 23:19:18 +0100 Do not set uidrel if RHS of the relation is not a constant.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 01 Dec 2016 23:19:18 +0100] rev 807
Do not set uidrel if RHS of the relation is not a constant. Closes #9441457
Wed, 11 Jan 2017 14:53:16 +0100 make add_type_restriction accept a list of entity types
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 11 Jan 2017 14:53:16 +0100] rev 806
make add_type_restriction accept a list of entity types closes #10041087
Fri, 18 Nov 2016 14:13:32 +0100 Added tag 0.34.1, debian/0.34.1-1, centos/0.34.1-1 for changeset a28961595870
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 18 Nov 2016 14:13:32 +0100] rev 805
Added tag 0.34.1, debian/0.34.1-1, centos/0.34.1-1 for changeset a28961595870
Fri, 18 Nov 2016 14:13:22 +0100 [pkg] Version 0.34.1 0.34.1 centos/0.34.1-1 debian/0.34.1-1
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 18 Nov 2016 14:13:22 +0100] rev 804
[pkg] Version 0.34.1
Fri, 18 Nov 2016 11:55:24 +0100 [tox] Use `python -m` to run lgc.pytest
Denis Laxalde <denis.laxalde@logilab.fr> [Fri, 18 Nov 2016 11:55:24 +0100] rev 803
[tox] Use `python -m` to run lgc.pytest Since the binary will disappear in logilab-common 1.3.0.
Tue, 19 Jul 2016 10:24:13 +0200 [parsing] Raise BadRQLQuery if shortcut type settings is used without any variable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 19 Jul 2016 10:24:13 +0200] rev 802
[parsing] Raise BadRQLQuery if shortcut type settings is used without any variable Before this 'Machin 12' is transformed to 'Any 12' since it expect a 'set type shortcut', but since the selection doesn't hold any variable, the type information is lost and no type checking is ever done. We can not expect to have the schema at this point, which would allow to check if the type exists. Even if we had, we would then need dedicated structures to hold the information that we expect entity with eid '12' to be a 'Machin'... Thus, it seems simpler to disallow usage of this simplified form without any selected variable. Closes #9234282.
Wed, 13 Apr 2016 11:05:54 +0200 [nodes] kill unused import
Julien Cristau <julien.cristau@logilab.fr> [Wed, 13 Apr 2016 11:05:54 +0200] rev 801
[nodes] kill unused import
Thu, 17 Nov 2016 11:09:16 +0100 [__pkginfo__] use yapp2 in requires.txt since that is the one being installed by debian package (and also fits in pip install scenario)
Arthur Lutz <arthur.lutz@logilab.fr> [Thu, 17 Nov 2016 11:09:16 +0100] rev 800
[__pkginfo__] use yapp2 in requires.txt since that is the one being installed by debian package (and also fits in pip install scenario)
Thu, 18 Feb 2016 17:16:15 +0100 Added tag centos/0.34.0-3 for changeset 896214a33f89
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 18 Feb 2016 17:16:15 +0100] rev 799
Added tag centos/0.34.0-3 for changeset 896214a33f89
Thu, 18 Feb 2016 17:10:32 +0100 [pkg] fix files listing in spec centos/0.34.0-3
Samuel Trégouët <samuel.tregouet@logilab.fr> [Thu, 18 Feb 2016 17:10:32 +0100] rev 798
[pkg] fix files listing in spec
Thu, 18 Feb 2016 15:42:55 +0100 Added tag centos/0.34.0-2 for changeset a9be3f7161c4
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Thu, 18 Feb 2016 15:42:55 +0100] rev 797
Added tag centos/0.34.0-2 for changeset a9be3f7161c4
Fri, 29 Jan 2016 14:55:44 +0100 [pkg] do not include all files in spec centos/0.34.0-2
Samuel Trégouët <samuel.tregouet@logilab.fr> [Fri, 29 Jan 2016 14:55:44 +0100] rev 796
[pkg] do not include all files in spec our spec files conflict with filesystem package in centos7: we set permission 755 for /usr/bin and /usr/lib whereas filesystem set it to 555. So to be compatible with both centos7 and others we simply ignore theses directories.
Mon, 04 Jan 2016 17:17:34 +0100 Added tag 0.34.0, centos/0.34.0-1, debian/0.34.0-1 for changeset 8411efb08f71
Julien Cristau <julien.cristau@logilab.fr> [Mon, 04 Jan 2016 17:17:34 +0100] rev 795
Added tag 0.34.0, centos/0.34.0-1, debian/0.34.0-1 for changeset 8411efb08f71
Mon, 04 Jan 2016 17:03:05 +0100 [pkg] don't try to build the python3 package if the python3 version is too old 0.34.0 centos/0.34.0-1 debian/0.34.0-1
Julien Cristau <julien.cristau@logilab.fr> [Mon, 04 Jan 2016 17:03:05 +0100] rev 794
[pkg] don't try to build the python3 package if the python3 version is too old
Mon, 04 Jan 2016 16:30:42 +0100 [pkg] add missing build-dependencies, and don't try to run tests
Julien Cristau <julien.cristau@logilab.fr> [Mon, 04 Jan 2016 16:30:42 +0100] rev 793
[pkg] add missing build-dependencies, and don't try to run tests pybuild doesn't seem to find any tests. We should fix that, but, later.
Mon, 04 Jan 2016 15:57:55 +0100 Use python3-compatible syntax in parser_main
Julien Cristau <julien.cristau@logilab.fr> [Mon, 04 Jan 2016 15:57:55 +0100] rev 792
Use python3-compatible syntax in parser_main
Mon, 04 Jan 2016 14:31:16 +0100 [pkg] 0.34.0
Julien Cristau <julien.cristau@logilab.fr> [Mon, 04 Jan 2016 14:31:16 +0100] rev 791
[pkg] 0.34.0
Mon, 04 Jan 2016 11:21:30 +0100 Fix crash introduced by previous cset 7b01294f336d
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 04 Jan 2016 11:21:30 +0100] rev 790
Fix crash introduced by previous cset 7b01294f336d when types are actually yams schema instead of bare string, one ended up with: File "/usr/lib/python2.7/dist-packages/rql/nodes.py", line 639, in get_type if lhstype == rhstype and not 'Date' in lhstype: TypeError: argument of type 'CubicWebEntitySchema' is not iterable
Tue, 22 Dec 2015 12:16:23 +0100 test and fix implementation of get_type for date arithmetic
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 22 Dec 2015 12:16:23 +0100] rev 789
test and fix implementation of get_type for date arithmetic * add support for TZDatetime * properly raise on unsupported addition (e.g. date+date) * dates can be added to Interval, not Time Closes #3248236
Tue, 02 Dec 2014 11:07:14 +0100 yapps sends errors to stderr not stdout
Julien Cristau <julien.cristau@logilab.fr> [Tue, 02 Dec 2014 11:07:14 +0100] rev 788
yapps sends errors to stderr not stdout Capturing the latter only results in an empty StringIO.
Thu, 19 Nov 2015 13:54:44 +0100 [pkg] add pypi classifiers
Julien Cristau <julien.cristau@logilab.fr> [Thu, 19 Nov 2015 13:54:44 +0100] rev 787
[pkg] add pypi classifiers
Mon, 12 Oct 2015 12:19:52 +0200 [pkg] Declare API breaks in packaging
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 12 Oct 2015 12:19:52 +0200] rev 786
[pkg] Declare API breaks in packaging
Wed, 09 Sep 2015 15:34:30 +0200 add tox config
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Sep 2015 15:34:30 +0200] rev 785
add tox config
Mon, 21 Sep 2015 12:20:26 +0200 [tests] Add tests to exercise various code paths in Select.replace()
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 21 Sep 2015 12:20:26 +0200] rev 784
[tests] Add tests to exercise various code paths in Select.replace() The original patch for bug #1190458 broke tests in CubicWeb. The patch has now been amended to fix the broken paths (namely, replacing the 'in' tests with appropriate 'is_equivalent' loops). These tests are adapted from CubicWeb's own test suite, especially those that test FTIRANK() on sqlite (the function exists but is replaced by a no-op).
Mon, 21 Sep 2015 12:20:16 +0200 [py3k] dict.itervalues → dict.values
Rémi Cardona <remi.cardona@logilab.fr> [Mon, 21 Sep 2015 12:20:16 +0200] rev 783
[py3k] dict.itervalues → dict.values
Wed, 09 Sep 2015 11:08:37 +0200 [debian] build python3 package
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Sep 2015 11:08:37 +0200] rev 782
[debian] build python3 package Related to #1167312
Wed, 09 Sep 2015 11:16:17 +0200 [py3k] more print_function
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Sep 2015 11:16:17 +0200] rev 781
[py3k] more print_function Mostly in comments and defunct tools. Related to #1167312
Tue, 08 Sep 2015 18:08:07 +0200 [py3k] Unicode everywhere, drop as_string()'s 'encoding' parameter
Rémi Cardona <remi.cardona@free.fr> [Tue, 08 Sep 2015 18:08:07 +0200] rev 780
[py3k] Unicode everywhere, drop as_string()'s 'encoding' parameter WARNING: This is an API break Among other things we no longer use repr() for String constants, which means they consistently get quoted with double quotes instead of a mix of single and double quotes. Closes #1190507
Wed, 23 Jul 2014 09:27:39 +0200 [py3k] work with str (and not bytes) in python 3
Rémi Cardona <remi.cardona@free.fr> [Wed, 23 Jul 2014 09:27:39 +0200] rev 779
[py3k] work with str (and not bytes) in python 3 Related to #1167312
Fri, 25 Jul 2014 21:02:29 +0200 gecode_solver: fix build for python3
Julien Cristau <julien.cristau@logilab.fr> [Fri, 25 Jul 2014 21:02:29 +0200] rev 778
gecode_solver: fix build for python3 - there is no distinction between PyInt and PyLong anymore - module initialization changed a bit Related to #1167312
Tue, 08 Sep 2015 14:16:36 +0200 [nodes] Drop VariableRef.__cmp__ implementation (closes #1190458)
Rémi Cardona <remi.cardona@free.fr> [Tue, 08 Sep 2015 14:16:36 +0200] rev 777
[nodes] Drop VariableRef.__cmp__ implementation (closes #1190458) The existing implementation relies on hash returning different values for objects that compared equal. This is horribly wrong. Instead, stop implementing comparison, and use the is_equivalent method explicitly.
Tue, 08 Sep 2015 08:47:02 +0200 Added tag 0.33.2, debian/0.33.2-1, centos/0.33.2-1 for changeset c629ea9f78f6
Julien Cristau <julien.cristau@logilab.fr> [Tue, 08 Sep 2015 08:47:02 +0200] rev 776
Added tag 0.33.2, debian/0.33.2-1, centos/0.33.2-1 for changeset c629ea9f78f6
Mon, 07 Sep 2015 17:19:08 +0200 [pkg] 0.33.2 0.33.2 centos/0.33.2-1 debian/0.33.2-1
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Sep 2015 17:19:08 +0200] rev 775
[pkg] 0.33.2
Wed, 22 Jul 2015 11:36:11 +0200 [pkg] don't crash if g++ is not in $PATH
Julien Cristau <julien.cristau@logilab.fr> [Wed, 22 Jul 2015 11:36:11 +0200] rev 774
[pkg] don't crash if g++ is not in $PATH Closes #298337
Fri, 17 Jul 2015 16:43:18 +0200 Added tag debian/0.33.1-2 for changeset d5be0ab6712c
Julien Cristau <julien.cristau@logilab.fr> [Fri, 17 Jul 2015 16:43:18 +0200] rev 773
Added tag debian/0.33.1-2 for changeset d5be0ab6712c
Fri, 17 Jul 2015 16:43:09 +0200 [pkg] fix Debian package dependencies debian/0.33.1-2
Julien Cristau <julien.cristau@logilab.fr> [Fri, 17 Jul 2015 16:43:09 +0200] rev 772
[pkg] fix Debian package dependencies Fix regression introduced by switch to dh_python2: it reads our egg-info/requires.txt to try and guess package dependencies. This generates a broken dependency on nonexistent "python-yapps" (instead of yapps2-runtime) and an unnecessary one on python-logilab-constraint (we use gecode).
Wed, 15 Jul 2015 12:16:08 +0200 Added tag 0.33.1, debian/0.33.1-1, centos/0.33.1-1 for changeset 0906f9daa48e
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jul 2015 12:16:08 +0200] rev 771
Added tag 0.33.1, debian/0.33.1-1, centos/0.33.1-1 for changeset 0906f9daa48e
Wed, 15 Jul 2015 11:53:17 +0200 [pkg] add missing setuptools dependency to spec file 0.33.1 centos/0.33.1-1 debian/0.33.1-1
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jul 2015 11:53:17 +0200] rev 770
[pkg] add missing setuptools dependency to spec file
Wed, 15 Jul 2015 11:47:16 +0200 [pkg] Fix debian clean rule
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jul 2015 11:47:16 +0200] rev 769
[pkg] Fix debian clean rule
Wed, 15 Jul 2015 11:08:08 +0200 Update ChangeLog
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jul 2015 11:08:08 +0200] rev 768
Update ChangeLog
Wed, 15 Jul 2015 11:07:54 +0200 update MANIFEST for layout change
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jul 2015 11:07:54 +0200] rev 767
update MANIFEST for layout change
Wed, 15 Jul 2015 10:55:38 +0200 [pkg] Update debian packaging
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jul 2015 10:55:38 +0200] rev 766
[pkg] Update debian packaging
Wed, 15 Jul 2015 10:57:11 +0200 [pkg] adjust makefile for changed paths
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jul 2015 10:57:11 +0200] rev 765
[pkg] adjust makefile for changed paths
Wed, 15 Jul 2015 10:45:08 +0200 [pkg] restore conditional compilation of C extension
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jul 2015 10:45:08 +0200] rev 764
[pkg] restore conditional compilation of C extension
Thu, 23 Apr 2015 14:45:42 +0200 [rqlhelper] use threading.Lock as context manager
Julien Cristau <julien.cristau@logilab.fr> [Thu, 23 Apr 2015 14:45:42 +0200] rev 763
[rqlhelper] use threading.Lock as context manager
Thu, 08 Jan 2015 17:50:00 +0100 [pkg] make pkginfo's gecode version check a bit less ugly
Julien Cristau <julien.cristau@logilab.fr> [Thu, 08 Jan 2015 17:50:00 +0100] rev 762
[pkg] make pkginfo's gecode version check a bit less ugly Use subprocess instead of os.system.
Thu, 28 May 2015 01:13:28 +0200 [pkg] Use setuptools
Julien Cristau <julien.cristau@logilab.fr> [Thu, 28 May 2015 01:13:28 +0200] rev 761
[pkg] Use setuptools Move sources to a 'rql' subdirectory, drop the NO_SETUPTOOLS code path (essentially rewriting all of setup.py). This avoids a conflict between our parser.py and the stdlib when running setup.py. Closes #278637.
Mon, 28 Jul 2014 11:12:58 +0200 [py3k] fix relative import
Julien Cristau <julien.cristau@logilab.fr> [Mon, 28 Jul 2014 11:12:58 +0200] rev 760
[py3k] fix relative import Implicit relative imports no longer work.
Fri, 25 Jul 2014 21:01:03 +0200 pkginfo: adjust for python3
Julien Cristau <julien.cristau@logilab.fr> [Fri, 25 Jul 2014 21:01:03 +0200] rev 759
pkginfo: adjust for python3 Popen's stdout is a byte stream.
Wed, 15 Jul 2015 09:38:13 +0200 [pkg] 0.33.1
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 Jul 2015 09:38:13 +0200] rev 758
[pkg] 0.33.1
Fri, 17 Oct 2014 10:04:02 +0200 [py3k] dicts are no longer comparable
Rémi Cardona <remi.cardona@free.fr> [Fri, 17 Oct 2014 10:04:02 +0200] rev 757
[py3k] dicts are no longer comparable Instead of sorting and comparing lists of dicts, use assertCountEqual.
Fri, 25 Jul 2014 09:20:08 +0200 [py3k] iterator.__next__()
Rémi Cardona <remi.cardona@free.fr> [Fri, 25 Jul 2014 09:20:08 +0200] rev 756
[py3k] iterator.__next__()
Fri, 25 Jul 2014 00:28:13 +0200 [py3k] next(iterator) instead of iterator.next()
Rémi Cardona <remi.cardona@free.fr> [Fri, 25 Jul 2014 00:28:13 +0200] rev 755
[py3k] next(iterator) instead of iterator.next() Requires python >= 2.6.
Fri, 25 Jul 2014 00:26:37 +0200 [py3k] Replace hand-coded 'basestring' with six.string_types
Rémi Cardona <remi.cardona@free.fr> [Fri, 25 Jul 2014 00:26:37 +0200] rev 754
[py3k] Replace hand-coded 'basestring' with six.string_types
Sun, 20 Jul 2014 13:20:02 +0200 [py3k] Import zip from six.moves
Rémi Cardona <remi.cardona@free.fr> [Sun, 20 Jul 2014 13:20:02 +0200] rev 753
[py3k] Import zip from six.moves
Fri, 25 Jul 2014 22:41:55 +0200 [py3k] dict.keys/values/items() are now iterators/memoryviews
Rémi Cardona <remi.cardona@free.fr> [Fri, 25 Jul 2014 22:41:55 +0200] rev 752
[py3k] dict.keys/values/items() are now iterators/memoryviews
Fri, 25 Jul 2014 09:20:43 +0200 [py3k] dict.iter*() no longer exist
Rémi Cardona <remi.cardona@free.fr> [Fri, 25 Jul 2014 09:20:43 +0200] rev 751
[py3k] dict.iter*() no longer exist
Fri, 25 Jul 2014 00:28:03 +0200 [py3k] 'long' and 'unicode' are no longer available
Rémi Cardona <remi.cardona@free.fr> [Fri, 25 Jul 2014 00:28:03 +0200] rev 750
[py3k] 'long' and 'unicode' are no longer available Use six-provided "types" whenever possible.
Thu, 24 Jul 2014 02:26:50 +0200 [py3k] print function
Rémi Cardona <remi.cardona@free.fr> [Thu, 24 Jul 2014 02:26:50 +0200] rev 749
[py3k] print function Requires python >= 2.6.
Tue, 22 Jul 2014 20:26:12 +0200 [py3k] except as
Rémi Cardona <remi.cardona@free.fr> [Tue, 22 Jul 2014 20:26:12 +0200] rev 748
[py3k] except as Requires python >= 2.6.
Wed, 23 Jul 2014 09:27:19 +0200 [py3k] Import range from six.moves
Rémi Cardona <remi.cardona@free.fr> [Wed, 23 Jul 2014 09:27:19 +0200] rev 747
[py3k] Import range from six.moves
Sun, 20 Jul 2014 13:00:53 +0200 [py3k] Import StringIO from six
Rémi Cardona <remi.cardona@free.fr> [Sun, 20 Jul 2014 13:00:53 +0200] rev 746
[py3k] Import StringIO from six
Mon, 01 Dec 2014 17:14:15 +0100 [pkg] Add dependency on six
Julien Cristau <julien.cristau@logilab.fr> [Mon, 01 Dec 2014 17:14:15 +0100] rev 745
[pkg] Add dependency on six
Sun, 20 Jul 2014 12:52:15 +0200 [py3k] Fix raise with embedded traceback
Rémi Cardona <remi.cardona@free.fr> [Sun, 20 Jul 2014 12:52:15 +0200] rev 744
[py3k] Fix raise with embedded traceback python 3 removed the raise syntax with 3 expressions.
Wed, 23 Jul 2014 08:30:38 +0200 [test] replace deprecated TestCase.assert_
Rémi Cardona <remi.cardona@free.fr> [Wed, 23 Jul 2014 08:30:38 +0200] rev 743
[test] replace deprecated TestCase.assert_
Sun, 20 Jul 2014 13:02:40 +0200 [analyze] remove unused imports
Rémi Cardona <remi.cardona@free.fr> [Sun, 20 Jul 2014 13:02:40 +0200] rev 742
[analyze] remove unused imports
Mon, 28 Jul 2014 11:21:08 +0200 [test] drop __future__.with_statement import
Julien Cristau <julien.cristau@logilab.fr> [Mon, 28 Jul 2014 11:21:08 +0200] rev 741
[test] drop __future__.with_statement import We no longer support python 2.5.
Mon, 28 Jul 2014 11:22:02 +0200 [debian] python 2.5 is no longer supported
Julien Cristau <julien.cristau@logilab.fr> [Mon, 28 Jul 2014 11:22:02 +0200] rev 740
[debian] python 2.5 is no longer supported
Sun, 27 Jul 2014 18:01:23 +0200 [stcheck] don't import 'any' from lgc.compat
Julien Cristau <julien.cristau@logilab.fr> [Sun, 27 Jul 2014 18:01:23 +0200] rev 739
[stcheck] don't import 'any' from lgc.compat All supported python versions have it builtin.
Wed, 09 Jul 2014 17:39:23 +0200 Added tag rql-version-0.33.0, rql-debian-version-0.33.0-1, rql-centos-version-0.33.0-1 for changeset 659a6b26eedc
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Jul 2014 17:39:23 +0200] rev 738
Added tag rql-version-0.33.0, rql-debian-version-0.33.0-1, rql-centos-version-0.33.0-1 for changeset 659a6b26eedc
Wed, 09 Jul 2014 17:17:55 +0200 [pkg] 0.33.0 rql-centos-version-0.33.0-1 rql-debian-version-0.33.0-1 rql-version-0.33.0
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Jul 2014 17:17:55 +0200] rev 737
[pkg] 0.33.0
Thu, 24 Apr 2014 15:46:19 +0200 [stcheck] fix visit_constant checker: a etype inside a CAST is a good thing
Alain Leufroy <alain.leufroy@logilab.fr> [Thu, 24 Apr 2014 15:46:19 +0200] rev 736
[stcheck] fix visit_constant checker: a etype inside a CAST is a good thing Actually, if you put a CAST after a relation (!= ``is`` or ``is_instance_of``), the checker raises an error saying that the etype (inside the CAST) must be after a ``is`` or ``is_instance_of`` relation. In fact the CAST case was tested too late. This allow to use CAST outside the selection section, so: Closes #79232
Fri, 06 Jun 2014 13:27:31 +0200 [pkg] remove lenny and hardy packaging material
David Douard <david.douard@logilab.fr> [Fri, 06 Jun 2014 13:27:31 +0200] rev 735
[pkg] remove lenny and hardy packaging material
Fri, 06 Jun 2014 13:11:44 +0200 Added tag rql-version-0.32.0, rql-debian-version-0.32.0-1, rql-centos-version-0.32.0-1 for changeset 843843e76fac
David Douard <david.douard@logilab.fr> [Fri, 06 Jun 2014 13:11:44 +0200] rev 734
Added tag rql-version-0.32.0, rql-debian-version-0.32.0-1, rql-centos-version-0.32.0-1 for changeset 843843e76fac
Fri, 06 Jun 2014 11:42:05 +0200 [pkg] prepare 0.32.0 rql-centos-version-0.32.0-1 rql-debian-version-0.32.0-1 rql-version-0.32.0
David Douard <david.douard@logilab.fr> [Fri, 06 Jun 2014 11:42:05 +0200] rev 733
[pkg] prepare 0.32.0
Wed, 04 Jun 2014 22:30:35 +0200 Allow rql to work with yapps 2.2.0 which is properly released on pypi, and remove the custom dependency link for it.
Christophe de Vienne <christophe@unlish.com> [Wed, 04 Jun 2014 22:30:35 +0200] rev 732
Allow rql to work with yapps 2.2.0 which is properly released on pypi, and remove the custom dependency link for it. Closes #124962 Closes #245540
Wed, 23 Apr 2014 13:59:02 +0200 [stcheck] remove overzealous check (closes #240176)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 23 Apr 2014 13:59:02 +0200] rev 731
[stcheck] remove overzealous check (closes #240176) Allow multiple (non "=") operators for uid variables.
Mon, 12 May 2014 16:21:39 +0200 Add missing comma in utils.KEYWORDS (closes #245563)
Denis Laxalde <denis.laxalde@logilab.fr> [Mon, 12 May 2014 16:21:39 +0200] rev 730
Add missing comma in utils.KEYWORDS (closes #245563)
Fri, 06 Jun 2014 11:26:23 +0200 backport stable
David Douard <david.douard@logilab.fr> [Fri, 06 Jun 2014 11:26:23 +0200] rev 729
backport stable
Thu, 13 Mar 2014 11:16:31 +0100 Added tag rql-debian-version-0.31.5-1 for changeset 2fd17ed747d8 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Mar 2014 11:16:31 +0100] rev 728
Added tag rql-debian-version-0.31.5-1 for changeset 2fd17ed747d8
Thu, 13 Mar 2014 11:16:20 +0100 Added tag rql-version-0.31.5 for changeset 816abac7f9ad stable rql-debian-version-0.31.5-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 13 Mar 2014 11:16:20 +0100] rev 727
Added tag rql-version-0.31.5 for changeset 816abac7f9ad
Tue, 11 Mar 2014 14:18:31 +0100 0.31.5 stable rql-version-0.31.5
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 11 Mar 2014 14:18:31 +0100] rev 726
0.31.5
Mon, 16 Dec 2013 15:31:56 +0100 add pygments lexer to colorize query strings (closes #34252)
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Mon, 16 Dec 2013 15:31:56 +0100] rev 725
add pygments lexer to colorize query strings (closes #34252)
Mon, 21 Oct 2013 18:23:31 +0200 [nodes] remove id(obj) in reprs
Aurelien Campeas <aurelien.campeas@logilab.fr> [Mon, 21 Oct 2013 18:23:31 +0200] rev 724
[nodes] remove id(obj) in reprs It just degrades the readability for no apparent benefit. Closes #190394.
Wed, 23 Oct 2013 11:30:49 +0200 use set_optional so one will get properly warned if erroneous value is given stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 23 Oct 2013 11:30:49 +0200] rev 723
use set_optional so one will get properly warned if erroneous value is given
Wed, 11 Sep 2013 12:57:23 +0200 add_type_restriction properly behave vs is_instance_of relation. Closes #176472 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Sep 2013 12:57:23 +0200] rev 722
add_type_restriction properly behave vs is_instance_of relation. Closes #176472
Wed, 11 Sep 2013 12:56:19 +0200 [test] extend a bit add_type_restriction tests stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Sep 2013 12:56:19 +0200] rev 721
[test] extend a bit add_type_restriction tests
Wed, 11 Sep 2013 12:51:29 +0200 properly undoable stmt.add_type_restriction. Closes #176469 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 11 Sep 2013 12:51:29 +0200] rev 720
properly undoable stmt.add_type_restriction. Closes #176469
Wed, 28 Aug 2013 23:30:50 +0200 merge changes from stable
Nicolas Chauvat <nicolas.chauvat@logilab.fr> [Wed, 28 Aug 2013 23:30:50 +0200] rev 719
merge changes from stable
Thu, 08 Aug 2013 13:42:58 +0200 Added tag rql-centos-version-0.31.4-1, rql-version-0.31.4, rql-debian-version-0.31.4-1 for changeset 5cad47e1ffbf stable
David Douard <david.douard@logilab.fr> [Thu, 08 Aug 2013 13:42:58 +0200] rev 718
Added tag rql-centos-version-0.31.4-1, rql-version-0.31.4, rql-debian-version-0.31.4-1 for changeset 5cad47e1ffbf
Thu, 08 Aug 2013 08:57:51 +0200 [gecode] fix build against gecode 4.2.0 (closes #167329) stable rql-centos-version-0.31.4-1 rql-debian-version-0.31.4-1 rql-version-0.31.4
David Douard <david.douard@logilab.fr> [Thu, 08 Aug 2013 08:57:51 +0200] rev 717
[gecode] fix build against gecode 4.2.0 (closes #167329) memory statistics have been removed from the search engines.
Fri, 28 Jun 2013 14:11:31 +0200 remove has_key usage stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Fri, 28 Jun 2013 14:11:31 +0200] rev 716
remove has_key usage
Wed, 07 Aug 2013 20:07:53 +0200 Add EXISTS, ILIKE, DISTINCT to KEYWORDS (closes #165898) stable
Denis Laxalde <denis.laxalde@logilab.fr> [Wed, 07 Aug 2013 20:07:53 +0200] rev 715
Add EXISTS, ILIKE, DISTINCT to KEYWORDS (closes #165898)
Wed, 07 Aug 2013 12:49:56 +0200 [pkg] Add an env var to force building the binary extension stable
Julien Cristau <julien.cristau@logilab.fr> [Wed, 07 Aug 2013 12:49:56 +0200] rev 714
[pkg] Add an env var to force building the binary extension And use it in the Debian packaging to make sure we don't end up with a disfunctional package. Closes #159003
Fri, 02 Aug 2013 18:20:33 +0200 [debian] don't use sub-shells, and don't ignore errors from loops stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 02 Aug 2013 18:20:33 +0200] rev 713
[debian] don't use sub-shells, and don't ignore errors from loops Related to #159003
Fri, 02 Aug 2013 18:17:03 +0200 Fix build against gecode 4.0.0 stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 02 Aug 2013 18:17:03 +0200] rev 712
Fix build against gecode 4.0.0 Looks like they changed enums to functions. Closes #159002
Fri, 02 Aug 2013 16:43:47 +0200 prepare 0.31.4 stable
Julien Cristau <julien.cristau@logilab.fr> [Fri, 02 Aug 2013 16:43:47 +0200] rev 711
prepare 0.31.4
Fri, 02 Aug 2013 16:30:54 +0200 [pkg] Make sure the gecode extension build never ever fails (closes #158948) stable
Rémi Cardona <remi.cardona@logilab.fr> [Fri, 02 Aug 2013 16:30:54 +0200] rev 710
[pkg] Make sure the gecode extension build never ever fails (closes #158948) In some cases (eg, windows without Visual Studio installed), distutils/setuptools build_ext.run() may raise exceptions other than CompileError. By catching all exceptions, we can make sure rql's setup.py never fails, which should help dumb package managers such as pip.
Wed, 15 May 2013 08:32:26 +0200 fix add_type_restriction() implementation with IN() function (closes #138635) stable
Adrien Di Mascio <Adrien.DiMascio@logilab.fr> [Wed, 15 May 2013 08:32:26 +0200] rev 709
fix add_type_restriction() implementation with IN() function (closes #138635) When the variable type is defined by an IN() function, ``add_type_restriction`` removes all types in it that don't match the specified type. Since the list of types is modified inplace, the iteration must be done on a copy, not on the list itself. There was a test for "add_type_restriction + IN()" case but since there was only 2 types defined in the IN function, the problem was not exposed.
Wed, 10 Apr 2013 14:06:10 +0200 backport stable
Florent Cayre <florent.cayre@logilab.fr> [Wed, 10 Apr 2013 14:06:10 +0200] rev 708
backport stable
Tue, 09 Apr 2013 01:16:07 +0200 Added tag rql-centos-version-0.31.3-1 for changeset 496945a4ed23 stable
Florent Cayre <florent.cayre@logilab.fr> [Tue, 09 Apr 2013 01:16:07 +0200] rev 707
Added tag rql-centos-version-0.31.3-1 for changeset 496945a4ed23
Tue, 09 Apr 2013 00:37:53 +0200 [packaging] fix spec file (remove erroneous BuildArch) and bump version number stable rql-centos-version-0.31.3-1
Florent Cayre <florent.cayre@logilab.fr> [Tue, 09 Apr 2013 00:37:53 +0200] rev 706
[packaging] fix spec file (remove erroneous BuildArch) and bump version number
Mon, 08 Apr 2013 23:09:16 +0200 default is stable stable
Florent Cayre <florent.cayre@logilab.fr> [Mon, 08 Apr 2013 23:09:16 +0200] rev 705
default is stable
Mon, 08 Apr 2013 17:11:26 +0200 [packaging] spec file tweaks
Julien Cristau <julien.cristau@logilab.fr> [Mon, 08 Apr 2013 17:11:26 +0200] rev 704
[packaging] spec file tweaks make it look more like our other modules
Thu, 31 Jan 2013 14:35:58 +0100 Added tag rql-debian-version-0.31.3-1 for changeset f388ee9b713d stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 31 Jan 2013 14:35:58 +0100] rev 703
Added tag rql-debian-version-0.31.3-1 for changeset f388ee9b713d
Thu, 31 Jan 2013 14:35:57 +0100 Added tag rql-version-0.31.3 for changeset 2ce80cbd45f7 stable rql-debian-version-0.31.3-1
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 31 Jan 2013 14:35:57 +0100] rev 702
Added tag rql-version-0.31.3 for changeset 2ce80cbd45f7
Wed, 30 Jan 2013 18:56:10 +0100 prepare 0.31.3 stable rql-version-0.31.3
Aurelien Campeas <aurelien.campeas@logilab.fr> [Wed, 30 Jan 2013 18:56:10 +0100] rev 701
prepare 0.31.3
Tue, 15 Jan 2013 14:13:16 +0100 [pkginfo] fix logilab-constraint reference (closes #115820) stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 15 Jan 2013 14:13:16 +0100] rev 700
[pkginfo] fix logilab-constraint reference (closes #115820)
Fri, 16 Nov 2012 17:43:37 +0100 [packaging] add spec file
Julien Cristau <julien.cristau@logilab.fr> [Fri, 16 Nov 2012 17:43:37 +0100] rev 699
[packaging] add spec file
Thu, 08 Nov 2012 14:46:01 +0100 [merge] backport stable
Aurelien Campeas <aurelien.campeas@logilab.fr> [Thu, 08 Nov 2012 14:46:01 +0100] rev 698
[merge] backport stable
Thu, 06 Dec 2012 10:54:47 +0100 doc: adjust layout.html template for compatibility with sphinx 0.6 stable
Julien Cristau <julien.cristau@logilab.fr> [Thu, 06 Dec 2012 10:54:47 +0100] rev 697
doc: adjust layout.html template for compatibility with sphinx 0.6 sphinx 0.6 switched templates to jinja2, which has an incompatible syntax for macros. 2009, here we come! Closes #113086.
Wed, 22 Aug 2012 12:32:43 +0200 [pkg] url changed for yapps stable
Arthur Lutz <arthur.lutz@logilab.fr> [Wed, 22 Aug 2012 12:32:43 +0200] rev 696
[pkg] url changed for yapps
Wed, 22 Aug 2012 12:32:24 +0200 docstring fix stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 22 Aug 2012 12:32:24 +0200] rev 695
docstring fix
Thu, 29 Mar 2012 14:54:19 +0200 Added tag rql-debian-version-0.31.2-1 for changeset 513a02cce3c2 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Mar 2012 14:54:19 +0200] rev 694
Added tag rql-debian-version-0.31.2-1 for changeset 513a02cce3c2
Thu, 29 Mar 2012 14:54:19 +0200 Added tag rql-version-0.31.2 for changeset 55af3a14cc29 stable rql-debian-version-0.31.2-1
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Mar 2012 14:54:19 +0200] rev 693
Added tag rql-version-0.31.2 for changeset 55af3a14cc29
Thu, 29 Mar 2012 13:59:16 +0200 0.31.2 stable rql-version-0.31.2
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Mar 2012 13:59:16 +0200] rev 692
0.31.2
Thu, 29 Mar 2012 13:56:21 +0200 move valuable_references from Variable to Referencable, it makes sense for ColumnAliases as well stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Thu, 29 Mar 2012 13:56:21 +0200] rev 691
move valuable_references from Variable to Referencable, it makes sense for ColumnAliases as well
Thu, 22 Mar 2012 10:13:32 +0100 analyse: add an env var to force using logilab constraint for resolution stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Thu, 22 Mar 2012 10:13:32 +0100] rev 690
analyse: add an env var to force using logilab constraint for resolution This is very useful for test
Fri, 16 Mar 2012 15:23:41 +0100 [debian] spread dependency declaration on multiple line. stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 16 Mar 2012 15:23:41 +0100] rev 689
[debian] spread dependency declaration on multiple line. This is much more readable
Tue, 13 Mar 2012 11:51:03 +0100 pkg: bump constraint depency version stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Tue, 13 Mar 2012 11:51:03 +0100] rev 688
pkg: bump constraint depency version We need this for set comparison implemented in 2a175b352c78
Fri, 16 Mar 2012 16:47:20 +0100 cleanup accept and leave method on various visitable object (closes #89659) stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Fri, 16 Mar 2012 16:47:20 +0100] rev 687
cleanup accept and leave method on various visitable object (closes #89659) The old code did: * forge a string * eval it as a lamba * monkey patch classes with the result We may just drop the logic looping on multiple class by computing class name dynamically. But this have a different behavior for subclass.
Mon, 20 Feb 2012 11:07:39 +0100 Refactor an if: else: clause as elif stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Feb 2012 11:07:39 +0100] rev 686
Refactor an if: else: clause as elif
Mon, 20 Feb 2012 11:07:36 +0100 drop unittest2 deprecation warnings stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Mon, 20 Feb 2012 11:07:36 +0100] rev 685
drop unittest2 deprecation warnings
Mon, 20 Feb 2012 11:06:12 +0100 [analyse] speed up Query analysis for solutions (closes #88559) stable
Pierre-Yves David <pierre-yves.david@logilab.fr> [Mon, 20 Feb 2012 11:06:12 +0100] rev 684
[analyse] speed up Query analysis for solutions (closes #88559) Use set instead of list for domains. This remove some N² complexity. Simplify the visite_relation code to: * avoid computation duplication, * compare string instead of Yams object, * take advantage of set.
Fri, 03 Feb 2012 17:55:35 +0100 Added tag rql-debian-version-0.31.1-1 for changeset 543fe6d74b49 stable
Sylvain Thénault <sylvain.thenault@logilab.fr> [Fri, 03 Feb 2012 17:55:35 +0100] rev 683
Added tag rql-debian-version-0.31.1-1 for changeset 543fe6d74b49
(0) -200 tip