tonycpsu / streamglob

A console media browser designed to facilitate live and time-shifted viewing of online content.
GNU General Public License v3.0
35 stars 10 forks source link

Python 3.6 support #5

Open tonycpsu opened 5 years ago

tonycpsu commented 5 years ago

Python 2.x support isn't in the cards, but Python 3.6 should be doable. dataclasses are available as a backport to 3.6. Some of the asyncio APIs have changed, but the changes should be manageable.

jgshier commented 5 years ago

Do you have a good path for upgrading to 3.7?

tonycpsu commented 5 years ago

@jgshier, I don't think I understand the question. You're asking for how to install Python 3.7 on your platform?

jgshier commented 5 years ago

Yes and No, Ubuntu 18.04 I get 3.6.7. I can install 3.7 but it seems I have issues with pip3 then.

On Thu, Apr 11, 2019 at 10:25 AM tonycpsu notifications@github.com wrote:

@jgshier https://github.com/jgshier, I don't think I understand the question. You're asking for how to install Python 3.7 on your platform?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/tonycpsu/streamglob/issues/5#issuecomment-482215416, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuJSDJ3_zk-jSZUc7m3n5KFyRQ6lW2Zks5vf3AMgaJpZM4cUECE .

-- Mahalo, Jon Shier

tonycpsu commented 5 years ago

I use pyenv to run multiple isolated Python versions on my system. It takes a little setting up, but if you're having issues related to upgrading your operating system's Python version, you could try that.

I don't do much with Ubuntu so I can't really suggest what could be happening there.

tonycpsu commented 5 years ago

So, I finally got around to setting up a Python 3.6 virtual environment and... I think it works? The dataclasses-json requirement seems to install the dataclasses backport without any additional changes.

Will wait for some confirmation before closing.

jgshier commented 5 years ago

Just install a fresh ubuntu vm, 3.6.7,

$ git clone https://github.com/tonycpsu/streamglob $ cd streamglob $ pip install -r requirements.txt

Collecting instagram_private_api@ git+https://github.com/ping/instagram_private_api (from streamglob==0.0.11.dev0->-r requirements.txt (line 1)) Could not find a version that satisfies the requirement instagram_private_api@ git+https://github.com/ping/instagram_private_api (from streamglob==0.0.11.dev0->-r requirements.txt (line 1)) (from versions: ) No matching distribution found for instagram_private_api@ git+https://github.com/ping/instagram_private_api (from streamglob==0.0.11.dev0->-r requirements.txt (line 1))

Looks like requirements just has a . ?