Treedb

Latest version: v2.6.3

Safety actively analyzes 629811 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 9

2.5

-----------

Add ``pretty=True`` to ``write_languoids()``.

Add ``mappings=False`` and ``pretty=True`` to ``print_rows()``.

2.4.4

-------------

Fix ``queries.get_json_query()`` SQLite 3.39 compatibility.

2.4.3

-------------

Add test checksums for Glottolog ``v4.6``.

2.4.2

-------------

Drop Python 3.6 support.

2.4.1

-------------

Disable ``treedb.checks.bookkeeping_no_children()``
for upstream change in Glottolog ``v4.5``.

Add test checksums for Glottolog ``v4.5``.

Add ``lint-code.py``.

Tag Python 3.10 support.

2.4

-----------

Rename table ``endangermentsource`` to ``endangerment_source``.

Change ``iterfiles()`` to yield ``path_tuple, DirEntry, ConfigParser`` instead
of ``path_tuple, ConfigParser, DirEntry``.

Include ``version`` from ``config/publication.ini`` in table ``__dataset__``.

Enforce unique ``pseudofaimily`` with ``bookkeeping`` by using ``NULL`` instead
of ``FALSE`` for non-bookkeeping rows.

Add ``write_files(source='raw_lines')`` as shortcut for ``raw.write_files()``.

Fix ``write_files(source='raw')``.

Implement ``records.pipe(dump=True, convert_lines=True)``.

Reorganize ``queries.py`` for better code re-use, refactor example query
using more explicit ``JOIN`` syntax and more uniform aliases.

Improve internal package structure with ``languoids`` submodule. Move
``ConfigParser`` to ``_tools.py``. Centralize repo git commands in
`glottolog.py``.

Add ``run-tests.py`` command-line flags: ``--run-writes``, ``--skip-pandas``,
``--skip-sqlparse``, ``--file-engine-tag``, ``--no-sqlalchemy-warn-20`` and
use custom markers and ``pytestconfig`` for test setup.

Increase test coverage. Move shared helpers to ``tests/helpers.py``. Improve
test ids and summary output. Include Glottolog tag/branch in output file names.

Add test checksum for Glottolog ``v4.4``.
Drop Glottolog ``v4.2`` test hashes (in favour of ``v4.2.1``).
Add xfail for Glottolog ``master`` branch checksum equivalence.
Promote skips to xfails.

Migrate CI from Travis to GitHub Actions.

Page 2 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.