Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RQL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cubicweb
RQL
Commits
66ce4c6261df
Commit
66ce4c6261df
authored
15 years ago
by
Sylvain Thénault
Browse files
Options
Downloads
Patches
Plain Diff
make python-constraint optional
parent
4811155ef54d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
analyze.py
+4
-4
4 additions, 4 deletions
analyze.py
debian/control
+1
-1
1 addition, 1 deletion
debian/control
with
5 additions
and
5 deletions
analyze.py
+
4
−
4
View file @
66ce4c62
"""
Analyze of the RQL syntax tree to get possible types for RQL variables.
"""
Analyze of the RQL syntax tree to get possible types for RQL variables.
:copyright: 2003-200
8
LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:copyright: 2003-200
9
LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: General Public License version 2 - http://www.gnu.org/licenses
:license: General Public License version 2 - http://www.gnu.org/licenses
"""
"""
...
@@ -10,8 +10,6 @@
...
@@ -10,8 +10,6 @@
import
warnings
import
warnings
warnings
.
filterwarnings
(
action
=
'
ignore
'
,
module
=
'
logilab.constraint.propagation
'
)
warnings
.
filterwarnings
(
action
=
'
ignore
'
,
module
=
'
logilab.constraint.propagation
'
)
from
logilab.constraint
import
Repository
,
Solver
,
fd
from
rql
import
TypeResolverException
,
nodes
from
rql
import
TypeResolverException
,
nodes
from
pprint
import
pprint
from
pprint
import
pprint
...
@@ -22,6 +20,8 @@
...
@@ -22,6 +20,8 @@
import
rql_solve
import
rql_solve
except
ImportError
:
except
ImportError
:
rql_solve
=
None
rql_solve
=
None
from
logilab.constraint
import
Repository
,
Solver
,
fd
# Gecode solver not available
# Gecode solver not available
#rql_solve = None # uncomment to force using logilab-constraint
#rql_solve = None # uncomment to force using logilab-constraint
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
def
end_domain_definition
(
self
):
def
end_domain_definition
(
self
):
pass
pass
def
get_domains
(
self
):
def
get_domains
(
self
):
return
self
.
domains
return
self
.
domains
...
...
This diff is collapsed.
Click to expand it.
debian/control
+
1
−
1
View file @
66ce4c62
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
Package: python-rql
Package: python-rql
Architecture: any
Architecture: any
XB-Python-Version: ${python:Versions}
XB-Python-Version: ${python:Versions}
Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}, python-logilab-common (>= 0.35.3-1),
python-constraint (>= 0.4.0-1),
yapps2-runtime
Depends: ${python:Depends}, ${misc:Depends}, ${shlibs:Depends}, python-logilab-common (>= 0.35.3-1), yapps2-runtime
Provides: ${python:Provides}
Provides: ${python:Provides}
Description: relationship query language (RQL) utilities
Description: relationship query language (RQL) utilities
A library providing the base utilities to handle RQL queries,
A library providing the base utilities to handle RQL queries,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment