Skip to content

Commit

Permalink
Add note to documentation to address #195 (#197)
Browse files Browse the repository at this point in the history
* #195 add doc note

* edit actions
  • Loading branch information
ekzhu committed Feb 19, 2023
1 parent 1f70dac commit bc1b762
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 34 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
name: Documentation
name: Build Documentation

on:
workflow_run:
workflows: ["Test", "Test Mongo", "Test Cassandra"]
types:
- completed
branches:
- master
# Triggers the workflow on push or pull request events
on: [push, pull_request]

jobs:
build:
Expand All @@ -32,6 +27,7 @@ jobs:
cd docs
make html
- name: Deploy to GitHub pages
if: ${{ github.ref == 'refs/heads/master' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/test-cassandra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
# python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.11"]
services:
cassandra:
Expand All @@ -22,17 +21,6 @@ jobs:
options: --health-cmd "cqlsh --debug" --health-interval 5s --health-retries 10
steps:
- uses: actions/checkout@v3
# - name: Setup Cassandra
# uses: fabasoad/[email protected]
# - name: Install and Start Cassandra
# run: |
# echo "deb http://debian.datastax.com/community stable main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
# curl -L http://debian.datastax.com/debian/repo_key | sudo apt-key add -
# sudo apt-get update
# sudo apt-get install openjdk-8-jdk
# java -version
# sudo apt-get install cassandra cython3
# bash travis/wait_for_cassandra.sh
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/test-mongo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
# python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.11"]
# services:
# mongo:
# image: mongo
# ports:
# - 27017:27017
steps:
- uses: actions/checkout@v3
- name: Setup MongoDB
Expand Down
2 changes: 1 addition & 1 deletion datasketch/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__="1.5.8"
__version__="1.5.9"
3 changes: 3 additions & 0 deletions datasketch/weighted_minhash.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ def minhash_many(self, X : Union[sp.sparse.spmatrix, np.ndarray]) \
multi-set, and each column stores the integer frequency of the
element of a dimension.
Note: this method is experimental and does not yield the same MinHash
hash values as `minhash`.
Args:
X (Union[sp.sparse.spmatrix, np.ndarray]): A matrix of Jaccard
vectors (rows).
Expand Down
10 changes: 3 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,11 @@
'Topic :: Database',
'Topic :: Scientific/Engineering :: Information Analysis',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
keywords='database datamining',
packages=find_packages(include=['datasketch*']),
Expand Down

0 comments on commit bc1b762

Please sign in to comment.