Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ifduyue/python-xxhash
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.3.0
Choose a base ref
...
head repository: ifduyue/python-xxhash
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.4.4
Choose a head ref

Commits on Oct 21, 2018

  1. Debug appveyor

    ifduyue committed Oct 21, 2018
    Copy the full SHA
    4a5554e View commit details

Commits on Oct 22, 2018

  1. YAML 2 whitespaces indent

    ifduyue committed Oct 22, 2018
    Copy the full SHA
    7ba1422 View commit details
  2. Update README.rst

    ifduyue committed Oct 22, 2018
    Copy the full SHA
    2ebafeb View commit details

Commits on Oct 23, 2018

  1. Deploy to Test PyPI

    ifduyue committed Oct 23, 2018
    Copy the full SHA
    67a7689 View commit details

Commits on Dec 6, 2018

  1. Docs

    ifduyue committed Dec 6, 2018
    Copy the full SHA
    f6c978e View commit details
  2. gitignore /xxhash.egg-info/

    ifduyue committed Dec 6, 2018
    Copy the full SHA
    5ef2118 View commit details

Commits on Dec 12, 2018

  1. Docs

    ifduyue committed Dec 12, 2018
    Copy the full SHA
    3023965 View commit details
  2. Fix docs

    ifduyue committed Dec 12, 2018
    Copy the full SHA
    2bf46a2 View commit details
  3. Docs: update func signature

    ifduyue committed Dec 12, 2018
    Copy the full SHA
    b3d2bd5 View commit details

Commits on Dec 13, 2018

  1. Docs

    ifduyue committed Dec 13, 2018
    Copy the full SHA
    dc05c55 View commit details

Commits on Jan 4, 2019

  1. Copy the full SHA
    6b7ae49 View commit details
  2. Copy the full SHA
    45b7ffa View commit details

Commits on Feb 24, 2019

  1. Copy the full SHA
    dae7c7e View commit details

Commits on Mar 6, 2019

  1. Copy the full SHA
    d0a5dba View commit details

Commits on Mar 8, 2019

  1. Docs: link to libxxhash.so

    ifduyue committed Mar 8, 2019
    Copy the full SHA
    fb79761 View commit details
  2. Fix TravisCI error

    Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/LICENSE'
    ifduyue committed Mar 8, 2019
    Copy the full SHA
    1365d7b View commit details
  3. 2019

    ifduyue committed Mar 8, 2019
    Copy the full SHA
    913683c View commit details

Commits on Mar 11, 2019

  1. Revert "Fix TravisCI error"

    This reverts commit 1365d7b.
    ifduyue committed Mar 11, 2019
    Copy the full SHA
    81aeb59 View commit details

Commits on Mar 21, 2019

  1. Copy the full SHA
    c5de7c8 View commit details

Commits on Aug 25, 2019

  1. Add a simple benchmark script

    ifduyue committed Aug 25, 2019
    Copy the full SHA
    90a2f96 View commit details
  2. Upgrade deps/xxhash to v0.7.1

    ifduyue committed Aug 25, 2019
    Copy the full SHA
    6f1b753 View commit details
  3. Copy the full SHA
    d02ef5e View commit details
  4. Copy the full SHA
    3ff8cdd View commit details
  5. Fix building wheels

    ifduyue committed Aug 25, 2019
    Copy the full SHA
    aeeceb1 View commit details
  6. Release v1.4.0

    ifduyue committed Aug 25, 2019
    Copy the full SHA
    2ce1093 View commit details

Commits on Aug 26, 2019

  1. Copy the full SHA
    e0c26b2 View commit details
  2. Merge pull request #29 from cgohlke/patch-1

    Include xxh3.h in source distribution
    ifduyue authored Aug 26, 2019
    Copy the full SHA
    64ffe1b View commit details

Commits on Aug 27, 2019

  1. Release v1.4.1

    ifduyue committed Aug 27, 2019
    Copy the full SHA
    0ed9fb8 View commit details
  2. More bench

    ifduyue committed Aug 27, 2019
    Copy the full SHA
    64630ad View commit details

Commits on Oct 11, 2019

  1. Copy the full SHA
    fa2bc59 View commit details

Commits on Oct 13, 2019

  1. Merge pull request #32 from blakev/master

    Set explicit file encoding when reading README.rst #31
    ifduyue authored Oct 13, 2019
    Copy the full SHA
    9a6a10a View commit details
  2. Release v1.4.2

    ifduyue committed Oct 13, 2019
    Copy the full SHA
    172eae4 View commit details

Commits on Oct 19, 2019

  1. Travis Python 3.8.0

    ifduyue committed Oct 19, 2019
    Copy the full SHA
    536d100 View commit details

Commits on Oct 28, 2019

  1. AppVeyor Python 3.8

    ifduyue committed Oct 28, 2019
    Copy the full SHA
    7e3777d View commit details

Commits on Nov 7, 2019

  1. Upgrade xxHash to v0.7.2

    ifduyue committed Nov 7, 2019
    Copy the full SHA
    dbc78b8 View commit details
  2. Copy the full SHA
    ae5794a View commit details
  3. Prepare for v1.4.3

    ifduyue committed Nov 7, 2019
    Copy the full SHA
    a337dbf View commit details

Commits on Nov 12, 2019

  1. Release v1.4.3

    ifduyue committed Nov 12, 2019
    Copy the full SHA
    22805da View commit details
  2. Copy the full SHA
    d957645 View commit details
  3. Copy the full SHA
    eb6ae85 View commit details

Commits on Nov 24, 2019

  1. Copy the full SHA
    fd608c5 View commit details

Commits on Jun 17, 2020

  1. Stop using PEP393 deprecated APIs

    PyUnicode_FromStringAndSize(NULL, size) is deprecated.
    methane authored and ifduyue committed Jun 17, 2020
    Copy the full SHA
    3cad9ad View commit details
  2. Upgrade xxHash to v0.7.3

    ifduyue committed Jun 17, 2020
    Copy the full SHA
    d96871d View commit details
  3. Travis-CI arm64

    ifduyue committed Jun 17, 2020
    Copy the full SHA
    4cc7951 View commit details
  4. Release 1.4.4a1

    ifduyue committed Jun 17, 2020
    Copy the full SHA
    63a712c View commit details

Commits on Jun 18, 2020

  1. Add 1.4.4 changelog

    ifduyue committed Jun 18, 2020
    Copy the full SHA
    adb2d31 View commit details
  2. Typo

    ifduyue committed Jun 18, 2020
    Copy the full SHA
    a989306 View commit details
  3. 0.7.3

    ifduyue committed Jun 18, 2020
    Copy the full SHA
    ee01464 View commit details
  4. 2020

    ifduyue committed Jun 18, 2020
    Copy the full SHA
    b42a46a View commit details

Commits on Jun 20, 2020

  1. Build arm wheels

    ifduyue committed Jun 20, 2020
    Copy the full SHA
    979c9dc View commit details
Showing with 422 additions and 382 deletions.
  1. +71 −38 .appveyor.yml
  2. +1 −0 .gitignore
  3. +66 −28 .travis.yml
  4. +148 −0 CHANGELOG.rst
  5. +1 −1 LICENSE
  6. +2 −0 MANIFEST.in
  7. +44 −141 README.rst
  8. +38 −0 bench.sh
  9. +1 −1 deps/xxhash
  10. +23 −4 setup.py
  11. +25 −167 xxhash/cpython.c → src/_xxhash.c
  12. +2 −2 xxhash/__init__.py
109 changes: 71 additions & 38 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,72 +1,105 @@
environment:
global:
PYPI_USER: ifduyue
PYPI_TEST_PASSWORD:
secure: Ub5TGKonq/xFgzRLFMCcKQ==
PYPI_PASSWORD:
secure: fFfFN5N5920gtX3+pwrOddk/psDk3wK67snCOt209bc=
PYPI_USER: ifduyue
PYPI_TEST_PASSWORD:
secure: Ub5TGKonq/xFgzRLFMCcKQ==
PYPI_PASSWORD:
secure: fFfFN5N5920gtX3+pwrOddk/psDk3wK67snCOt209bc=
matrix:
- PYTHON: "C:\\Python26"
PYTHON_VERSION: "2.6"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python26-x64"
PYTHON_VERSION: "2.6"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python33"
PYTHON_VERSION: "3.3"
PYTHON_ARCH: "32"
# https://bugs.python.org/issue7511
#- PYTHON: "C:\\Python33-x64"
- PYTHON: "C:\\Python34"
PYTHON_VERSION: "3.4"
PYTHON_ARCH: "32"
#- PYTHON: "C:\\Python34-x64"
- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python36"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python37"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python37-x64"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Python38"
PYTHON_VERSION: "3.8"
PYTHON_ARCH: "32"
- PYTHON: "C:\\Python38-x64"
PYTHON_VERSION: "3.8"
PYTHON_ARCH: "64"
# build wheels
- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
XXHASH_BUILDWHEELS: 1

build: off

install:
- git --version
- python --version
- '%PYTHON%\python.exe --version'
- git --version
- python --version
- '%PYTHON%\python.exe --version'

- git submodule update --init --recursive
- '%PYTHON%\scripts\pip.exe install wheel'
- '%PYTHON%\scripts\pip.exe --version'
- git submodule update --init --recursive
- '%PYTHON%\scripts\pip.exe install wheel'
- '%PYTHON%\scripts\pip.exe --version'
- set

test_script:
- '%PYTHON%\python.exe setup.py test'
#- cibuildwheel --output-dir wheels
#- ls wheels
- ps: |
if (Test-Path env:XXHASH_BUILDWHEELS) {
python -m pip install -U pip setuptools cibuildwheel
cibuildwheel --output-dir wheels
ls wheels
}
- '%PYTHON%\python.exe setup.py test'
#- cibuildwheel --output-dir wheels
#- ls wheels
- ps: |
if (Test-Path env:XXHASH_BUILDWHEELS) {
python -m pip install -U pip setuptools cibuildwheel
cibuildwheel --output-dir wheels
ls wheels
}
artifacts:
- path: wheels\*.whl
name: Wheels
- path: wheels\*.whl
name: Wheels


on_success:
# deploy master non-tags to Test PyPI
#- ps: |
# if (!(Test-Path env:XXHASH_BUILDWHEELS)) { return }
# if (Test-Path env:APPVEYOR_PULL_REQUEST_NUMBER) { return }
# if ($env:APPVEYOR_REPO_NAME -ne 'ifduyue/python-xxhash') { return }
# if ($env:APPVEYOR_REPO_BRANCH -ne 'master') { return }
# pip install -U twine
# twine upload -u $env:PYPI_USER -p $env:PYPI_TEST_PASSWORD --repository-url https://test.pypi.org/legacy/ --skip-existing wheels\*.whl
# deploy master non-tags to Test PyPI
- ps: |
if (!(Test-Path env:XXHASH_BUILDWHEELS)) { return }
if (Test-Path env:APPVEYOR_PULL_REQUEST_NUMBER) { return }
if ($env:APPVEYOR_REPO_NAME -ne 'ifduyue/python-xxhash') { return }
if ($env:APPVEYOR_REPO_BRANCH -ne 'master') { return }
pip install -U twine
twine upload -u $env:PYPI_USER -p $env:PYPI_TEST_PASSWORD --repository-url https://test.pypi.org/legacy/ --skip-existing wheels\*.whl
# deploy tags to PyPI
- ps: |
if (!(Test-Path env:XXHASH_BUILDWHEELS)) { return }
if (Test-Path env:APPVEYOR_PULL_REQUEST_NUMBER) { return }
if ($env:APPVEYOR_REPO_NAME -ne 'ifduyue/python-xxhash') { return }
if ($env:APPVEYOR_REPO_TAG -ne 'true') { return }
pip install -U twine
twine upload -u $env:PYPI_USER -p $env:PYPI_PASSWORD --skip-existing wheels\*.whl
# deploy tags to PyPI
- ps: |
if (!(Test-Path env:XXHASH_BUILDWHEELS)) { return }
if (Test-Path env:APPVEYOR_PULL_REQUEST_NUMBER) { return }
if ($env:APPVEYOR_REPO_NAME -ne 'ifduyue/python-xxhash') { return }
if ($env:APPVEYOR_REPO_TAG -ne 'true') { return }
pip install -U twine
twine upload -u $env:PYPI_USER -p $env:PYPI_PASSWORD --skip-existing wheels\*.whl
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -3,3 +3,4 @@
*.o
__pycache__/
build
/xxhash.egg-info/
94 changes: 66 additions & 28 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,74 @@
language: python
python: 3.6
dist: trusty
python: 3.8
dist: xenial

matrix:
allow_failures:
- python: pypy
- python: pypy3
- python: 3.8-dev
- python: nightly
include:
- python: 2.6
arch: amd64
dist: trusty
- python: 2.7
arch: amd64
- python: 2.7
arch: arm64
- python: 3.3
arch: amd64
dist: trusty
- python: 3.4
arch: amd64
- python: 3.4
arch: arm64
- python: 3.5
arch: amd64
- python: 3.5
dist: xenial
arch: arm64
- python: 3.6
dist: xenial
arch: amd64
- python: 3.6
arch: arm64
- python: 3.7
arch: amd64
- python: 3.7
dist: xenial
- python: 3.8-dev
dist: xenial
arch: arm64
- python: 3.8
arch: amd64
- python: 3.8
arch: arm64
- python: nightly
dist: xenial
arch: amd64
- python: pypy
arch: amd64
- python: pypy
arch: arm64
- python: pypy3
arch: amd64
- python: pypy3
arch: arm64
# linux wheels
- dist: trusty
- dist: xenial
arch: amd64
python: 3.7
sudo: required
services:
- docker
env: XXHASH_BUILDWHEELS=1
# linux arm wheels
- dist: xenial
arch: amd64
python: 3.7
sudo: required
services:
- docker
arch: arm64
env: XXHASH_BUILDWHEELS=1
# Travis-CI arm64 issue work-around
# See https://travis-ci.community/t/permission-issue-while-building-wheels-for-various-python-packages/7822
before_install:
- sudo chown -fR $USER:$GROUP ~/.cache/pip/wheels
# osx wheels
- os: osx
osx_image: xcode9.4
@@ -51,27 +89,27 @@ script:
- |
if [ -n "${XXHASH_BUILDWHEELS:-}" ]; then
cibuildwheel --output-dir dist
ls dist/
else
python setup.py test
./bench.sh
fi
before_deploy: ls dist/

deploy:
# deploy master non-tags to Test PyPI
#- provider: pypi
# user: ifduyue
# password:
# secure: "AKWSOlvoiBvXkUJYg/WWueMDON9EmUXgy5GIO1LFhXGmWChHaEuLRhjn9PtU0GUeaUIUGPwleTbF9YMUiXr0zCCjllV6hNGwJ/wrRNfI6+I0m4YLTjS5uQ4/P0uhPCNIroD1YI9GtLtySdyvmOJI4wDxEd57gycHE47re3jwF90="
# server: https://test.pypi.org/legacy/
# distributions: sdist
# skip_existing: true
# skip_cleanup: true
# on:
# repo: ifduyue/python-xxhash
# tags: false
# branch: master
# condition: -n "${XXHASH_BUILDWHEELS:-}"
- provider: pypi
user: ifduyue
password:
secure: "AKWSOlvoiBvXkUJYg/WWueMDON9EmUXgy5GIO1LFhXGmWChHaEuLRhjn9PtU0GUeaUIUGPwleTbF9YMUiXr0zCCjllV6hNGwJ/wrRNfI6+I0m4YLTjS5uQ4/P0uhPCNIroD1YI9GtLtySdyvmOJI4wDxEd57gycHE47re3jwF90="
server: https://test.pypi.org/legacy/
distributions: sdist
skip_existing: true
skip_cleanup: true
on:
repo: ifduyue/python-xxhash
tags: false
branch: master
condition: -n "${XXHASH_BUILDWHEELS:-}"

# deploy tags to PyPI
- provider: pypi
@@ -82,6 +120,6 @@ deploy:
skip_existing: true
skip_cleanup: true
on:
repo: ifduyue/python-xxhash
tags: true
condition: -n "${XXHASH_BUILDWHEELS:-}"
repo: ifduyue/python-xxhash
tags: true
condition: -n "${XXHASH_BUILDWHEELS:-}"
Loading