You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though the Definitions class isn't imported, it is executed since all the code in it is not inside some function, like __init__.
This causes an issue in my Nix derivation of it during the test phase where it tries to access the filesystem since during a build, the HOME directory does not exist. This will likely happen in any package manager that runs tests in a homeless system. I've temporarily fixed this by adding export HOME=$TMPDIR in the derivation; however a fix for this should be done in here.
A solution would be to create an __init__
The text was updated successfully, but these errors were encountered:
The problematic line:
nexus/nexus/Freqlog/Definitions.py
Lines 40 to 41 in 3e6d11f
This is run when imported here:
nexus/tests/Freqlog/backends/SQLite/test_SQLiteBackend.py
Line 6 in 3e6d11f
Even though the
Definitions
class isn't imported, it is executed since all the code in it is not inside some function, like__init__
.This causes an issue in my Nix derivation of it during the test phase where it tries to access the filesystem since during a build, the
HOME
directory does not exist. This will likely happen in any package manager that runs tests in a homeless system. I've temporarily fixed this by addingexport HOME=$TMPDIR
in the derivation; however a fix for this should be done in here.A solution would be to create an
__init__
The text was updated successfully, but these errors were encountered: