Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump psycorg and sqlalchemy, add python 3.8, 3.9 to test matrix #754

Merged
merged 2 commits into from
Dec 4, 2020

Conversation

Pliner
Copy link
Member

@Pliner Pliner commented Dec 4, 2020

Min supported version of psycorg is 2.8.4 because of python 3.8

@Pliner Pliner changed the title Bump psycorg and sqlalchemy, add python 3.8, 3.8 to test matrix Bump psycorg and sqlalchemy, add python 3.8, 3.9 to test matrix Dec 4, 2020
@codecov
Copy link

codecov bot commented Dec 4, 2020

Codecov Report

Merging #754 (39dc63f) into master (1ccd947) will increase coverage by 0.16%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #754      +/-   ##
==========================================
+ Coverage   92.47%   92.64%   +0.16%     
==========================================
  Files          13       13              
  Lines        1489     1563      +74     
  Branches      176      179       +3     
==========================================
+ Hits         1377     1448      +71     
- Misses         79       82       +3     
  Partials       33       33              
Impacted Files Coverage Δ
aiopg/utils.py 80.00% <0.00%> (-1.64%) ⬇️
aiopg/pool.py 100.00% <0.00%> (ø)
aiopg/cursor.py 100.00% <0.00%> (ø)
aiopg/sa/engine.py 100.00% <0.00%> (ø)
aiopg/transaction.py 98.29% <0.00%> (+0.02%) ⬆️
aiopg/sa/result.py 91.70% <0.00%> (+0.20%) ⬆️
aiopg/sa/connection.py 85.87% <0.00%> (+0.24%) ⬆️
aiopg/connection.py 91.10% <0.00%> (+0.51%) ⬆️
aiopg/sa/transaction.py 84.00% <0.00%> (+0.66%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1ccd947...39dc63f. Read the comment docs.

@Pliner Pliner force-pushed the bump-psycorg-and-sqlalchemy branch from 68df8da to 7a67b5d Compare December 4, 2020 11:43
@@ -56,7 +55,7 @@ async def test_pool_context_manager_timeout(pg_params, loop):
async with aiopg.create_pool(**pg_params, minsize=1,
maxsize=1) as pool:
cursor_ctx = await pool.cursor()
with pytest.raises(psycopg2.ProgrammingError):
with pytest.warns(ResourceWarning):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asvetlov I'm pretty unsure about this, but it looks like this behaviour has changed because of psycorg update to 2.8+. Do you have any thoughts about this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't monitor psycopg2 changelist but this line looks good to me if the test passes.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks.

PS I had tried to figure out why it could happened from change log, but failed to do so 😢

@Pliner Pliner force-pushed the bump-psycorg-and-sqlalchemy branch from 7a67b5d to b5ff78e Compare December 4, 2020 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants