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

Python 3.12 complains a lot about invalid escape sequences #55

Open
craigemery opened this issue Sep 25, 2024 · 0 comments
Open

Python 3.12 complains a lot about invalid escape sequences #55

craigemery opened this issue Sep 25, 2024 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@craigemery
Copy link

I installed the develop version from a git clone.

tip of tree was:

❯ git -C ~/src/github/devopshq/teamcity log
commit 8a08fcdee46fba32c5fae7fcd84942985d70f761 (HEAD -> develop, origin/develop, origin/HEAD)
Author: Aleksey <[email protected]>
Date:   Mon Nov 20 18:07:59 2023 +0700

    Add how to release section

And when I installed it using setup.py I saw lots of warnings.
The same ones I see when using it.

Python3.12 was installed on my Linux aarch64 machine using pyenv

❯ python3 --version
Python 3.12.6
❯ python3 -uc 'from dohq_teamcity import TeamCity'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2237: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2238: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2431: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2432: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2522: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2523: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2612: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2613: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:3424: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:3425: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2237: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2238: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2431: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2432: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2522: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2523: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2612: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:2613: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:3424: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_api.py:3425: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:5638: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:5639: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:5826: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:5827: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:5914: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:5915: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:6789: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:6790: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:9070: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:9071: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:5638: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:5639: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:5826: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:5827: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:5914: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:5915: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:6789: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:6790: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:9070: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/build_type_api.py:9071: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/debug_api.py:1839: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/debug_api.py:1840: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/debug_api.py:2569: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/debug_api.py:2570: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/debug_api.py:2642: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/debug_api.py:2643: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/debug_api.py:1839: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/debug_api.py:1840: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/debug_api.py:2569: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/debug_api.py:2570: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/debug_api.py:2642: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/debug_api.py:2643: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:675: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:676: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:857: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:858: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:942: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:943: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:1228: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:1229: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:1396: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:1397: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:675: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:676: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:857: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:858: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:942: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:943: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:1228: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:1229: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:1396: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/server_api.py:1397: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:668: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:669: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:850: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:851: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:935: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:936: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:1019: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:1020: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:1332: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:1333: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:668: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:669: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:850: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:851: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:935: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:936: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:1019: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:1020: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:1332: SyntaxWarning: invalid escape sequence '\/'
/home/craeme02/.pyenv/versions/3.12.6/lib/python3.12/site-packages/dohq_teamcity-1.0.9-py3.12.egg/dohq_teamcity/api/vcs_root_instance_api.py:1333: SyntaxWarning: invalid escape sequence '\/'
@allburov allburov added help wanted Extra attention is needed good first issue Good for newcomers labels Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Development

No branches or pull requests

2 participants