File tree Expand file tree Collapse file tree 6 files changed +106
-22
lines changed
Expand file tree Collapse file tree 6 files changed +106
-22
lines changed Original file line number Diff line number Diff line change 1+ version : 2.1
2+
3+ orbs :
4+ ghpr :
narrativescience/[email protected] 5+
6+ commands :
7+ install-deps :
8+ description : Install dependencies
9+ steps :
10+ - run :
11+ name : Install dependencies
12+ command : |
13+ pip install flit
14+
15+ jobs :
16+ test :
17+ docker :
18+ - image : circleci/python:3.5-jessie-browsers
19+ steps :
20+ - checkout
21+ - run :
22+ name : ' Setup virtual env'
23+ command : |
24+ python3 -m venv venv
25+ source venv/bin/activate
26+ pip install -U pip setuptools python-dateutil==2.6.1 msgpack-python requests==2.24.0
27+ pip install .[dev]
28+ - run :
29+ name : ' run tests'
30+ command : |
31+ source venv/bin/activate
32+ python -m unittest
33+ test-build :
34+ docker :
35+ - image : circleci/python:3.6
36+ steps :
37+ - ghpr/build-prospective-branch
38+ - install-deps
39+ - run : flit build
40+ - ghpr/post-pr-comment :
41+ comment : Tests failed!
42+ when : on_fail
43+ publish :
44+ docker :
45+ - image : circleci/python:3.6
46+ steps :
47+ - checkout
48+ - run : pip install flit
49+ - run : flit build
50+ - run : flit publish
51+
52+ workflows :
53+ pull_request :
54+ jobs :
55+ - test :
56+ filters :
57+ branches :
58+ ignore :
59+ - master
60+ - test-build :
61+ requires :
62+ - test
63+ filters :
64+ branches :
65+ ignore :
66+ - master
67+ publish :
68+ jobs :
69+ - publish :
70+ filters :
71+ tags :
72+ only : /v[0-9]+(\.[0-9]+)*/
73+ branches :
74+ ignore : /.*/
Original file line number Diff line number Diff line change 8787
8888# Rope project settings
8989.ropeproject
90+
91+ # IDE stuff
92+ .idea
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" flit_core >=2,<3" ]
3+ build-backend = " flit_core.buildapi"
4+
5+ [tool .flit .metadata ]
6+ module = " stitchclient"
7+ author = " Narrative Science"
8+ author-email =
" [email protected] " 9+ dist-name = " python-stitch-client"
10+ home-page = " https://github.com/NarrativeScience/python-stitch-client"
11+ description-file = " README.md"
12+ requires = [
13+ " python-dateutil==2.6.1" ,
14+ " msgpack-python" ,
15+ " requests==2.24.0" ,
16+ ]
17+ classifiers = [' Programming Language :: Python :: 3 :: Only' ]
18+ requires-python = " >=3.5.7,<4"
19+
20+ [tool .flit .sdist ]
21+ include = [" LICENSE" ]
22+ exclude = [" tests/" ]
Original file line number Diff line number Diff line change 44import subprocess
55
66setup (name = "stitchclient" ,
7- version = "0.7.0 " ,
7+ version = "0.8.0.post1 " ,
88 description = "A Stitch API client for Python" ,
99 author = "Stitch" ,
10101414 install_requires = [
1515 "python-dateutil==2.6.1" ,
1616 "msgpack-python" ,
17- "requests==2.20.0" ,
18- ])
17+ "requests==2.24.0" ,
18+ ]
19+ )
Original file line number Diff line number Diff line change 1+ """Library for working with the stitch client in python"""
2+
3+ __version__ = "0.8.0.post1"
You can’t perform that action at this time.
0 commit comments