Comments (4)
from rdflib-sqlalchemy.
After add above files to --ignore list pytest shows warnings:
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-rdflib-sqlalchemy-0.5.0-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-rdflib-sqlalchemy-0.5.0-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra --ignore test/test_sqlalchemy_mysql.py --ignore test/test_sqlalchemy_postgresql_pg8000.py --ignore test/test_sqlalchemy_postgresql.py --ignore test/test_sqlalchemy.py --ignore test/test_sqlalchemy_sqlite.py
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.1, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/rdflib-sqlalchemy-0.5.0
collected 6 items
test/open_test.py . [ 16%]
test/test_aggregate_graphs.py .. [ 50%]
test/test_store_performance.py .. [ 83%]
test/test_type_to_term_combination.py . [100%]
============================================================================= warnings summary =============================================================================
../../../../../usr/lib/python3.8/site-packages/_pytest/fixtures.py:227
/usr/lib/python3.8/site-packages/_pytest/fixtures.py:227: UserWarning: Code: _pytestfixturefunction is not defined in namespace SDO
fixturemarker: Optional[FixtureFunctionMarker] = getattr(
test/test_store_performance.py: 36 warnings
/home/tkloczko/rpmbuild/BUILD/rdflib-sqlalchemy-0.5.0/rdflib_sqlalchemy/sql.py:65: SADeprecationWarning: Implicit coercion of SELECT and textual SELECT constructs into FROM clauses is deprecated; please call .subquery() on any Core select or ORM Query object in order to produce a subquery object.
select_clause = expression.select([functions.count().label('aCount')]).select_from(
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
===================================================================== 6 passed, 37 warnings in 14.89s ======================================================================
from rdflib-sqlalchemy.
So, we had already switched over on the develop branch. If you need a release version that uses pytest, please use the just-released 0.5.1.
from rdflib-sqlalchemy.
Thank you 😄
from rdflib-sqlalchemy.
Related Issues (20)
- Violent deprecation warnings vs sqlalchemy 1.4.46 HOT 12
- 0.5.3: pytest is failing in 11 units HOT 3
- Maintainer Request HOT 17
- Extra "test" subdirectory in tests ? HOT 1
- Drop support for old Python versions HOT 6
- Build error for Python 2.7 for MySQL HOT 1
- Engine.has_table() method is deprecated HOT 1
- addN returns how many triples were actually added? HOT 2
- Loading a large ontology using PostgreSQL as the backend results in BTREE index error HOT 2
- How to query the database? HOT 2
- Cryptic `KeyError: LUUU` when adding an invalid triple into a graph HOT 1
- Failure when trying to search for a triple where object is a Literal with a language tag HOT 1
- When does a transaction start? HOT 1
- Performance warning HOT 5
- N3 Formula <-> SQLAlchemy Store error HOT 3
- 0.5.3: sphinx warnings `reference target not found` HOT 3
- N3 formula/rule persistence not idempotent HOT 7
- docstring for the `configuration` argument of `rdflib_sqlalchemy.store.SQLAlchemy` seems wrong HOT 1
- Adding graph_aware for `rdflib.Dataset`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdflib-sqlalchemy.