Skip to content

Commit

Permalink
Create new release
Browse files Browse the repository at this point in the history
  • Loading branch information
twmr committed Mar 30, 2022
1 parent e72528d commit 7654658
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 7 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/pypi-upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: pypi_upload

on:
release:
types: [published]

jobs:
build:
name: PyPI Upload
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v3

- name: Install latest pip, build, twine
run: |
python -m pip install --upgrade --disable-pip-version-check pip
python -m pip install --upgrade build twine
- name: Build wheel and source distributions
run: |
python -m build
- name: Upload to PyPI via Twine
env:
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
twine upload --verbose -u '__token__' dist/*
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
###
###

## [0.4.0] - 2022-03-30
###
- Drop python2.7 (Fixes #14)
- Require pytest>=6.0
- Drop python3.5 and python3.6
- Require pytest>=7.0

## [0.3.1] - 2020-08-05
###
Expand Down
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def read(fname):

setup(
name="pytest-sphinx",
version="0.3.1",
version="0.4.0",
author="Thomas Hisch",
author_email="[email protected]",
maintainer="Thomas Hisch",
Expand All @@ -27,21 +27,19 @@ def read(fname):
),
long_description=read("README.rst"),
py_modules=["pytest_sphinx"],
install_requires=["pytest>=6.0.0"],
install_requires=["pytest>=7.0.0"],
classifiers=[
"Development Status :: 4 - Beta",
"Framework :: Pytest",
"Intended Audience :: Developers",
"Topic :: Software Development :: Testing",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: OS Independent",
"License :: OSI Approved :: BSD License",
],
Expand Down

0 comments on commit 7654658

Please sign in to comment.