Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alpine and Debian Show Different Behavior for list field __contains Query #2875

Open
zjqzero opened this issue Feb 25, 2025 · 0 comments
Open

Comments

@zjqzero
Copy link

zjqzero commented Feb 25, 2025

Alpine Linux 3.21, Python 3.13.2

>>> SectorMapping.objects(sub_concepts__contains='test')._query
{'sub_concepts': 'test'}

Debian GNU/Linux 12, Python 3.13.2

>>> SectorMapping.objects(sub_concepts__contains='test')._query
{'sub_concepts': re.compile('test')}

Why do the two different systems behave inconsistently? Is it due to missing library support?

`
Welcome to Alpine Linux 3.21
pip list
Package Version


amqp 5.3.1
APScheduler 3.11.0
baidu-aip 4.16.13
beautifulsoup4 4.13.3
bidict 0.23.1
billiard 4.2.1
blinker 1.9.0
bs4 0.0.2
cachelib 0.9.0
celery 5.4.0
certifi 2025.1.31
chardet 5.2.0
charset-normalizer 3.4.1
click 8.1.8
click-didyoumean 0.3.1
click-plugins 1.1.1
click-repl 0.3.0
dnspython 2.7.0
et_xmlfile 2.0.0
Flask 3.1.0
Flask-APScheduler 1.13.1
Flask-Caching 2.3.0
Flask-Cors 5.0.0
Flask-Excel 0.0.7
h11 0.14.0
hiredis 3.1.0
idna 3.10
itsdangerous 2.2.0
Jinja2 3.1.5
joblib 1.4.2
kombu 5.4.2
lml 0.1.0
Logbook 1.8.0
loguru 0.7.3
lxml 5.3.0
MarkupSafe 3.0.2
marshmallow 3.26.1
mongoengine 0.29.1
numpy 2.2.2
openpyxl 3.1.5
orjson 3.10.15
packaging 24.2
pandas 2.2.3
pip 24.3.1
prompt_toolkit 3.0.50
pyexcel 0.7.1
pyexcel-io 0.6.7
pyexcel-webio 0.1.4
pyexcel-xls 0.7.0
pyexcel-xlsx 0.6.0
pymongo 4.11.1
python-dateutil 2.9.0.post0
python-engineio 4.11.2
python-redis-lock 4.0.0
python-socketio 5.12.1
pytz 2025.1
raven 6.10.0
redis 5.2.1
requests 2.32.3
scikit-learn 1.5.2
scipy 1.15.1
setuptools 75.8.0
simple-websocket 1.1.0
six 1.17.0
soupsieve 2.6
supervisor 4.2.5
texttable 1.7.0
threadpoolctl 3.5.0
typing_extensions 4.12.2
tzdata 2025.1
tzlocal 5.2
urllib3 2.3.0
uWSGI 2.0.28
vine 5.1.0
wcwidth 0.2.13
Werkzeug 3.1.3
wsproto 1.2.0
xlrd 2.0.1
xlwt 1.3.0
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant