Closed pabs3 closed 2 years ago
I also noted that tox.ini got deleted, but some things still reference tox.
That's right – tox is gone. We – and by we I mean really @mpenkov mostly – have been simplifying the CI & testing pipeline, as well as pruning dependencies.
So:
/notebooks
subdirectory; this is known. The plan is to either clean that up (a slow process) or remove /notebooks
altogether and keep only the up-to-date and CI-tested Gallery./test
, this is not known and sounds like a bug. Although I don't understand how the tests are passing then?Either way, a further cleanup and de-referencing the purged modules and dependencies will be welcome!
Looks like the invalid tests in test_dtm.py
are skipped because DTM_PATH is not set.
I take it you dropped Travis CI too?
Filed a new pull request to clean up the tox/Morfessor/wrapper references. I looked more closely and it seems that Travis CI is still used so I have left that in place. The notebooks stuff is probably best left to others to do slowly over time, so I didn't look at that.
https://github.com/RaRe-Technologies/gensim/pull/3345
-- bye, pabs
Yes we migrated away from Travis although IIRC @mpenkov re-introduced it recently (and temporarily), on account of github actions not supporting the Apple ARM architecture properly yet. @mpenkov is that right?
Yes, that is mostly correct. That travis build was a contribution from another author.
Problem description
I noticed that usage of Morfessor has mostly been removed, but there are some vestigial references to it in a few files. I would just submit a pull request for this, but I'm not sure if the files that reference Morfessor (especially as
.travis.yml
) should just get removed or kept and updated. Then I found that other things that reference Morfessor (such asVarembed.ipynb
) also referencegensim.models.wrappers
, which has also been removed.gensim.models.wrappers
(andgensim.models.wrapper
) are referenced mostly in the notebooks and comments, but also in the code of theTestDtmModel
test, which usesDtmModel
, which has also been removed but is also referenced in some places. Then I also found lots of uses of the wordwrapper
(mostly in the notebooks) in various places that seem to be referencing now removed code fromgensim.models.wrappers
.Steps/code/corpus to reproduce
Versions
This is from the gensim develop branch.