Closed gfabbris closed 3 years ago
By the way, this will be fixed with databroker
1.2.1.
It turns out the bluesky
team was much faster than me. This issue is fixed in databroker
>=1.2.1, which is the required version now.
With the new intake version, running catalog()
does not reload the catalogs list anymore, replaced it to catalog.force_reload
.
I don't understand why the CI keeps failing. I ran the exact same steps in my machine and it works fine. Maybe a mac vs. linux issue?
Merging #32 (cb1b53c) into main (2484a8f) will increase coverage by
0.03%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## main #32 +/- ##
==========================================
+ Coverage 62.21% 62.24% +0.03%
==========================================
Files 6 6
Lines 442 445 +3
==========================================
+ Hits 275 277 +2
- Misses 167 168 +1
Impacted Files | Coverage Δ | |
---|---|---|
polartools/manage_database.py | 89.47% <100.00%> (-1.27%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 2484a8f...cb1b53c. Read the comment docs.
The CIs run fine only if I run databroker-unpack
in the command line before running pytest
(here).
I suspect this has something to do with creating/finding the intake
catalog folder, which can be read from databroker as databroker.catalog_search_path
. This problem doesn't come up if I run pytest
in my machine. Also, note that the catalog created by databroker-unpack
is not used in the tests.
I'm going to leave this as is for now.
This
intake
version breaks something indatabroker
, see https://github.com/bluesky/databroker/issues/645.