mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
f0fc0828f5
* chore: unpin pip revert https://github.com/samuelcolvin/pydantic/commit/de0657e4a5495de9378db9fe15a17334c2b0fae5 * fix CI temporarily * improve caught warning in pytest Co-authored-by: Thomas Grainger <tagrain@gmail.com> Co-authored-by: Thomas Grainger <tagrain@gmail.com>
16 lines
468 B
Bash
Executable File
16 lines
468 B
Bash
Executable File
#! /usr/bin/env bash
|
|
|
|
set -x
|
|
set -e
|
|
|
|
cd fastapi
|
|
git fetch --tags
|
|
latest_tag_commit=$(git rev-list --tags --max-count=1)
|
|
latest_tag=$(git describe --tags "${latest_tag_commit}")
|
|
git checkout "${latest_tag}"
|
|
pip install -U flit
|
|
flit install
|
|
|
|
# ignore cryptography warning https://github.com/mpdavis/python-jose/issues/208
|
|
PYTHONPATH=./docs/src pytest -W 'ignore:int_from_bytes is deprecated, use int.from_bytes instead:cryptography.utils.CryptographyDeprecationWarning'
|