Removed deprecation warnings#358
Conversation
|
@thierryba @jdufresne What deprecation warnings is this removing? I'm not seeing any warnings in the CI for other PRs, nor in my own instance of python 3.6. I'm not really opposed to these changes either way, but I can't replicate the issue. |
|
Take a look at the release notes for Python 3.6: https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
|
|
@pganssle I too was having trouble consistently reproducing the warnings, so I dug into this a bit deeper. It looks like something with #!/bin/bash
set -e
set -x
git clean -dxff
ROOT=$(git rev-parse --show-toplevel)
NAME=$(basename ${ROOT})
VENV=~/.venv/${NAME}
rm -rf ${VENV}
python36 -m venv ${VENV}
. ${VENV}/bin/activate
python -b -Wall setup.py testAfter running this, I see the following at the top of my test output: |
|
Python issue: https://bugs.python.org/issue30091 |
|
@jdufresne Ah, interesting. That kinda seems like they are going to make non-backwards-compatible changes to Python at some point in the future, but I'd heard that there "won't be a Python 4.0". I guess we'll see if they break SemVer or the idea of keeping everything on Python 3. Thanks for the info. |
No description provided.