Skip to content

Commit

Permalink
fix(pydantic): Upgrade Pydantic to 1.1.6 and remove workarounds
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey authored and Chris Mackey committed Jul 17, 2020
1 parent 3b554bc commit 0910732
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
install:
- pip install -r dev-requirements.txt
- pip install -r requirements.txt
- npm install -g redoc-cli
script:
- export CLEAN_TAG=$(echo $TRAVIS_TAG | sed 's/v//g')
- python docs.py --version $CLEAN_TAG
Expand Down
4 changes: 1 addition & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@

honeybee-schema==1.35.1
# pydantic==1.5.1
git+https://github.com/samuelcolvin/pydantic.git@5067508eca6222b9315b1e38a30ddc975dee05e7
pydantic==1.6.1
7 changes: 0 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
with open('requirements.txt') as f:
requirements = f.read().splitlines()

dependency_links = []
for req in requirements:
if req.startswith('git+'):
dependency_links.append(req)
requirements.remove(req)

setuptools.setup(
name="dragonfly-schema",
use_scm_version=True,
Expand All @@ -24,7 +18,6 @@
url="https://github.com/ladybug-tools/dragonfly-schema",
packages=setuptools.find_packages(exclude=["tests", "scripts", "samples"]),
install_requires=requirements,
dependency_links=dependency_links,
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
Expand Down

0 comments on commit 0910732

Please sign in to comment.