Skip to content

Commit 78543a1

Browse files
authored
Fix PYPI upload (#762)
* Fix incorrect markup * Fix `long_description_content_type` missing * Check dists * Bump version
1 parent 5ed6fd5 commit 78543a1

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ jobs:
6161
- name: Make dists
6262
run:
6363
python setup.py sdist bdist_wheel
64+
- name: Check dists
65+
run:
66+
twine check dist/*
6467
- name: PyPI upload
6568
env:
6669
TWINE_USERNAME: __token__

CHANGES.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
1.1.0b0 (2020-12-07)
1+
1.1.0b1 (2020-12-07)
22
^^^^^^^^^^^^^^^^^^^^
33

4-
* Fix on_connect multiple call on acquire `#552 https://github.com/aio-libs/aiopg/pull/552`_
4+
* Fix on_connect multiple call on acquire `#552 <https://github.com/aio-libs/aiopg/pull/552>`_
55

6-
* Fix python 3.8 warnings `#622 https://github.com/aio-libs/aiopg/pull/642`_
6+
* Fix python 3.8 warnings `#622 <https://github.com/aio-libs/aiopg/pull/642>`_
77

8-
* Bump minimum psycopg version to 2.8.4 `#754 https://github.com/aio-libs/aiopg/pull/754`_
8+
* Bump minimum psycopg version to 2.8.4 `#754 <https://github.com/aio-libs/aiopg/pull/754>`_
99

10-
* Fix Engine.release method to release connection in any way `#756 https://github.com/aio-libs/aiopg/pull/756`_
10+
* Fix Engine.release method to release connection in any way `#756 <https://github.com/aio-libs/aiopg/pull/756>`_
1111

1212

1313
1.0.0 (2019-09-20)

aiopg/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
'Connection', 'Cursor', 'Pool', 'version', 'version_info',
2222
'DEFAULT_TIMEOUT', 'IsolationLevel', 'Transaction')
2323

24-
__version__ = '1.1.0b0'
24+
__version__ = '1.1.0b1'
2525

2626
version = __version__ + ' , Python ' + sys.version
2727

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def read_changelog(path='CHANGES.txt'):
5656
version=read_version(),
5757
description='Postgres integration with asyncio.',
5858
long_description='\n\n'.join((read('README.rst'), read_changelog())),
59+
long_description_content_type='text/x-rst',
5960
classifiers=classifiers,
6061
platforms=['macOS', 'POSIX', 'Windows'],
6162
author='Andrew Svetlov',

0 commit comments

Comments
 (0)