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

Drop support for Python 3.5 #4386

Merged
merged 1 commit into from
Sep 24, 2020

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Sep 23, 2020

Fixes #4367

Python 3.5 is EOL as of September 13 2020. CI testing will now only be
done against Python 3.6 and 3.8.

@codecov
Copy link

codecov bot commented Sep 23, 2020

Codecov Report

Merging #4386 into develop will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #4386      +/-   ##
===========================================
- Coverage    79.22%   79.22%   -0.00%     
===========================================
  Files          475      475              
  Lines        34826    34822       -4     
===========================================
- Hits         27588    27583       -5     
- Misses        7238     7239       +1     
Flag Coverage Δ
#django 73.07% <100.00%> (-<0.01%) ⬇️
#sqlalchemy 72.29% <100.00%> (-<0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
aiida/common/hashing.py 94.90% <100.00%> (-0.20%) ⬇️
aiida/engine/daemon/runner.py 79.32% <0.00%> (-3.44%) ⬇️

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 59ebaf4...78157f2. Read the comment docs.

Copy link
Member

@ltalirz ltalirz left a comment

Choose a reason for hiding this comment

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

thanks @sphuber !

just one question

@@ -30,7 +30,7 @@
'graphviz': 'python-graphviz',
}

CONDA_IGNORE = ['pyblake2', r'.*python_version == \"3\.5\"']
CONDA_IGNORE = ['pyblake2']
Copy link
Member

@ltalirz ltalirz Sep 24, 2020

Choose a reason for hiding this comment

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

didn't you remove pyblake2 from the dependency list?
i.e. can't this list be empty?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess, it is a backport from hashlib.blake2b which become part of stdlib from Python 3.6. So this would then also apply to conda, wouldn't it? Do you want me to also remove the CONDA_IGNORE variable and associated code, or we just leave it as an empty list.

Copy link
Member

@ltalirz ltalirz Sep 24, 2020

Choose a reason for hiding this comment

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

Do you want me to also remove the CONDA_IGNORE variable and associated code, or we just leave it as an empty list.

Up to you - it's difficult for me to guess how likely it is that we will need such exceptions again. Maybe more likely than not.

If you decide to leave it in for the moment, perhaps add a comment explaining what it does and setting an ultimatum in 6? months after which it can be removed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@csadorf I think this is your code. What do you prefer? I leave it in for now?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd prefer to leave it in.

Python 3.5 is EOL as of September 13 2020. CI testing will now only be
done against Python 3.6 and 3.8.
Copy link
Member

@ltalirz ltalirz left a comment

Choose a reason for hiding this comment

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

thanks!

@sphuber sphuber merged commit 559abba into aiidateam:develop Sep 24, 2020
@sphuber sphuber deleted the fix/4367/drop-python-3.5 branch September 24, 2020 12:52
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.

drop python 3.5 support
3 participants