Skip to content

Commit

Permalink
Misc Updates (ethereum#65)
Browse files Browse the repository at this point in the history
* Tweaks to release process

* Drop python 3.6
  • Loading branch information
kclowes authored Sep 19, 2022
1 parent 24c805c commit 99af2f4
Show file tree
Hide file tree
Showing 8 changed files with 144 additions and 131 deletions.
8 changes: 4 additions & 4 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ current_version = 0.1.0-alpha.0
commit = True
tag = True
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(-(?P<stage>[^.]*)\.(?P<devnum>\d+))?
serialize =
serialize =
{major}.{minor}.{patch}-{stage}.{devnum}
{major}.{minor}.{patch}

[bumpversion:part:stage]
optional_value = stable
first_value = stable
values =
values =
alpha
beta
stable

[bumpversion:part:devnum]

[bumpversion:file:setup.py]
search = version='{current_version}',
replace = version='{new_version}',
search = version="{current_version}",
replace = version="{new_version}",

14 changes: 5 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,15 @@ jobs:
docs:
<<: *common
docker:
- image: cimg/python:3.6
- image: cimg/python:3.7
environment:
TOXENV: docs
lint:
<<: *common
docker:
- image: cimg/python:3.6
- image: cimg/python:3.7
environment:
TOXENV: lint
py36-core:
<<: *common
docker:
- image: cimg/python:3.6
environment:
TOXENV: py36-core
py37-core:
<<: *common
docker:
Expand Down Expand Up @@ -90,6 +84,8 @@ workflows:
jobs:
- docs
- lint
- py36-core
- py37-core
- py38-core
- py39-core
- py310-core
- pypy3-core
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ lint:

lint-roll:
isort --recursive <MODULE_NAME> tests
black {toxinidir}/<MODULE_NAME> {toxinidir}/tests setup.py
$(MAKE) lint

test:
Expand All @@ -48,12 +49,14 @@ build-docs:

validate-docs:
python ./newsfragments/validate_files.py
towncrier --draft --version preview
towncrier build --draft --version preview

docs: build-docs validate-docs
check-docs: build-docs validate-docs

docs: check-docs
open docs/_build/html/index.html

linux-docs: build-docs
linux-docs: check-docs
xdg-open docs/_build/html/index.html

check-bump:
Expand Down
Loading

0 comments on commit 99af2f4

Please sign in to comment.