Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ repos:
types: ["python"]
- id: pip-audit
name: pip-audit
entry: pipenv run pip-audit
entry: pipenv run pip-audit --ignore-vuln GHSA-4xh5-x5gv-qwph
language: system
pass_filenames: false
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ruff: # Run 'ruff' linter and print a preview of errors
pipenv run ruff check .

safety: # Check for security vulnerabilities and verify Pipfile.lock is up-to-date
pipenv run pip-audit
pipenv run pip-audit --ignore-vuln GHSA-4xh5-x5gv-qwph
pipenv verify

lint-apply: black-apply ruff-apply # Apply changes with 'black' and resolve 'fixable errors' with 'ruff'
Expand Down
5 changes: 4 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ name = "pypi"
[packages]
attrs = "*"
boto3 = "*"
duckdb = "1.3.2"
pandas = "*"
pyarrow = "*"
sqlalchemy = "*"
duckdb-engine = "*"
duckdb = "==1.4.2.dev27"

[dev-packages]
black = "*"
Expand All @@ -30,3 +30,6 @@ pip-audit = "*"

[requires]
python_version = "3.12"

[pipenv]
allow_prereleases = true
1,848 changes: 980 additions & 868 deletions Pipfile.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ classifiers = [
dependencies = [
"attrs",
"boto3",
"duckdb==1.3.2",
"duckdb==1.4.2.dev27",
"duckdb_engine",
"pandas",
"pyarrow",
Expand Down
3 changes: 1 addition & 2 deletions tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@

import pyarrow as pa
import pytest
from duckdb import ConversionException
from duckdb.duckdb import DuckDBPyConnection
from duckdb import ConversionException, DuckDBPyConnection
from pyarrow import fs

from timdex_dataset_api.dataset import (
Expand Down
2 changes: 1 addition & 1 deletion timdex_dataset_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from timdex_dataset_api.metadata import TIMDEXDatasetMetadata
from timdex_dataset_api.record import DatasetRecord

__version__ = "3.4.0"
__version__ = "3.4.1"

__all__ = [
"DatasetRecord",
Expand Down
2 changes: 1 addition & 1 deletion timdex_dataset_api/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def _configure_duckdb_s3_secret(
"""
)

else:
elif self.location_scheme == "s3":
conn.execute(
f"""
create or replace secret aws_s3_secret (
Expand Down