8000 cython by samuelcolvin · Pull Request #548 · pydantic/pydantic · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
0593eb0
user cython for fields.py, parse.py and validators.py
samuelcolvin May 25, 2019
d068d24
fix coverage
samuelcolvin May 25, 2019
da8f50a
no cython on windows
samuelcolvin May 25, 2019
178766e
speedup error_wrappers, more cython
samuelcolvin May 25, 2019
02590c9
conditional validators
samuelcolvin May 25, 2019
f093118
more tweaks to validators.py
samuelcolvin May 25, 2019
0a4e37a
add compiled check
samuelcolvin May 25, 2019
a2165d8
fix mypy and tweak
samuelcolvin May 25, 2019
7ebf254
benchmark with cython
samuelcolvin May 25, 2019
1b50f47
simplify anystr_strip_whitespace
samuelcolvin May 25, 2019
217049a
build binaries on travis
samuelcolvin May 25, 2019
74a84f5
fix travis manylinux builds
samuelcolvin May 25, 2019
8e8982f
correct test stages
samuelcolvin May 25, 2019
4bcf5dc
cibuildwheel to dist
samuelcolvin May 25, 2019
becb8d2
fix manylinux build
samuelcolvin May 25, 2019
ce82323
don't upgrade pip on wheel build
samuelcolvin May 25, 2019
5c83e48
try a fix for cibuildwheel
samuelcolvin May 26, 2019
35e364c
speedup deploy stage
samuelcolvin May 26, 2019
b56008e
revert file rearrangement, cythonize main.py
samuelcolvin May 26, 2019
8bd8adb
tweak main.py
samuelcolvin May 26, 2019
d583512
update docs and history
samuelcolvin May 26, 2019
0dca636
fix deploy stage of travis
samuelcolvin May 26, 2019
dac2652
Cythonize more files (#553)
dmontagu May 29, 2019
1e322ef
Merge branch 'master' into cython
samuelcolvin May 30, 2019
e290b99
cython coverage
samuelcolvin May 30, 2019
59a99aa
upgrade cython and tweak build setup
samuelcolvin May 30, 2019
948ce20
different build stages
samuelcolvin May 30, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
build binaries on travis
  • Loading branch information
samuelcolvin committed May 25, 2019
commit 217049a2f453c44a5813cd9aa8dbaf6f69f48dc6
77 changes: 45 additions & 32 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
os: linux
dist: xenial
sudo: required
language: python

cache: pip

matrix:
include:
- python: '3.6'
- python: '3.7'
dist: xenial
sudo: required
- python: 3.8-dev
dist: xenial
sudo: required

allow_failures:
- python: 3.8-dev
python:
- '3.6'
- '3.7'
- '3.8-dev'

install:
- make install
Expand Down Expand Up @@ -45,24 +39,43 @@ after_success:
- ls -lha
- bash <(curl -s https://codecov.io/bash)

env:
- secure: "vpTd8bkwPBP0CV3EJBAwSMNMnNK3m/71dvTvBd1T4YGuefyJvYhtA7wauA5xRL9jpK2mu5QR5eo0owTUJhKi4DjpafMMd1bc4PnXlrdZFzkn3VsGmlKt74D/aJgiuiNyhd/Qvq4OxMHrMhf4f6lKWoMM1vh6yT0yp3+51SexSh2Me0Q+npxbjXwoxX5XUHRcoSLtFk4GbYI88a2I+08XWI6v+Awo/giQ5QurUJhjAklbosrrQVr1FCOkU0em5jeyZvEbZSLmaMtbX1JlRdKoJm6WMU+y9I7zj35w6ue/vgfcLz7b/HDZrBx7/L9g1LxRo80briueX/IbHvN7DOVFKvaXVmnEa6lIDdCeOLOyESpIbmjqmDKi8JeexdPNxKq4Tvo2VEA9dL2w2aw+aALNtU2OF5iEMfPTUQyosu/CNu2PKtiuZkSOdvpYbSy1WUNHJRvomdR4Olzg8ZIScNsxU3IIPdrlG/LUA8auXcE9juFeZfD6D2hQZATqWeEe/C2J7amNSD+mLLaTf6nMQw8oNtKYOvYK17M7xyvi7HXDy711Bi18U3x6Ye0xGx8CDbFwl0ICNzIk9rrSAh9hEHTvfdUUkk35pxifvO0Hrh4SArCA20ozcH/hHWBhyqGdxoIQ6KoDgNbIFIGQ6/vugxL/pt8z1sJwPfJnq8tRDAyWZvE="
jobs:
allow_failures:
- python: '3.8-dev'

before_deploy:
- make install # install cython again ready for release
include:
- stage: deploy
services:
- docker
script:
- make install
- pip install -U cibuildwheel wheel
- cibuildwheel --output-dir wheelhouse
deploy:
provider: pypi
# `skip_cleanup: true` is required to preserve binary wheels, built
# inside of manylinux1 docker container during `script` step above.
skip_cleanup: true
# `skip-existing: true` is required to skip uploading dists, already
# present in PYPI instead of failing the whole process.
skip-existing: true
user: samuelcolvin
password:
secure: 'QbXFF2puEWjhFUpD0yu2R+wP4QI1IKIomBkMizsiCyMutlexERElranyYB8bsakvjPaJ+zU14ufffh2u7UA7Zhep/iE4skRHq4XWxnnRLHGu5nyGf3+zSM3F9MOzV32eZ4CDLJtFb6I0ensjTpodJH2EsIYHYxTgndIZn56Qbh6CStj7Xg1zm0Ujxdzm4ZLgcS28SOF/tpjsDW9+GXwc6L1mAZWYiS98gVgzL1vBd9tL9uFbbuFwGz9uhFMzFJko7vXSl8urWB4qeCspKXa9iKH7/AOYSwXTCwcg8U2hhC9UsOapnga2BubZKlU5HRfSs9fQcpnzcP2lwhSmkrEFa8VOw83hX6+bL564xK1Q4kanfGZ1fLU4FYge3iOnqjH7ajO7xEcUrcOEYUPfxM4EfdiDw0xnAzE1ITGH1/pZikF+wjlu+ez7RmmnejgK7quT1WU7keo7pSlRSfQtNgNl6xu818x0xZ1TScfN6e9npNy4TYyIooMOOeI4tMdfcR4JClkjGKhAtBk81DH7isZgPv3uwocGnKZ2S7La97CE3ADzU3MTA9xVIOSOjzwuvAe72uS2nwzqXkS9KATdATkC9QCvheJ9jIBB4UcqnHbD8L1gkqdmZwXZqHZldq8wcqNYZb+81lumy5EZ6xSoEzlLDpXHe80EjMUOBkb5fz3D44s='
on:
tags: true
all_branches: true
- python: 3.7
env:
- secure: "vpTd8bkwPBP0CV3EJBAwSMNMnNK3m/71dvTvBd1T4YGuefyJvYhtA7wauA5xRL9jpK2mu5QR5eo0owTUJhKi4DjpafMMd1bc4PnXlrdZFzkn3VsGmlKt74D/aJgiuiNyhd/Qvq4OxMHrMhf4f6lKWoMM1vh6yT0yp3+51SexSh2Me0Q+npxbjXwoxX5XUHRcoSLtFk4GbYI88a2I+08XWI6v+Awo/giQ5QurUJhjAklbosrrQVr1FCOkU0em5jeyZvEbZSLmaMtbX1JlRdKoJm6WMU+y9I7zj35w6ue/vgfcLz7b/HDZrBx7/L9g1LxRo80briueX/IbHvN7DOVFKvaXVmnEa6lIDdCeOLOyESpIbmjqmDKi8JeexdPNxKq4Tvo2VEA9dL2w2aw+aALNtU2OF5iEMfPTUQyosu/CNu2PKtiuZkSOdvpYbSy1WUNHJRvomdR4Olzg8ZIScNsxU3IIPdrlG/LUA8auXcE9juFeZfD6D2hQZATqWeEe/C2J7amNSD+mLLaTf6nMQw8oNtKYOvYK17M7xyvi7HXDy711Bi18U3x6Ye0xGx8CDbFwl0ICNzIk9rrSAh9hEHTvfdUUkk35pxifvO0Hrh4SArCA20ozcH/hHWBhyqGdxoIQ6KoDgNbIFIGQ6/vugxL/pt8z1sJwPfJnq8tRDAyWZvE="
script: skip
deploy:
provider: script
script: make publish
on:
tags: true
all_branches: true

deploy:
- provider: pypi
user: samuelcolvin
password:
secure: QbXFF2puEWjhFUpD0yu2R+wP4QI1IKIomBkMizsiCyMutlexERElranyYB8bsakvjPaJ+zU14ufffh2u7UA7Zhep/iE4skRHq4XWxnnRLHGu5nyGf3+zSM3F9MOzV32eZ4CDLJtFb6I0ensjTpodJH2EsIYHYxTgndIZn56Qbh6CStj7Xg1zm0Ujxdzm4ZLgcS28SOF/tpjsDW9+GXwc6L1mAZWYiS98gVgzL1vBd9tL9uFbbuFwGz9uhFMzFJko7vXSl8urWB4qeCspKXa9iKH7/AOYSwXTCwcg8U2hhC9UsOapnga2BubZKlU5HRfSs9fQcpnzcP2lwhSmkrEFa8VOw83hX6+bL564xK1Q4kanfGZ1fLU4FYge3iOnqjH7ajO7xEcUrcOEYUPfxM4EfdiDw0xnAzE1ITGH1/pZikF+wjlu+ez7RmmnejgK7quT1WU7keo7pSlRSfQtNgNl6xu818x0xZ1TScfN6e9npNy4TYyIooMOOeI4tMdfcR4JClkjGKhAtBk81DH7isZgPv3uwocGnKZ2S7La97CE3ADzU3MTA9xVIOSOjzwuvAe72uS2nwzqXkS9KATdATkC9QCvheJ9jIBB4UcqnHbD8L1gkqdmZwXZqHZldq8wcqNYZb+81lumy5EZ6xSoEzlLDpXHe80EjMUOBkb5fz3D44s=
distributions: sdist bdist_wheel
skip_upload_docs: true
on:
tags: true
python: 3.6
- provider: script
script: make publish
on:
tags: true
python: 3.6
stages:
- test
- deploy
2 changes: 1 addition & 1 deletion pydantic/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__all__ = ['VERSION']

VERSION = StrictVersion('0.26')
VERSION = StrictVersion('0.27a1')
0