Skip to content

Add development & testing instructions - #64

Open
cpeel wants to merge 1 commit into
masterfrom
update-docs
Open

Add development & testing instructions#64
cpeel wants to merge 1 commit into
masterfrom
update-docs

Conversation

@cpeel

@cpeel cpeel commented Aug 20, 2026

Copy link
Copy Markdown
Member

No functional changes to code, just documentation and skipping a test if the dependencies aren't there.

================================ test session starts =================================
platform linux -- Python 3.9.25, pytest-8.4.2, pluggy-1.6.0
rootdir: /mnt/hgfs/cpeel/git/libgutenberg
collected 23 items

libgutenberg/tests/test_cover.py .                                             [  4%]
libgutenberg/tests/test_dc.py ..............                                   [ 65%]
libgutenberg/tests/test_files.py s.                                            [ 73%]
libgutenberg/tests/test_logger.py ...                                          [ 86%]
libgutenberg/tests/test_media_types.py ..                                      [ 95%]
libgutenberg/tests/test_orm.py .                                               [100%]

================================== warnings summary ==================================
libgutenberg/Models.py:25
  /mnt/hgfs/cpeel/git/libgutenberg/libgutenberg/Models.py:25: MovedIn20Warning: The ``declarative_base()`` function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
    Base = declarative_base()

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
===================== 22 passed, 1 skipped, 1 warning in 28.43s ======================

@cpeel
cpeel requested a review from eshellman August 20, 2026 14:44
Comment thread Pipfile
libgutenberg = {file = ".", editable = true}

[dev-packages]
pytest = "*"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this Pipfile is only used for development I can move this to the non-dev dependency, let me know.

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

Successfully merging this pull request may close these issues.

1 participant