Skip to content

Commit

Permalink
Mixed bag clean up (#1425)
Browse files Browse the repository at this point in the history
yeah handful of things

1) Combined some layer

2) made comments referring to bugs use consistent format 

3) removed low usage packages and tests, we recently launched package
manager. we can confidently remove more unused packages. The following
packages are to be removed:
- pykalman
- preprocessing
- hmmlearn
- gplearn
- geoplot
- polyglot
- ggplot
- descartes
- fitter
- imagecodecs
- wfdb
- hpsklearn
- cleverhans
- osmnx
- pysal
- wordsegment
- vowpalwabbit
- feather
- kmodes
- ortools
- mlens
- vecstack
- Geohash
- geoviews
- s2sphere
- flashtext
- kmapper
- stemming
- hunspell
- spectral
- essentia
- hypertools
- stop_words
- scattertext
- vaex
- blake3
- catalyst (note no longer maintained since 2022)
  • Loading branch information
calderjo authored Sep 19, 2024
1 parent 9e84258 commit f13f634
Show file tree
Hide file tree
Showing 11 changed files with 119 additions and 450 deletions.
293 changes: 112 additions & 181 deletions Dockerfile.tmpl

Large diffs are not rendered by default.

158 changes: 0 additions & 158 deletions tests/test_catalyst.py

This file was deleted.

7 changes: 0 additions & 7 deletions tests/test_essentia.py

This file was deleted.

17 changes: 0 additions & 17 deletions tests/test_geoviews.py

This file was deleted.

12 changes: 0 additions & 12 deletions tests/test_ggplot.py

This file was deleted.

1 change: 0 additions & 1 deletion tests/test_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ class TestImport(unittest.TestCase):
# Basic import tests for packages without any.
def test_basic(self):
import bq_helper
import cleverhans
import tensorflow_datasets
import segment_anything
7 changes: 0 additions & 7 deletions tests/test_kmapper.py

This file was deleted.

7 changes: 7 additions & 0 deletions tests/test_matplotlib.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
import unittest
import os.path

from distutils.version import StrictVersion

import matplotlib
import matplotlib.pyplot as plt
import numpy as np

class TestMatplotlib(unittest.TestCase):
def test_version(self):
# b/308525631: newer versions of Matplotlib causes learntools to fail
self.assertLess(StrictVersion(matplotlib.__version__), StrictVersion("3.8.0"))

def test_plot(self):
plt.plot(np.linspace(0,1,50), np.random.rand(50))
plt.savefig("plot1.png")
Expand Down
47 changes: 0 additions & 47 deletions tests/test_pykalman.py

This file was deleted.

10 changes: 0 additions & 10 deletions tests/test_vaex.py

This file was deleted.

10 changes: 0 additions & 10 deletions tests/test_vowpalwabbit.py

This file was deleted.

0 comments on commit f13f634

Please sign in to comment.