Skip to content

Commit

Permalink
Fixed a PyPI constraint where the package can only be installed on py…
Browse files Browse the repository at this point in the history
…thon ==3.9.6
  • Loading branch information
chylli-deriv committed Jun 9, 2022
1 parent e7a85eb commit 5a8802d
Show file tree
Hide file tree
Showing 6 changed files with 132 additions and 131 deletions.
40 changes: 29 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
version: 2
version: 2.1
default: &default
parameters:
python-version:
description: the Python version we want to test with
type: string
default: "3.9.6"
docker:
- image: cimg/python:<< parameters.python-version >>
environment: # environment variables for primary container
PIPENV_VENV_IN_PROJECT: true
jobs:
test:
docker:
- image: circleci/python:3.9.6
environment: # environment variables for primary container
PIPENV_VENV_IN_PROJECT: true
<<: *default
steps: # steps that comprise the `build` job
- add_ssh_keys:
fingerprints:
Expand All @@ -28,10 +35,7 @@ jobs:
command: |
make coverage
docs-build-deploy:
docker:
- image: circleci/python:3.9.6
environment: # environment variables for primary container
PIPENV_VENV_IN_PROJECT: true
<<: *default
steps:
- add_ssh_keys:
fingerprints:
Expand All @@ -53,10 +57,24 @@ jobs:
git config --local user.name "gh-pages deploy bot"
make gh-pages
workflows:
version: 2
build:
jobs:
- test
- test:
matrix: &matrix
parameters:
python-version:
- "3.9.6"
- "3.9.8"
- "3.9.9"
- "3.9.10"
- "3.9.11"
- "3.9.12"
- "3.9.13"
- "3.10.0"
- "3.10.1"
- "3.10.2"
- "3.10.3"
- "3.10.4"
- docs-build-deploy:
filters:
branches:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ venv/
.idea
dist
.coverage
build
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Changelog

## 0.1.1

### Fixed:
Fixed a PyPI constraint where the package can only be installed on python ==3.9.6


## 0.1.0

Initial version.

3 changes: 0 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ pytest-mock = "*"
pytest-asyncio = "*"
pdoc3 = "*"
coverage = "===4.5.4"

[requires]
python_version = "3.9.6"
199 changes: 86 additions & 113 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5a8802d

Please sign in to comment.