diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9da51e859..fe6b5eecc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,8 +91,8 @@ jobs: command: clippy args: --features all - - name: Check each feature gate - run: just test-feature-gate + # - name: Check each feature gate + # run: just test-feature-gate - name: Run tests run: cargo clean && just test @@ -147,12 +147,9 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + - name: Setup python env run: | - which python - which pip - # ln -s `which python` /usr/bin/python - # ln -s `which pip` /usr/bin/pip echo "$Python3_ROOT_DIR/bin" >> $GITHUB_PATH echo $GITHUB_PATH @@ -212,7 +209,8 @@ jobs: path: ~/.cache/pypoetry/virtualenvs key: ${{ runner.os }}-${{ matrix.python-version }}-venv-${{ secrets.CACHE_VERSION }}-${{ hashFiles('connectorx-python/poetry.lock') }} - - uses: extractions/setup-just@v2 + - name: Install python dependencies + run: just bootstrap-python - name: Test python run: just test-python diff --git a/connectorx/src/partition.rs b/connectorx/src/partition.rs index fedd34fe7..957303ac7 100644 --- a/connectorx/src/partition.rs +++ b/connectorx/src/partition.rs @@ -10,6 +10,7 @@ use crate::sources::mysql::{MySQLSourceError, MySQLTypeSystem}; use crate::sources::oracle::{connect_oracle, OracleDialect}; #[cfg(feature = "src_postgres")] use crate::sources::postgres::{rewrite_tls_args, PostgresTypeSystem}; +#[cfg(feature = "src_trino")] use crate::sources::trino::TrinoDialect; #[cfg(feature = "src_sqlite")] use crate::sql::get_partition_range_query_sep;