Files
zeekay dda3979851 rename: the ORM is ours — datastore_orm, not infi.clickhouse_orm
This is our fork, so it should read like it. `import datastore_orm` instead of
`from infi.clickhouse_orm import ...`: `infi` was the original vendor's org
namespace, and carrying someone else's org name through every import in the
consuming codebase is not a fork, it is a vendored copy that never got renamed.

The `infi` namespace package is gone entirely (src/infi/__init__.py with it),
the distribution is `datastore-orm`, and the metadata points at Hanzo rather
than at the upstream repo and author.

NOT renamed, deliberately: the migration history tables are still
`infi_clickhouse_orm_migrations`. That name is persisted state — 448 rows in
production key off it — so changing it is a data migration, not a rename. Doing
it carelessly reproduces the exact failure this fork just hit, where a package
rename orphaned the history and silently blocked every migration.
2026-07-26 08:44:11 -07:00

1.1 KiB

Contributing

This project is hosted on GitHub - https://github.com/Infinidat/datastore_orm/.

Please open an issue there if you encounter a bug or want to request a feature. Pull requests are also welcome.

Building

After cloning the project, run the following commands:

easy_install -U infi.projector
cd datastore_orm
projector devenv build

A setup.py file will be generated, which you can use to install the development version of the package:

python setup.py install

Tests

To run the tests, ensure that the ClickHouse server is running on http://localhost:8123/ (this is the default), and run:

bin/nosetests

To see test coverage information run:

bin/nosetests --with-coverage --cover-package=datastore_orm

To test with tox, ensure that the setup.py is present (otherwise run bin/buildout buildout:develop= setup.py) and run:

pip install tox
tox

<< System Models | Table of Contents | Class Reference >>