-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix deprecation warning * moved circle ci workflow and added jobs * added changelog and version bump * updated yml daily build config * updated build job * updated build step * updatec context * updatec context --------- Co-authored-by: Tim Shih <[email protected]>
- Loading branch information
1 parent
c452563
commit 34e4052
Showing
6 changed files
with
222 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,206 @@ | ||
version: 2.1 | ||
|
||
jobs: | ||
build_test_v3_4: | ||
docker: | ||
- image: circleci/python:3.4 | ||
steps: | ||
- checkout | ||
- run: | ||
name: 'Setup virtual env' | ||
command: | | ||
python3 -m venv stitch-client | ||
source stitch-client/bin/activate | ||
pip install 'pip<19.2' 'setuptools<51.0.0' | ||
pip install . | ||
- run: | ||
name: 'run tests' | ||
command: | | ||
source stitch-client/bin/activate | ||
python -m unittest | ||
build_test_v3_5: | ||
docker: | ||
- image: cimg/python:3.5 | ||
steps: | ||
- checkout | ||
- run: | ||
name: 'Setup virtual env' | ||
command: | | ||
python3 -m venv stitch-client | ||
source stitch-client/bin/activate | ||
pip install 'pip<19.2' 'setuptools<51.0.0' | ||
pip install . | ||
- run: | ||
name: 'run tests' | ||
command: | | ||
source stitch-client/bin/activate | ||
python -m unittest | ||
build_test_v3_6: | ||
docker: | ||
- image: cimg/python:3.6 | ||
steps: | ||
- checkout | ||
- run: | ||
name: 'Setup virtual env' | ||
command: | | ||
python3 -m venv stitch-client | ||
source stitch-client/bin/activate | ||
pip install 'pip<19.2' 'setuptools<51.0.0' | ||
pip install . | ||
- run: | ||
name: 'run tests' | ||
command: | | ||
source stitch-client/bin/activate | ||
python -m unittest | ||
build_test_v3_7: | ||
docker: | ||
- image: cimg/python:3.7 | ||
steps: | ||
- checkout | ||
- run: | ||
name: 'Setup virtual env' | ||
command: | | ||
python3 -m venv stitch-client | ||
source stitch-client/bin/activate | ||
pip install 'pip<19.2' 'setuptools<51.0.0' | ||
pip install . | ||
- run: | ||
name: 'run tests' | ||
command: | | ||
source stitch-client/bin/activate | ||
python -m unittest | ||
build_test_v3_8: | ||
docker: | ||
- image: cimg/python:3.8 | ||
steps: | ||
- checkout | ||
- run: | ||
name: 'Setup virtual env' | ||
command: | | ||
python3 -m venv stitch-client | ||
source stitch-client/bin/activate | ||
pip install 'pip<19.2' 'setuptools<51.0.0' | ||
pip install . | ||
- run: | ||
name: 'run tests' | ||
command: | | ||
source stitch-client/bin/activate | ||
python -m unittest | ||
build_test_v3_9: | ||
docker: | ||
- image: cimg/python:3.9 | ||
steps: | ||
- checkout | ||
- run: | ||
name: 'Setup virtual env' | ||
command: | | ||
python3 -m venv stitch-client | ||
source stitch-client/bin/activate | ||
pip install 'pip<19.2' 'setuptools<51.0.0' | ||
pip install . | ||
- run: | ||
name: 'run tests' | ||
command: | | ||
source stitch-client/bin/activate | ||
python -m unittest | ||
build: | ||
docker: | ||
- image: cimg/python:3.10 | ||
steps: | ||
- checkout | ||
- run: | ||
name: 'Setup virtual env' | ||
command: | | ||
python3 -m venv stitch-client | ||
source stitch-client/bin/activate | ||
pip install pip setuptools | ||
pip install . | ||
- run: | ||
name: 'run tests' | ||
command: | | ||
source stitch-client/bin/activate | ||
python -m unittest | ||
build_test_v3_11: | ||
docker: | ||
- image: cimg/python:3.11 | ||
steps: | ||
- checkout | ||
- run: | ||
name: 'Setup virtual env' | ||
command: | | ||
python3 -m venv stitch-client | ||
source stitch-client/bin/activate | ||
pip install pip setuptools | ||
pip install . | ||
- run: | ||
name: 'run tests' | ||
command: | | ||
source stitch-client/bin/activate | ||
python -m unittest | ||
build_test_v3_12: | ||
docker: | ||
- image: cimg/python:3.12 | ||
steps: | ||
- checkout | ||
- run: | ||
name: 'Setup virtual env' | ||
command: | | ||
python3 -m venv stitch-client | ||
source stitch-client/bin/activate | ||
pip install pip setuptools | ||
pip install . | ||
- run: | ||
name: 'run tests' | ||
command: | | ||
source stitch-client/bin/activate | ||
python -m unittest | ||
workflows: | ||
version: 2 | ||
commit: | ||
jobs: | ||
- build: | ||
context: circleci-user | ||
- build_test_v3_4: | ||
context: circleci-user | ||
- build_test_v3_5: | ||
context: circleci-user | ||
- build_test_v3_6: | ||
context: circleci-user | ||
- build_test_v3_7: | ||
context: circleci-user | ||
- build_test_v3_8: | ||
context: circleci-user | ||
- build_test_v3_9: | ||
context: circleci-user | ||
- build_test_v3_11: | ||
context: circleci-user | ||
- build_test_v3_12: | ||
context: circleci-user | ||
build_daily: | ||
triggers: | ||
- schedule: | ||
cron: "0 13 * * *" | ||
filters: | ||
branches: | ||
only: | ||
- master | ||
jobs: | ||
- build: | ||
context: circleci-user | ||
- build_test_v3_4: | ||
context: circleci-user | ||
- build_test_v3_5: | ||
context: circleci-user | ||
- build_test_v3_6: | ||
context: circleci-user | ||
- build_test_v3_7: | ||
context: circleci-user | ||
- build_test_v3_8: | ||
context: circleci-user | ||
- build_test_v3_9: | ||
context: circleci-user | ||
- build_test_v3_11: | ||
context: circleci-user | ||
- build_test_v3_12: | ||
context: circleci-user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Changelog | ||
|
||
## 1.1.0 | ||
* Removed deprecations failures for python 3.10+[#19](https://github.com/stitchdata/python-stitch-client/pull/19) | ||
|
||
## 1.0.1 | ||
* Relaxed Requests dependency verison[#15](https://github.com/stitchdata/python-stitch-client/pull/15) | ||
|
||
## 1.0.0 | ||
* Add region kwarg to Client, Update Readme [#12](https://github.com/stitchdata/python-stitch-client/pull/12) | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
setup( | ||
name="stitchclient", | ||
version="1.0.1", | ||
version="1.1.0", | ||
description="A Stitch API client for Python", | ||
author="Stitch", | ||
author_email="[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters