~chicharreros/magicicada-protocol/+git/main:initial-release-python3-only

Last commit made on 2022-06-17
Get this branch:
git clone -b initial-release-python3-only https://git.launchpad.net/~chicharreros/magicicada-protocol/+git/main

Branch merges

Branch information

Name:
initial-release-python3-only
Repository:
lp:~chicharreros/magicicada-protocol/+git/main

Recent commits

ddb5daa... by Natalia Bidart

Initial release supporting only Python 3

0adc6db... by Natalia Bidart

Merge pull request #5 from chicharreros/port-to-py3

Migration to Python 3

0b71bf9... by Natalia Bidart

Restore original behavior for `Request.cleanup`

4a46315... by Natalia Bidart

Do not run workflow against Python 3.10

Getting:

New python executable in /home/runner/work/magicicada-protocol/magicicada-protocol/.env/bin/python3
Also creating executable in /home/runner/work/magicicada-protocol/magicicada-protocol/.env/bin/python
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 714, in main
    create_environment(home_dir,
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 944, in create_environment
    py_executable = os.path.abspath(install_python(
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 1466, in install_python
    fix_local_scheme(home_dir, symlink)
  File "/usr/lib/python3/dist-packages/virtualenv.py", line 1549, in fix_local_scheme
    if sysconfig._get_default_scheme() == 'posix_local':
AttributeError: module 'sysconfig' has no attribute '_get_default_scheme'. Did you mean: 'get_default_scheme'?
Running virtualenv with interpreter /opt/hostedtoolcache/Python/3.10.4/x64/bin/python3
Makefile:38: recipe for target '/home/runner/work/magicicada-protocol/magicicada-protocol/.env/bin/activate' failed
make: *** [/home/runner/work/magicicada-protocol/magicicada-protocol/.env/bin/activate] Error 1
Error: Process completed with exit code 2.

46675fc... by Natalia Bidart

Cleanup and test_context fixed by downgrading Twisted.

7d7362a... by Natalia Bidart

Do not fail fast when running test for multiple pythons

335ab0f... by Natalia Bidart

Migration to Python 3

- Ran 2to3 on every python file
- Ran tests and fixed code accordingly

50bc77c... by Natalia Bidart

Merge pull request #7 from chicharreros/misc-tests-improvements

Test cleanup in preparation for Python 3 port.

614074c... by Natalia Bidart

Test cleanup in preparation for Python 3 port.

a9a485d... by Natalia Bidart

Merge pull request #6 from chicharreros/update-copyright-headers

Updated copyright headers