get rid of porg dependency, use orgparse directly

This commit is contained in:
Dima Gerasimov 2020-11-06 04:04:05 +00:00 committed by karlicoss
parent 62e1bdc39a
commit a6e5908e6d
8 changed files with 101 additions and 54 deletions

14
tox.ini
View file

@ -20,6 +20,9 @@ commands =
# my.calendar.holidays dep
pip install workalendar
# my.body.weight dep
pip install orgparse
python3 -m pytest \
tests/core.py \
tests/misc.py \
@ -29,10 +32,8 @@ commands =
tests/bluemaestro.py \
tests/location.py \
tests/tz.py \
tests/calendar.py
# TODO add; once I figure out porg depdencency?? tests/config.py
# TODO run demo.py? just make sure with_my is a bit cleverer?
# TODO e.g. under CI, rely on installing
tests/calendar.py \
tests/config.py
hpi modules
@ -45,6 +46,7 @@ commands = ./demo.py
whitelist_externals = bash
commands =
pip install -e .[testing] .[optional]
pip install orgparse
pip install git+https://github.com/karlicoss/ghexport
pip install git+https://github.com/karlicoss/hypexport
pip install git+https://github.com/karlicoss/instapexport
@ -52,8 +54,6 @@ commands =
pip install git+https://github.com/karlicoss/rexport
pip install git+https://github.com/karlicoss/endoexport
pip install git+https://github.com/karlicoss/porg
# ugh fuck. soo... need to reset HOME, otherwise user's site-packages are somehow leaking into mypy's path...
# see https://github.com/python/mypy/blob/f6fb60ef69738cbfe2dfe56c747eca8f03735d8e/mypy/modulefinder.py#L487
# this is particularly annoying when user's config is leaking and mypy isn't running against the repository config
@ -82,5 +82,5 @@ commands =
[testenv:mypy]
skip_install = true
commands =
pip install -e .[testing] .[optional]
pip install -e .[testing] .[optional] orgparse
./lint