{"action":"created","comment":{"url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/pulls/comments/102036582","pull_request_review_id":22779732,"id":102036582,"diff_hunk":"@@ -36,75 +36,81 @@ pipもpipコマンドでアップグレードを行えます。まずは、現\n \n    $ sudo pip install pip --upgrade\n \n-**以下はpipコマンドのサンプルです** ここでは実行しないで、以下のpyvenv環境を作ってから実行しましょう。\n+**以下はpipコマンドのサンプルです** ここでは実行しないで、以下のvenv環境を作ってから実行しましょう。\n pip コマンドを利用すると以下の様なコマンドで簡単にサードパーティ製パッケージをインストールできます。\n \n .. code-block:: sh\n    :caption: pipコマンドでrequestsをインストール\n \n    $ pip install requests\n \n-次に、独立したPython環境を構築する **pyvenv** について説明します。\n+次に、独立したPython環境を構築する **venv** モジュールについて説明します。\n \n .. admonition:: コラム: Windows環境でpip実行時にエラーになる場合\n \n     PATH環境変数を確認し、Python3 をインストールしているPATHが設定されているかどうか確認してみてください。\n \n-\n-pyvenvとは\n+venvとは\n ==========\n \n 複数のプロジェクトで異なるサードパーティ製パッケージを利用することはよくあります。その場合、プロジェクトごとにインストールするパッケージを切り替えられると便利です。\n \n-pyvenvはプロジェクトごとに隔離されたPython環境を作成します。\n+venvはプロジェクトごとに隔離されたPython環境を作成します。\n \n-pyvenv環境の作成\n-----------------\n+.. note:: pyvenvスクリプトについて\n \n-pyvenv環境を作成します。\n+ 以前は pyvenvスクリプトを利用したPython実行環境の作成方法を紹介していました。\n \n-作成には ``pyvenv`` コマンドを使用します。引数には作成する環境の名前を指定します。\n+ ですが、Python3.6 から pyvenvスクリプトが非推奨となり将来的に削除されるので一部説明を変更をいたしました。\n+ 今後は「python -m venv」を利用するようにしてください。\n+\n+ pyvenvスクリプトが廃止になった経緯は下記URLを参照してください。\n+\n+ https://docs.python.org/dev/whatsnew/3.6.html#id8","path":"source/textbook/6_pyvenv.rst","position":59,"original_position":61,"commit_id":"2344240eaaf25784b36559eb8f055241a82b34ff","original_commit_id":"2344240eaaf25784b36559eb8f055241a82b34ff","user":{"login":"shimizukawa","id":151623,"avatar_url":"https://avatars.githubusercontent.com/u/151623?v=3","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"body":"URLはjpのほうがいいかなー\r\nhttp://docs.python.jp/3/whatsnew/3.6.html#id8","created_at":"2017-02-20T15:04:55Z","updated_at":"2017-02-20T15:04:55Z","html_url":"https://github.com/pyconjp/pycamp.pycon.jp/pull/76#discussion_r102036582","pull_request_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/pulls/comments/102036582"},"html":{"href":"https://github.com/pyconjp/pycamp.pycon.jp/pull/76#discussion_r102036582"},"pull_request":{"href":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/pulls/76","id":107022187,"html_url":"https://github.com/pyconjp/pycamp.pycon.jp/pull/76","diff_url":"https://github.com/pyconjp/pycamp.pycon.jp/pull/76.diff","patch_url":"https://github.com/pyconjp/pycamp.pycon.jp/pull/76.patch","issue_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/issues/76","number":76,"state":"open","locked":false,"title":"Deprecated pyvenv since Python3.6.","user":{"login":"tell-k","id":26263,"avatar_url":"https://avatars.githubusercontent.com/u/26263?v=3","gravatar_id":"","url":"https://api.github.com/users/tell-k","html_url":"https://github.com/tell-k","followers_url":"https://api.github.com/users/tell-k/followers","following_url":"https://api.github.com/users/tell-k/following{/other_user}","gists_url":"https://api.github.com/users/tell-k/gists{/gist_id}","starred_url":"https://api.github.com/users/tell-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tell-k/subscriptions","organizations_url":"https://api.github.com/users/tell-k/orgs","repos_url":"https://api.github.com/users/tell-k/repos","events_url":"https://api.github.com/users/tell-k/events{/privacy}","received_events_url":"https://api.github.com/users/tell-k/received_events","type":"User","site_admin":false},"body":"Python Boot Camp Text の著者のみなさん。こんにちわ。\r\n\r\npyvenvスクリプトは Python3.6 から非推奨で将来的に削除されます。\r\nhttps://docs.python.org/dev/whatsnew/3.6.html#id8\r\n\r\nそのためこれからPythonを学ぶ入門者には pyvenvスクリプトを勧めない方が良いだろうと思い pull-reqいたしました。\"python3 -m venv\" は Python3.5 でも使えるので、こちらを使うようにテキストを修正いたしました。\r\n\r\nお時間があるときにでも見てもらえたら嬉しいです。\r\nよろしくお願いいたします。 ","created_at":"2017-02-20T14:59:21Z","updated_at":"2017-02-20T15:04:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b501f8b6db662319fa4635309653e9e90c46a94","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/pulls/76/commits","review_comments_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/pulls/76/comments","review_comment_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/issues/76/comments","statuses_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/statuses/2344240eaaf25784b36559eb8f055241a82b34ff","head":{"label":"tell-k:remove-pyvenv","ref":"remove-pyvenv","sha":"2344240eaaf25784b36559eb8f055241a82b34ff","user":{"login":"tell-k","id":26263,"avatar_url":"https://avatars.githubusercontent.com/u/26263?v=3","gravatar_id":"","url":"https://api.github.com/users/tell-k","html_url":"https://github.com/tell-k","followers_url":"https://api.github.com/users/tell-k/followers","following_url":"https://api.github.com/users/tell-k/following{/other_user}","gists_url":"https://api.github.com/users/tell-k/gists{/gist_id}","starred_url":"https://api.github.com/users/tell-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tell-k/subscriptions","organizations_url":"https://api.github.com/users/tell-k/orgs","repos_url":"https://api.github.com/users/tell-k/repos","events_url":"https://api.github.com/users/tell-k/events{/privacy}","received_events_url":"https://api.github.com/users/tell-k/received_events","type":"User","site_admin":false},"repo":{"id":82564200,"name":"pycamp.pycon.jp","full_name":"tell-k/pycamp.pycon.jp","owner":{"login":"tell-k","id":26263,"avatar_url":"https://avatars.githubusercontent.com/u/26263?v=3","gravatar_id":"","url":"https://api.github.com/users/tell-k","html_url":"https://github.com/tell-k","followers_url":"https://api.github.com/users/tell-k/followers","following_url":"https://api.github.com/users/tell-k/following{/other_user}","gists_url":"https://api.github.com/users/tell-k/gists{/gist_id}","starred_url":"https://api.github.com/users/tell-k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tell-k/subscriptions","organizations_url":"https://api.github.com/users/tell-k/orgs","repos_url":"https://api.github.com/users/tell-k/repos","events_url":"https://api.github.com/users/tell-k/events{/privacy}","received_events_url":"https://api.github.com/users/tell-k/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tell-k/pycamp.pycon.jp","description":"Python Boot Camp テキスト","fork":true,"url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp","forks_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/forks","keys_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/teams","hooks_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/hooks","issue_events_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/issues/events{/number}","events_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/events","assignees_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/assignees{/user}","branches_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/branches{/branch}","tags_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/tags","blobs_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/git/refs{/sha}","trees_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/statuses/{sha}","languages_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/languages","stargazers_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/stargazers","contributors_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/contributors","subscribers_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/subscribers","subscription_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/subscription","commits_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/commits{/sha}","git_commits_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/git/commits{/sha}","comments_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/comments{/number}","issue_comment_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/issues/comments{/number}","contents_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/contents/{+path}","compare_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/merges","archive_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/downloads","issues_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/issues{/number}","pulls_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/pulls{/number}","milestones_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/milestones{/number}","notifications_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/labels{/name}","releases_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/releases{/id}","deployments_url":"https://api.github.com/repos/tell-k/pycamp.pycon.jp/deployments","created_at":"2017-02-20T14:01:16Z","updated_at":"2017-02-20T14:01:18Z","pushed_at":"2017-02-20T14:47:55Z","git_url":"git://github.com/tell-k/pycamp.pycon.jp.git","ssh_url":"git@github.com:tell-k/pycamp.pycon.jp.git","clone_url":"https://github.com/tell-k/pycamp.pycon.jp.git","svn_url":"https://github.com/tell-k/pycamp.pycon.jp","homepage":"http://pycamp.pycon.jp/","size":595,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pyconjp:master","ref":"master","sha":"e2f51087a3fa193f3b814237098dc681b7e71a10","user":{"login":"pyconjp","id":12948002,"avatar_url":"https://avatars.githubusercontent.com/u/12948002?v=3","gravatar_id":"","url":"https://api.github.com/users/pyconjp","html_url":"https://github.com/pyconjp","followers_url":"https://api.github.com/users/pyconjp/followers","following_url":"https://api.github.com/users/pyconjp/following{/other_user}","gists_url":"https://api.github.com/users/pyconjp/gists{/gist_id}","starred_url":"https://api.github.com/users/pyconjp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyconjp/subscriptions","organizations_url":"https://api.github.com/users/pyconjp/orgs","repos_url":"https://api.github.com/users/pyconjp/repos","events_url":"https://api.github.com/users/pyconjp/events{/privacy}","received_events_url":"https://api.github.com/users/pyconjp/received_events","type":"Organization","site_admin":false},"repo":{"id":56951971,"name":"pycamp.pycon.jp","full_name":"pyconjp/pycamp.pycon.jp","owner":{"login":"pyconjp","id":12948002,"avatar_url":"https://avatars.githubusercontent.com/u/12948002?v=3","gravatar_id":"","url":"https://api.github.com/users/pyconjp","html_url":"https://github.com/pyconjp","followers_url":"https://api.github.com/users/pyconjp/followers","following_url":"https://api.github.com/users/pyconjp/following{/other_user}","gists_url":"https://api.github.com/users/pyconjp/gists{/gist_id}","starred_url":"https://api.github.com/users/pyconjp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyconjp/subscriptions","organizations_url":"https://api.github.com/users/pyconjp/orgs","repos_url":"https://api.github.com/users/pyconjp/repos","events_url":"https://api.github.com/users/pyconjp/events{/privacy}","received_events_url":"https://api.github.com/users/pyconjp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pyconjp/pycamp.pycon.jp","description":"Python Boot Camp テキスト","fork":false,"url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp","forks_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/forks","keys_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/teams","hooks_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/hooks","issue_events_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/issues/events{/number}","events_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/events","assignees_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/assignees{/user}","branches_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/branches{/branch}","tags_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/tags","blobs_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/git/refs{/sha}","trees_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/statuses/{sha}","languages_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/languages","stargazers_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/stargazers","contributors_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/contributors","subscribers_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/subscribers","subscription_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/subscription","commits_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/commits{/sha}","git_commits_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/git/commits{/sha}","comments_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/comments{/number}","issue_comment_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/issues/comments{/number}","contents_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/contents/{+path}","compare_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/merges","archive_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/downloads","issues_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/issues{/number}","pulls_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/pulls{/number}","milestones_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/milestones{/number}","notifications_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/labels{/name}","releases_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/releases{/id}","deployments_url":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/deployments","created_at":"2016-04-24T03:22:07Z","updated_at":"2016-12-19T05:01:23Z","pushed_at":"2017-02-20T14:59:22Z","git_url":"git://github.com/pyconjp/pycamp.pycon.jp.git","ssh_url":"git@github.com:pyconjp/pycamp.pycon.jp.git","clone_url":"https://github.com/pyconjp/pycamp.pycon.jp.git","svn_url":"https://github.com/pyconjp/pycamp.pycon.jp","homepage":"http://pycamp.pycon.jp/","size":595,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":13,"forks":6,"open_issues":13,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/pulls/76"},"html":{"href":"https://github.com/pyconjp/pycamp.pycon.jp/pull/76"},"issue":{"href":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/issues/76"},"comments":{"href":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/pyconjp/pycamp.pycon.jp/statuses/2344240eaaf25784b36559eb8f055241a82b34ff"}}}}
{"actor":{"display_login":"shimizukawa"}}