Skip to content

Commit

Permalink
add six to dep
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxiaoying committed May 9, 2024
1 parent 48b1571 commit 0a83b56
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ jobs:

- name: Install other dependent tools
run: |
python -m pip install poetry six
python -m pip install poetry
if [ ! -f "$HOME/.cargo/bin/just" ]; then curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- --to ~/.cargo/bin; fi
- name: Seed the database
Expand Down
4 changes: 2 additions & 2 deletions connectorx-python/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions connectorx-python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ pandas = {version = "^2", optional = true}
polars = {version = ">=0.8", optional = true}
pyarrow = {version = ">=4", optional = true}
python = ">=3.9,<3.13"
six = "^1.16.0"

[tool.poetry.extras]
all = ["dask", "pandas", "modin", "polars", "pyarrow"]
Expand Down
1 change: 1 addition & 0 deletions connectorx-python/src/pandas/transports/bigquery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use connectorx::{
typesystem::TypeConversion,
};

#[allow(dead_code)]
pub struct BigQueryPandasTransport<'py>(&'py ());

impl_transport!(
Expand Down
1 change: 1 addition & 0 deletions connectorx-python/src/pandas/transports/mssql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use connectorx::{
use rust_decimal::prelude::*;
use uuid::Uuid;

#[allow(dead_code)]
pub struct MsSQLPandasTransport<'py>(&'py ());

impl_transport!(
Expand Down
1 change: 1 addition & 0 deletions connectorx-python/src/pandas/transports/mysql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ use rust_decimal::prelude::*;
use serde_json::{to_string, Value};
use std::marker::PhantomData;

#[allow(dead_code)]
pub struct MysqlPandasTransport<'py, P>(&'py (), PhantomData<P>);

impl_transport!(
Expand Down
1 change: 1 addition & 0 deletions connectorx-python/src/pandas/transports/oracle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use connectorx::{
typesystem::TypeConversion,
};

#[allow(dead_code)]
pub struct OraclePandasTransport<'py>(&'py ());

impl_transport!(
Expand Down
1 change: 1 addition & 0 deletions connectorx-python/src/pandas/transports/postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ use std::collections::HashMap;
use std::marker::PhantomData;
use uuid::Uuid;

#[allow(dead_code)]
pub struct PostgresPandasTransport<'py, P, C>(&'py (), PhantomData<P>, PhantomData<C>);

macro_rules! impl_postgres_transport {
Expand Down
1 change: 1 addition & 0 deletions connectorx-python/src/pandas/transports/sqlite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use connectorx::{
typesystem::TypeConversion,
};

#[allow(dead_code)]
pub struct SqlitePandasTransport<'py>(&'py ());

impl_transport!(
Expand Down
1 change: 1 addition & 0 deletions connectorx-python/src/pandas/transports/trino.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use connectorx::{
typesystem::TypeConversion,
};

#[allow(dead_code)]
pub struct TrinoPandasTransport<'py>(&'py ());

impl_transport!(
Expand Down

0 comments on commit 0a83b56

Please sign in to comment.