Skip to content

Conversation

@djudjuu
Copy link
Contributor

@djudjuu djudjuu commented May 6, 2025

tests did no longer run because they were trying to import this exception from a wrong location.
after moving it, most passed except the workflow tests dlt init compatibility.

with refactors iceberg and duckdb cache support
the exception imported in the utils file moved.
most workflows worked correctly, except the one in init.yml which didn't do make dev but only installed dltpure-dep-group

[dependency-groups]
dltpure = ["dlt>=1.7.0"]

I dont understand why this didnt pick up the latest then, but apparrenlty it didnt. changing it to 1.10. works though

@djudjuu djudjuu changed the title exception moved fix: tests import exception from correct location May 6, 2025
@djudjuu djudjuu requested a review from rudolfix May 6, 2025 14:07
from dlt.common.utils import set_working_dir

from dlt.pipeline.exceptions import SqlClientNotAvailable
from dlt.common.destination.exceptions import SqlClientNotAvailable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is ok because this is a part of tests! just remember that we need to be backward compatible with old dlt versions in the main code so you'd need to try both options there

@djudjuu
Copy link
Contributor Author

djudjuu commented May 13, 2025

what can I do to make that pass?

@rudolfix rudolfix merged commit 2c1428b into master May 13, 2025
10 checks passed
@rudolfix rudolfix deleted the fix/test-import-failin branch May 13, 2025 10:55
evidy-bot added a commit to evidycz/verified-sources that referenced this pull request Jun 2, 2025
* fix: tests import exception from correct location (dlt-hub#613)

* exception moved

* bump dltpure dependency version

* Fix wrong initialization command on Stripe documentation (dlt-hub#618)

* docs(inbox): GMail concurrency (dlt-hub#615)

* fix(inbox): senders filter is optional (dlt-hub#614)

* fixes forks test action

* fix(inbox): RFC 2822 dates parsing (dlt-hub#616)

* update pipedrive source with projects and tasks (dlt-hub#612)

* docs(inbox): remove mention of unused dependencies (dlt-hub#617)

* change contribution guide (dlt-hub#620)

* update contributing docs

* bumps uv lock

* fixes some tests

* Update CONTRIBUTING.md

Co-authored-by: anuunchin <88698977+anuunchin@users.noreply.github.com>

---------

Co-authored-by: anuunchin <88698977+anuunchin@users.noreply.github.com>

---------

Co-authored-by: djudjuu <julius@dlthub.com>
Co-authored-by: Pedro <pdfrod@users.noreply.github.com>
Co-authored-by: Joscha Feth <joscha@feth.com>
Co-authored-by: Marcin Rudolf <rudolfix@rudolfix.org>
Co-authored-by: diwu-sf <di.wu@shadowfaxdata.com>
Co-authored-by: anuunchin <88698977+anuunchin@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants