Closed teodorlu closed 1 year ago
if I try to bump tech.ml.dataset (#104), I get a failing test:
$ lein test
If there are a lot of uncached dependencies this might take a while ...
WARNING: update-keys already refers to: #'clojure.core/update-keys in namespace: io.aviso.exception, being replaced by: #'io.aviso.exception/update-keys
FAIL dataset-creation at (dataset_test.clj:25)
Expected:
[[999] "Single value"]
Actual:
[nil "Single value"]
Diffs: in [0] expected [999], was nil
Mar 23, 2023 12:01:35 AM clojure.tools.logging$eval676$fn__679 invoke
WARNING: Column has no values and strategy (:value) is dependent upon existing values
Mar 23, 2023 12:01:35 AM clojure.tools.logging$eval676$fn__679 invoke
WARNING: Column has no values and strategy (:mid) is dependent upon existing values
lein test user
Ran 0 tests containing 0 assertions.
0 failures, 0 errors.
lein test 20,10s user 0,72s system 128% cpu 16,218 total
Looks like it's this test:
(fact ((juxt #(get % 0) api/dataset-name)
(api/dataset 999 {:single-value-column-name ""
:dataset-name "Single value"}))
=> [[999] "Single value"])
Try to add techascent/tech.ml.dataset {:mvn/version "7.000-beta-31"}
instead of dtype-next
(bumping only dtype-next is risky).
Ok, I see that it doesn't help. Temporarily you can try to use bumped version. I'll verify what's going on (probably some regression)
OK - thank you!
also: lein midje
is valid test call (we switched to midje at some point).
OK :+1:
I found this in the README:
- Before commiting changes please perform tests. I ususally do:
lein do clean, check, test
and build documentation as described above (which also tests whole library).
Haha, indeed. Subject to change. Help needed! PR welcome :)
I was a bit hesitant to try make any large changes without any experience, so perhaps stick to a simple PR for now? :smile:
No worries :) I'll dig this issue with singleton.
Bug fixed and version bumped.
Hi!
I'm having trouble using
scicloj/tablecloth {:mvn/version "6.103.1"}
withcnuernber/dtype-next {:mvn/version "10.000-beta-39"}
.I realize that beta versions of
dtype-next
might be a bit of a moving target.Do you have a recommendation on which versions of
dtype-next
I should stick to?I wanted to use
cnuernber/dtype-next {:mvn/version "10.000-beta-39"}
because it works withham_fisted.Transformables/toDoubleReductionFn
from cnuernber/ham-fisted. As far as I can tell,tablecloth
seems to getdtype-next 10.000-beta-35
by default (which works just fine for me), butdtype-next 10.000-beta-39
causes problems.Also, taking the chance to say thanks for tablecloth. I really like the API!