Skip to content

Commit 73e3e73

Browse files
authored
workflow fix (#66)
* rename Crc256 -> Crc256Bytes * workflow fix
1 parent 2dc381f commit 73e3e73

11 files changed

Lines changed: 70 additions & 72 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# This is a partial workflow. Use wheels.yml for more
2-
# complete workflow.
31
name: build
42

53
on:
@@ -40,6 +38,7 @@ jobs:
4038
run: |
4139
pip install --upgrade --upgrade-strategy eager setuptools wheel
4240
pip install --upgrade --upgrade-strategy eager -r requirements.txt
41+
pip freeze > pip-freeze.txt
4342
4443
- name: Test with pytest
4544
run: |

pip-freeze.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
appnope==0.1.2
12
attrs==21.4.0
23
backcall==0.2.0
3-
-e git+ssh://git@github.com/escherba/python-cityhash.git@acb90cdefcd61e80fc3568f1976510d6ec9f4f1a#egg=cityhash
44
Cython==0.29.26
55
decorator==5.1.0
66
iniconfig==1.1.1
77
ipdb==0.13.9
8-
ipython==7.30.1
8+
ipython==7.31.0
99
jedi==0.18.1
1010
matplotlib-inline==0.1.3
1111
numpy==1.22.0

python.mk

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ env/bin/activate: setup.py requirements.txt
8282
test -f $@ || virtualenv $(VENV_OPTS) env
8383
export SETUPTOOLS_USE_DISTUTILS=stdlib; $(PYENV) curl https://bootstrap.pypa.io/ez_setup.py | $(INTERPRETER)
8484
$(PIP) install -U pip wheel
85-
$(PIP) install -U py-cpuinfo
8685
export SETUPTOOLS_USE_DISTUTILS=stdlib; $(PIP) install -r requirements.txt
87-
$(PIP) install -e .
8886
$(PIP) freeze > pip-freeze.txt
87+
$(PIP) install -e .
8988
touch $@

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def get_system_bits():
127127
)
128128

129129

130-
VERSION = "0.3.7"
130+
VERSION = "0.3.8"
131131
URL = "https://github.com/escherba/python-cityhash"
132132

133133

src/cityhash.cpp

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cityhash.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Python wrapper for CityHash
1010

1111
__author__ = "Eugene Scherba"
1212
__email__ = "escherba+cityhash@gmail.com"
13-
__version__ = '0.3.7'
13+
__version__ = '0.3.8'
1414
__all__ = [
1515
"CityHash32",
1616
"CityHash64",

src/cityhashcrc.cpp

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cityhashcrc.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ Python wrapper for CityHash-CRC
1010

1111
__author__ = "Eugene Scherba"
1212
__email__ = "escherba+cityhash@gmail.com"
13-
__version__ = '0.3.7'
13+
__version__ = '0.3.8'
1414
__all__ = [
1515
"CityHashCrc128",
1616
"CityHashCrc128WithSeed",
17-
"CityHashCrc256",
17+
"CityHashCrc256Bytes",
1818
]
1919

2020

@@ -105,7 +105,7 @@ Raises:
105105
return (long(result.first) << 64ULL) + long(result.second)
106106
107107
108-
def CityHashCrc256(data) -> bytes:
108+
def CityHashCrc256Bytes(data) -> bytes:
109109
"""
110110
Obtain a 256-bit hash from input data using CityHash-CRC.
111111

0 commit comments

Comments
 (0)