jyotisham / jyotisha

Python tools for the astronomical / astrological vedAnga of Hindus
MIT License
88 stars 52 forks source link

update test data #107

Closed karthikraman closed 3 years ago

karthikraman commented 3 years ago

Pls. update test data... I am unable to do so:

____________________________________________________ ERROR collecting jyotisha_tests/spatio_temporal/writer/test_md.py ____________________________________________________
ImportError while importing test module '/mnt/d/GitHub/jyotisha/jyotisha_tests/spatio_temporal/writer/test_md.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
spatio_temporal/writer/test_md.py:4: in <module>
    from doc_curation.md.file import MdFile
E   ModuleNotFoundError: No module named 'doc_curation.md'

Not sure if it's some version issue...

vvasuki commented 3 years ago

update doc-curation module on your device

On Sun, 20 Jun 2021, 22:43 Karthik Raman, @.***> wrote:

Pls. update test data... I am unable to do so:

____ ERROR collecting jyotisha_tests/spatio_temporal/writer/test_md.py ____ ImportError while importing test module '/mnt/d/GitHub/jyotisha/jyotisha_tests/spatio_temporal/writer/test_md.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: spatio_temporal/writer/test_md.py:4: in from doc_curation.md.file import MdFile E ModuleNotFoundError: No module named 'doc_curation.md'

Not sure if it's some version issue...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jyotisham/jyotisha/issues/107, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAUKSXLOEP3NLBY6KK4I5ELTTYOVHANCNFSM47AH4QHA .

karthikraman commented 3 years ago

Requirement already satisfied: doc_curation in /usr/local/lib/python3.8/dist-packages (0.1.5)

But still get the error… Also tried sudo pip3 install ***@***.*** -U

vvasuki commented 3 years ago

bumped up doc_curation version at pypi. should not cause tests to fail now

https://github.com/jyotisham/jyotisha/runs/2876438927?check_suite_focus=true

On Mon, Jun 21, 2021 at 9:02 AM Karthik Raman @.***> wrote:

Requirement already satisfied: doc_curation in /usr/local/lib/python3.8/dist-packages (0.1.5) But still get the error… Also tried sudo pip3 install ***@***.*** -U — You are receiving this because you commented. Reply to this email directly, view it on GitHub , or unsubscribe .

--

Vishvas /विश्वासः

karthikraman commented 3 years ago

Thanks -- but I am still having an issue. doc_curation seems to not have md but md_helper. I can confirm that the version is 1.6. Anything that I might be doing wrong?

Ah figured out sudo pip3 was the problem.

karthikraman commented 3 years ago

Works now... and also fixed a couple of tomls on adyatithi (double quote -> single quote) -- No idea why it threw an error...