Python3 support?
まだ誰も着手していません。
評価
調査の方向性
Python 3.4 で pip install unirest を実行して失敗を再現し、その後 setup.py と poster 依存関係、特に Python 2 の print 構文で失敗する poster/streaminghttp.py を調査します。Python 3.4 でこの SyntaxError を発生させずにパッケージを正常にインストールできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
In Python3.4, I run
$ pip install unirest
I get the following error:
Downloading/unpacking unirest
Downloading Unirest-1.1.6.tar.gz
Running setup.py (path:C:\Users\David\AppData\Local\Temp\pip_build_David\unirest\setup.py) egg_info for package unirest
warning: no files found matching '*.txt' under directory 'docs'
Downloading/unpacking poster>=0.8.1 (from unirest)
Downloading poster-0.8.1.tar.gz
Running setup.py (path:C:\Users\David\AppData\Local\Temp\pip_build_David\poster\setup.py) egg_info for package poster
Traceback (most recent call last):
File "", line 17, in
File "C:\Users\David\AppData\Local\Temp\pip_build_David\poster\setup.py", line 2, in
import poster
File "C:\Users\David\AppData\Local\Temp\pip_build_David\poster\poster__init__.py", line 29, in
import poster.streaminghttp
File "C:\Users\David\AppData\Local\Temp\pip_build_David\poster\poster\streaminghttp.py", line 61
print "send:", repr(value)
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 17, in
File "C:\Users\David\AppData\Local\Temp\pip_build_David\poster\setup.py", line 2, in
import poster
File "C:\Users\David\AppData\Local\Temp\pip_build_David\poster\poster__init__.py", line 29, in
import poster.streaminghttp
File "C:\Users\David\AppData\Local\Temp\pip_build_David\poster\poster\streaminghttp.py", line 61
print "send:", repr(value)
^
SyntaxError: invalid syntax
PS: I'm running Windows 8.1, although this looks like a problem in python2 vs python3 syntax.
- 主要言語
- Python
- スター
- 431
- フォーク
- 103
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Kong/unirest-python のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 25/100
Kong/unirest-python#48 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
Kong/unirest-python#47 · コメント 3 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
Kong/unirest-python#46 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Kong/unirest-python#45 ·
-
Import Errorオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
Kong/unirest-python#43 · コメント 1 件 ·
Kong/unirest-python の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
jxxghp/MoviePilot#7699 ·
メンテナーはふだん 1 日以内に返信
-
bug TAG: unit tests
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
learningequality/ricecooker#898 ·
-
next
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
j3ko/agent-plugins#80 ·
メンテナーはふだん 1 日以内に返信
-
bug:unconfirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Heroic-Games-Launcher/HeroicGamesLauncher#6187 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 82/100
BCStudentSoftwareDevTeam/cas#491 ·
メンテナーはふだん 8 日以内に返信