Skip to content

Commit ea9c039

Browse files
authored
release 1.0.0 (#592)
* modification in tests * removing obsolete examples * removing old style (yield from) in docs * rename psycopg2 to psycopg2-binary in docs * added note in docs about going to python3.5.2+ * interim fix due to issues #533 * add docs example and style * add isort and deleted obsolete non-asynchronous cursor iteration * fix async iter for python 3.5 * add readthedocs.yml * travis allow failures python:nightly * travis allow failures python:nightly * travis allow failures python:nightly * travis allow failures python:nightly * travis remove docker cache * fix code style yml * refactor * fix docs * normalized version c to rc pep440 * edit docs * refactor sa connection * fix travis * fix travis * fix travis * fix test * Update aiopg/cursor.py Co-Authored-By: Boryslav Larin <[email protected]> * Update docs/one_cursor.rst Co-Authored-By: Boryslav Larin <[email protected]> * Update .readthedocs.yml Co-Authored-By: Sviatoslav Sydorenko <[email protected]> * Update CONTRIBUTING.rst Co-Authored-By: Sviatoslav Sydorenko <[email protected]> * Update CONTRIBUTING.rst Co-Authored-By: Sviatoslav Sydorenko <[email protected]> * Update CONTRIBUTING.rst Co-Authored-By: Sviatoslav Sydorenko <[email protected]> * Update CONTRIBUTING.rst Co-Authored-By: Sviatoslav Sydorenko <[email protected]> * Update CONTRIBUTING.rst Co-Authored-By: Sviatoslav Sydorenko <[email protected]> * Update CONTRIBUTING.rst Co-Authored-By: Sviatoslav Sydorenko <[email protected]> * Update CONTRIBUTING.rst Co-Authored-By: Sviatoslav Sydorenko <[email protected]> * Update CONTRIBUTING.rst Co-Authored-By: Sviatoslav Sydorenko <[email protected]> * Update CONTRIBUTING.rst Co-Authored-By: Sviatoslav Sydorenko <[email protected]> * remove mogrify * add changes * python 3.8 and update requirements * python 3.8 and update requirements * python 3.8 and update requirements
1 parent a9a25e0 commit ea9c039

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1416
-868
lines changed

.isort.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[settings]
2+
line_length=79
3+
multi_line_output=3
4+
include_trailing_comma=True
5+
indent=' '
6+
sections=FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER

.readthedocs.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
3+
build:
4+
image: latest
5+
6+
python:
7+
version: 3.7
8+
install:
9+
- requirements: requirements.txt
10+
- method: pip
11+
path: .
12+
system_packages: true

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ script:
3232
- make cov-ci
3333
- python setup.py check -rms
3434

35+
matrix:
36+
allow_failures:
37+
- python: "nightly"
38+
3539
env:
3640
global:
3741
- PYTHON=python
@@ -58,4 +62,4 @@ deploy:
5862
on:
5963
tags: true
6064
all_branches: true
61-
python: 3.5
65+
python: 3.7

ACKS.txt

Lines changed: 0 additions & 18 deletions
This file was deleted.

CHANGES.txt

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,119 +1,120 @@
1-
CHANGES
2-
-------
1+
1.0.0 (2019-09-20)
2+
* Removal of an asynchronous call in favor of issues # 550
3+
* Big editing of documentation and minor bugs #534
34

45
0.16.0 (2019-01-25)
56
^^^^^^^^^^^^^^^^^^^
67

7-
* Fix select priority name (#525)
8+
* Fix select priority name `#525 <https://github.com/aio-libs/aiopg/issues/525>`_
89

9-
* Rename `psycopg2` to `psycopg2-binary` to fix deprecation warning (#507)
10+
* Rename `psycopg2` to `psycopg2-binary` to fix deprecation warning `#507 <https://github.com/aio-libs/aiopg/issues/507>`_
1011

11-
* Fix #189 hstore when using ReadDictCursor (#512)
12+
* Fix `#189 <https://github.com/aio-libs/aiopg/issues/189>`_ hstore when using ReadDictCursor `#512 <https://github.com/aio-libs/aiopg/issues/512>`_
1213

13-
* close cannot be used while an asynchronous query is underway (#452)
14+
* close cannot be used while an asynchronous query is underway `#452 <https://github.com/aio-libs/aiopg/issues/452>`_
1415

15-
* sqlalchemy adapter trx begin allow transaction_mode (#498)
16+
* sqlalchemy adapter trx begin allow transaction_mode `#498 <https://github.com/aio-libs/aiopg/issues/498>`_
1617

1718

1819
0.15.0 (2018-08-14)
1920
^^^^^^^^^^^^^^^^^^^
2021

21-
* Support Python 3.7 (#437)
22+
* Support Python 3.7 `#437 <https://github.com/aio-libs/aiopg/issues/437>`_
2223

2324
0.14.0 (2018-05-10)
2425
^^^^^^^^^^^^^^^^^^^
2526

26-
* Add ``get_dialect`` func to have ability to pass ``json_serializer`` #451
27+
* Add ``get_dialect`` func to have ability to pass ``json_serializer`` `#451 <https://github.com/aio-libs/aiopg/issues/451>`_
2728

2829
0.13.2 (2018-01-03)
2930
^^^^^^^^^^^^^^^^^^^
3031

31-
* Fixed compatibility with SQLAlchemy 1.2.0 #412
32+
* Fixed compatibility with SQLAlchemy 1.2.0 `#412 <https://github.com/aio-libs/aiopg/issues/412>`_
3233

33-
* Added support for transaction isolation levels #219
34+
* Added support for transaction isolation levels `#219 <https://github.com/aio-libs/aiopg/issues/219>`_
3435

3536

3637
0.13.1 (2017-09-10)
3738
^^^^^^^^^^^^^^^^^^^
3839

39-
* Added connection poll recycling logic #373
40+
* Added connection poll recycling logic `#373 <https://github.com/aio-libs/aiopg/issues/373>`_
4041

4142

4243
0.13.0 (2016-12-02)
4344
^^^^^^^^^^^^^^^^^^^
4445

45-
* Add `async with` support to `.begin_nested()` #208
46+
* Add `async with` support to `.begin_nested()` `#208 <https://github.com/aio-libs/aiopg/issues/208>`_
4647

47-
* Fix connection.cancel() #212 #223
48+
* Fix connection.cancel() `#212 <https://github.com/aio-libs/aiopg/issues/212>`_ `#223 <https://github.com/aio-libs/aiopg/issues/223>`_
4849

49-
* Raise informative error on unexpected connection closing #191
50+
* Raise informative error on unexpected connection closing `#191 <https://github.com/aio-libs/aiopg/issues/191>`_
5051

51-
* Added support for python types columns issues #217
52+
* Added support for python types columns issues `#217 <https://github.com/aio-libs/aiopg/issues/217>`_
5253

53-
* Added support for default values in SA table issues #206
54+
* Added support for default values in SA table issues `#206 <https://github.com/aio-libs/aiopg/issues/206>`_
5455

5556

5657
0.12.0 (2016-10-09)
5758
^^^^^^^^^^^^^^^^^^^
5859

59-
* Add an on_connect callback parameter to pool #141
60+
* Add an on_connect callback parameter to pool `#141 <https://github.com/aio-libs/aiopg/issues/141>`_
6061

61-
* Fixed connection to work under both windows and posix based systems #142
62+
* Fixed connection to work under both windows and posix based systems `#142 <https://github.com/aio-libs/aiopg/issues/142>`_
6263

6364
0.11.0 (2016-09-12)
6465
^^^^^^^^^^^^^^^^^^^
6566

66-
* Immediately remove callbacks from a closed file descriptor #139
67+
* Immediately remove callbacks from a closed file descriptor `#139 <https://github.com/aio-libs/aiopg/issues/139>`_
6768

6869
* Drop Python 3.3 support
6970

7071
0.10.0 (2016-07-16)
7172
^^^^^^^^^^^^^^^^^^^
7273

73-
* Refactor tests to use dockerized Postgres server #107
74+
* Refactor tests to use dockerized Postgres server `#107 <https://github.com/aio-libs/aiopg/issues/107>`_
7475

75-
* Reduce default pool minsize to 1 #106
76+
* Reduce default pool minsize to 1 `#106 <https://github.com/aio-libs/aiopg/issues/106>`_
7677

77-
* Explicitly enumerate packages in setup.py #85
78+
* Explicitly enumerate packages in setup.py `#85 <https://github.com/aio-libs/aiopg/issues/85>`_
7879

79-
* Remove expired connections from pool on acquire #116
80+
* Remove expired connections from pool on acquire `#116 <https://github.com/aio-libs/aiopg/issues/116>`_
8081

81-
* Don't crash when Connection is GC'ed #124
82+
* Don't crash when Connection is GC'ed `#124 <https://github.com/aio-libs/aiopg/issues/124>`_
8283

8384
* Use loop.create_future() if available
8485

8586
0.9.2 (2016-01-31)
8687
^^^^^^^^^^^^^^^^^^
8788

8889
* Make pool.release return asyncio.Future, so we can wait on it in
89-
`__aexit__` #102
90+
`__aexit__` `#102 <https://github.com/aio-libs/aiopg/issues/102>`_
9091

91-
* Add support for uuid type #103
92+
* Add support for uuid type `#103 <https://github.com/aio-libs/aiopg/issues/103>`_
9293

9394
0.9.1 (2016-01-17)
9495
^^^^^^^^^^^^^^^^^^
9596

96-
* Documentation update #101
97+
* Documentation update `#101 <https://github.com/aio-libs/aiopg/issues/101>`_
9798

9899
0.9.0 (2016-01-14)
99100
^^^^^^^^^^^^^^^^^^
100101

101-
* Add async context managers for transactions #91
102+
* Add async context managers for transactions `#91 <https://github.com/aio-libs/aiopg/issues/91>`_
102103

103-
* Support async iterator in ResultProxy #92
104+
* Support async iterator in ResultProxy `#92 <https://github.com/aio-libs/aiopg/issues/92>`_
104105

105-
* Add async with for engine #90
106+
* Add async with for engine `#90 <https://github.com/aio-libs/aiopg/issues/90>`_
106107

107108
0.8.0 (2015-12-31)
108109
^^^^^^^^^^^^^^^^^^
109110

110-
* Add PostgreSQL notification support #58
111+
* Add PostgreSQL notification support `#58 <https://github.com/aio-libs/aiopg/issues/58>`_
111112

112-
* Support pools with unlimited size #59
113+
* Support pools with unlimited size `#59 <https://github.com/aio-libs/aiopg/issues/59>`_
113114

114-
* Cancel current DB operation on asyncio timeout #66
115+
* Cancel current DB operation on asyncio timeout `#66 <https://github.com/aio-libs/aiopg/issues/66>`_
115116

116-
* Add async with support for Pool, Connection, Cursor #88
117+
* Add async with support for Pool, Connection, Cursor `#88 <https://github.com/aio-libs/aiopg/issues/88>`_
117118

118119
0.7.0 (2015-04-22)
119120
^^^^^^^^^^^^^^^^^^

CONTRIBUTING.rst

Lines changed: 40 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,33 @@ Instruction for contributors
44
Developer environment
55
---------------------
66

7-
First clone the git repo::
7+
First clone the git repo:
88

9-
$ git clone [email protected]:aio-libs/aiopg.git
10-
$ cd aiopg
9+
.. code-block:: shell
10+
11+
$ git clone [email protected]:aio-libs/aiopg.git
12+
$ cd aiopg
1113
1214
After that you need to create and activate a virtual environment. I
1315
recommend using :term:`virtualenvwrapper` but just :term:`virtualenv` or
14-
:term:`venv` will also work. For ``virtualenvwrapper``::
16+
:term:`venv` will also work. For :term:`virtualenvwrapper`:
17+
18+
.. code-block:: shell
19+
20+
$ mkvirtualenv aiopg -p `which python3`
1521
16-
$ mkvirtualenv aiopg -p `which python3`
22+
For `venv` (for example; put the directory wherever you want):
1723

18-
For ``venv`` (for example; put the directory wherever you want)::
24+
.. code-block:: shell
1925
20-
$ python3 -m venv ../venv_directory
21-
$ source ../venv_directory/bin/activate
26+
$ python3 -m venv ../venv_directory
27+
$ source ../venv_directory/bin/activate
2228
23-
Just as when doing a normal install, you need the :term:`libpq` library::
29+
Just as when doing a normal install, you need the :term:`libpq` library:
2430

25-
$ sudo apt-get install libpq-dev
31+
.. code-block:: shell
32+
33+
$ sudo apt-get install libpq-dev
2634
2735
**UPD**
2836

@@ -35,37 +43,47 @@ No local Postgres server needed.
3543

3644
In the virtual environment you need to install *aiopg* itself and some
3745
additional development tools (the development tools are needed for running
38-
the test suite and other development tasks)::
46+
the test suite and other development tasks)
47+
48+
.. code-block:: shell
3949
40-
$ pip install -Ue .
41-
$ pip install -Ur requirements.txt
50+
$ pip install -Ue .
51+
$ pip install -Ur requirements.txt
4252
4353
That's all.
4454

45-
To run all of the *aiopg* tests do::
55+
To run all of the *aiopg* tests do:
4656

47-
$ make test
57+
.. code-block:: shell
58+
59+
$ make test
4860
4961
This command runs :term:`pep8` and :term:`pyflakes` first and then executes
5062
the *aiopg* unit tests.
5163

5264

5365
When you are working on solving an issue you will probably want to run
54-
some specific test, not the whole suite::
66+
some specific test, not the whole suite:
67+
68+
.. code-block:: shell
5569
56-
$ py.test -s -k test_initial_empty
70+
$ py.test -s -k test_initial_empty
5771
5872
For debug sessions I prefer to use :term:`ipdb`, which is installed
59-
as part of the development tools. Insert the following line into your
73+
as part of the development tools. Insert the following line into your
6074
code in the place where you want to start interactively debugging the
61-
execution process::
75+
execution process:
6276

63-
import ipdb; ipdb.set_trace()
77+
.. code-block:: py3
78+
79+
import ipdb; ipdb.set_trace()
6480
6581
The library is reasonably well covered by tests. There is a make
66-
target for generating the coverage report::
82+
target for generating the coverage report:
83+
84+
.. code-block:: shell
6785
68-
$ make cov
86+
$ make cov
6987
7088
7189
Contribution

CONTRIBUTORS.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
* Alexander <[email protected]>
2+
* Eugene Krevenets <[email protected]>
3+
* Fantix King
4+
* Lena Kryvonos
5+
* Low Kian Seong <[email protected]>
6+
* Marco Paolini
7+
* Michal Kuffa
8+
* Nikolay Novik <[email protected]>
9+
* Petr Viktorin <[email protected]>
10+
* R\. David Murray <[email protected]>
11+
* Ryan Hodge
12+
* Theron Luhn <[email protected]>

MAINTAINERS.txt

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
Maintainers
2-
-----------
3-
4-
The list of *aiopg* maintainers.
5-
6-
Andrew Svetlov <[email protected]>
7-
Alexey Popravka <[email protected]>
8-
Alexey Firsov <[email protected]>
1+
* Andrew Svetlov <[email protected]>
2+
* Alexey Firsov <[email protected]>
3+
* Alexey Popravka <[email protected]>

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
include LICENSE.txt
22
include CHANGES.txt
33
include README.rst
4+
include MAINTAINERS.txt
45
graft aiopg
56
global-exclude *.pyc
67
exclude tests/**

0 commit comments

Comments
 (0)