python / python/planet

Python3 Compatibility

Aperta
#211 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Lingua principale
Python
Stelle
144
Fork
197
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

REPORT A BUG/PROBLEM


Hi, I want to notify you of a bug/problem that is happening on the Planet.

I am using:
O.S: N/A
Browser: N/A
Platform: N/A

Problem

Python 2 is going away. This code is not compatible with Python3.

Details

This is more of a request for information than a bug. What is the path forward with this code as Python2 goes away? Is there any interest in moving this to 2.7 with compatibility for 3.4+?

Is it worthwhile to migrate this fork of planet over to python3 or is a new platform in the wings to replace this one?

Upon glancing at different parts of this code:
feedparser.py:
I know that feedparser has been maintained and has 10+ years of development over the one included in this repo. It also has python3 support

compat_logging:
Is there any reason the built-in logging won't work?

htmltmpl:
some work has been done in a github fork of the sourceforge repo

planet:
Main project looks dead. Has been rewritten in a number of different languages. The version included seems to have very little code commited to it. There is a later version in the main projects repo that includes TESTS. Perhaps rebase on that?

I would be happy to take some of this on if there is some willingness to accept pull requests. Any thoughts?

Thanks.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia esaminando i problemi di compatibilità identificati in feedparser.py, compat_logging, htmltmpl e nel codice di planet, quindi confrontali con la versione successiva del progetto principale che include i test. L’issue non definisce un ambito di migrazione specifico né criteri di accettazione, quindi conferma la direzione del progetto e una versione di Python supportata prima di identificare cosa significherebbe completare il lavoro.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
backend
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.