Skip to content

Release v0.3.2 - #151

Merged
bittner merged 1 commit into
masterfrom
release/v0.3.2
Sep 24, 2020
Merged

Release v0.3.2#151
bittner merged 1 commit into
masterfrom
release/v0.3.2

Conversation

@bittner

@bittner bittner commented Sep 24, 2020

Copy link
Copy Markdown
Member

This is to prepare a simple, automated release, which we will trigger by pushing a Git tag to the master branch once this PR is merged.

We will then be able to witness how the newly added feature of pushing the build artifacts (Windows EXE and GNU/Linux ELF binary) to the GitHub repository's Releases takes place.

@bittner bittner self-assigned this Sep 24, 2020
@bittner
bittner requested a review from cool-RR September 24, 2020 23:22
@bittner
bittner merged commit 4c1cc42 into master Sep 24, 2020
@bittner
bittner deleted the release/v0.3.2 branch September 24, 2020 23:31
@bittner

bittner commented Sep 24, 2020

Copy link
Copy Markdown
Member Author

@cclauss, @cool-RR, I pushed a Git tag to master, which triggered the new build process. The binaries are attached, wrapped in zip archives, but they are not published in the Releases section of our repository. 😟 We need to find out why.

More results

The downloaded GNU/Linux ELF binary does not have executable permissions after being extracted from the ZIP file. The PythonTurtle ELF binary doesn't find wxPython, even though it is installed.

$ chmod +x PythonTurtle
$ ./PythonTurtle 
wxPython doesn't seem to be installed. You need to install the appropriate prerequisites for your operating system.
Please consult the installation instructions in the README at https://github.com/PythonTurtle/PythonTurtle#installation
$ dpkg -l python3-wxgtk4.0
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                           Version              Architecture         Description
+++-==============================-====================-====================-=================================================================
ii  python3-wxgtk4.0               4.0.1+dfsg-2         amd64                Python 3 interface to the wxWidgets Cross-platform C++ GUI toolki

Publishing the new version on PyPI fails with GitHub Actions, currently, Travis CI still seems to succeed though. The new version can successfully be installed and run using usual Python installation methods.

$ python3 -m pip install PythonTurtle
Collecting PythonTurtle
  Downloading https://files.pythonhosted.org/packages/5e/df/b83ffcf5626d59af2247d257cb252996df0559f2e07bec3de1bad9a619f0/PythonTurtle-0.3.2-py3-none-any.whl (518kB)
    100% |████████████████████████████████| 522kB 257kB/s 
Installing collected packages: PythonTurtle
Successfully installed PythonTurtle-0.3.2
$ PythonTurtle

Can one of you download and try the Windows EXE, to find out whether is works?

@cclauss

cclauss commented Sep 25, 2020

Copy link
Copy Markdown
Contributor

#152 Install wxPython and make the ELF executable should fix the Linux ELF. wxPython needs to be properly installed before PyInstaller runs. Also, chmod +x is done on the ELF.

@cool-RR

cool-RR commented Sep 25, 2020

Copy link
Copy Markdown
Member

@bittner I tried the Windows EXE now. It doesn't show any window and it exits immediately.

@cclauss

cclauss commented Sep 25, 2020

Copy link
Copy Markdown
Contributor

Did you try the .exe from #153? I do not have a Windows box.

@cool-RR

cool-RR commented Sep 25, 2020

Copy link
Copy Markdown
Member

I tried the one that Peter linked to above. Is that a different one?

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.

3 participants