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.5 instead of Python 3.6 is found via DSM Package Center for DS918+ #3841

Closed
programatix opened this issue Dec 31, 2019 · 11 comments
Closed

Comments

@programatix
Copy link

For new Package Requests, see the guidelines

Setup

Package Name: python3
Package Version: v3.6.8-9

NAS Model: DS918+
NAS Architecture: apollolake
DSM version: 6.2.2-24922 Update 4

Expected behavior

The DSM Package Center should find and install Python 3.6.8-9

Actual behavior

The DSM Package Center only sees Python 3.5.6-8

Steps to reproduce

1. Run Package Center
2. Select Python3 by Allan Clark
3. Newest version found is 3.5.6-8

Manual install

I manually downloaded Python 3.6.8-9 from https://synocommunity.com/package/python3 using the link https://packages.synocommunity.com/python3/9/python3.v9.f4458[apollolake-avoton-braswell-broadwell-broadwellnk-bromolow-cedarview-denverton-dockerx64-grantley-kvmx64-x86-x86_64].spk and manually install it using Package Center. It installed fine and Python 3.6.8-9 works without any issue.

It now shows as below. Note the installed version and the newest version.
image

@ymartin59
Copy link
Contributor

Packages for Python 3.6 has been "unpublished" because bugs with cross-compilation. Only x64 variant is functional. Work is in progress: #3833

@t3kg8m3r
Copy link

t3kg8m3r commented Mar 4, 2020

Same issue on a Synology DS1817+, Package Center only sees Python3 3.5.6-8 instead 3.6.8-9

@ymartin59 ymartin59 added this to In progress in Python 3.7 Apr 5, 2020
@NateEaton
Copy link

Same issue on a Synology DS216play. Package Center shows Python 3.5.6-8. After ssh into server, executing /volume1/@appstore/python3/bin/python3 --version and /usr/local/python3/bin/python3 --version both return 3.5.6. Another issue however is that the path to Python 3 (/usr/local/python3/bin) is not added to the PATH environment variable so unable to reference python3 at command line without explicit path.

@ymartin59
Copy link
Contributor

@NateEaton As an additional reminder: NO, Python 3.6 is not published yet as cross-compiled applications fail to run #3944 and NO, Python 3 will never by added to PATH: #3899

@hgy59
Copy link
Contributor

hgy59 commented Apr 14, 2020

It's confusing that on this page https://synocommunity.com/package/python3 you can download Python3 3.6.8-9. On the Overview Page https://synocommunity.com/packages Python 3 is labeled with v3.5.6-8. It looks like version 3.6.8-9 is disabled for the Package-Download by Diskstations but not for manually downloads.
I would expect to hide inactive Versions on the detail pages - or to mark such versions as Inactive.
Overview:
Python3_overview
Details:
Python3_details

@ymartin59
Copy link
Contributor

@hgy59 I confirm. Good idea but "active" flag is on per-architecture build. SynoCommunity/spkrepo#41

@t3kg8m3r
Copy link

t3kg8m3r commented Aug 1, 2020

any update on this? Will Python 3.5 on SynoCommunity get updated from 3.5.6 to 3.7.8 or 3.8.5 ?

@ymartin59
Copy link
Contributor

Trouble is not the Python package version itself but also related applications where wheels requirements have to be built for the same version.
Python 3.7.7 should come, as soon as applications have been updated: beet, homeassistant, rdiff-backup, borgbackup

@webpatrick
Copy link

When is python 3.8 coming? The next version of HomeAssistant core needs it

@hgy59
Copy link
Contributor

hgy59 commented Dec 23, 2020

#4287

@hgy59
Copy link
Contributor

hgy59 commented Dec 23, 2020

Python v3.7.7-15 is active and Python 3.8 is WIP

@hgy59 hgy59 closed this as completed Dec 23, 2020
Python 3.7 automation moved this from In progress to Done Dec 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Python 3.7
  
Done
Development

No branches or pull requests

6 participants