Code Monkey home page Code Monkey logo

Comments (4)

mwatts15 avatar mwatts15 commented on June 10, 2024 1

from rdflib-sqlalchemy.

kloczek avatar kloczek commented on June 10, 2024

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.

mwatts15 avatar mwatts15 commented on June 10, 2024

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.

kloczek avatar kloczek commented on June 10, 2024

Thank you 😄

from rdflib-sqlalchemy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.