Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2024-02-25 00:00:00Z and 2024-02-26 00:00:00Z
Avatar
before: $ python ./scripts/cmd5.py /Users/chillerdragon/Desktop/git/teeworlds/./scripts/cmd5.py:11: SyntaxWarning: invalid escape sequence '\/' d = re.sub("\/\*.*?\*/".encode(), "".encode(), d) # remove /* */ comments #define GAME_NETVERSION_HASH "e9800998ecf8427e" after: $ python ./scripts/cmd5.py #define GAME_NETVERSION_HASH "e9800998ecf8427e"
Avatar
The help page advertises options such as -m and -s but none of these can be used because the script refuses to launch if more than 2 arguments are passed ``` $ python scripts/make_release.py -h Usage: make_release.py VERSION PLATFORM [options] VERSION - Version number PLATFORM - Target platform (f.e. linux_x86, linux_x86_64, macos, src, win32, win64) Options: -h, --help show this help message and exit -l URL_LANGUAGES, --url-languages=URL_LANGUAGES ...
Avatar
The correct way in python to indent is using spaces not tabs https://peps.python.org/pep-0008/#code-lay-out Code editors with python support might follow that style guide over the current indendation of the file. For example vim 9.1 on my machine inserts spaces and thus breaks the python code due to IndentationError
Avatar
On my mac creating a release fails with the following error $ python scripts/make_release.py master macos cleaning target download and extract languages trying http://github.com/teeworlds/teeworlds-translation/archive/master.zip couldn't download languages The actual error is hidden by the try block in twlib.py removing that shows the following issue ``` File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/urllib/request.py", line 1392, in https_op...
Avatar

what and why

The GitHub actions macOS CI pipeline is failing on this step if python 3.12 is used. (which is not the case on current master but at some point it would be nice to update to this or a newer version https://github.com/teeworlds/teeworlds/pull/3223) https://github.com/teeworlds/teeworlds/blob/a1911c8f7d8458fb4076ef8e7651e8ef5e91ab3e/.github/workflows/build.yaml#L161 ``` 0s Run sudo python3 scripts/make_release.py master macos Traceback (most recent call last): File ...
Exported 6 message(s)