Thank you for your interest in contributing to pycubrid.
- Python 3.10+
- Git
- Docker (for integration tests)
git clone https://github.com/cubrid-lab/pycubrid.git
cd pycubrid
python3 -m venv venv
source venv/bin/activate
pip install -e ".[dev]"
pip install pytest-covpytest tests/ -v --ignore=tests/test_integration.py \
--cov=pycubrid --cov-report=term-missing --cov-fail-under=95docker compose up -d
export CUBRID_TEST_URL="cubrid://dba@localhost:33000/testdb"
pytest tests/test_integration.py -v
docker compose down -vThis project uses Ruff for linting and formatting.
ruff check pycubrid/ tests/
ruff format --check pycubrid/ tests/To auto-fix:
ruff check --fix pycubrid/ tests/
ruff format pycubrid/ tests/- Keep changes focused and explain the motivation in the PR description.
- Add or update tests for behavior changes.
- Ensure lint and offline tests pass before submitting.
- Run integration tests for connection/protocol-related updates.
- Update
CHANGELOG.mdfor user-visible changes.
When filing an issue, include:
- Python version
- CUBRID server version
- Minimal reproduction snippet
- Full traceback or error output