This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2015年07月14日 08:07 by scls, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue24633.patch | rbcollins, 2015年07月14日 10:17 | Rename to README.txt | review | |
| Messages (10) | |||
|---|---|---|---|
| msg246721 - (view) | Author: Sébastien Celles (scls) | Date: 2015年07月14日 08:07 | |
Hello, the package name "readme" conflicts with Python installed site-packages/README file on case-insensitive filesystems (Mac OS X). https://github.com/pypa/readme/issues/26 https://github.com/mgedmin/restview/issues/30 https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/AGHXzB1sN0I I wonder if README file should be be renamed README.rst or README.txt or README.md to avoid this issue or if readme package should be renamed. Kind regards |
|||
| msg246723 - (view) | Author: Ned Deily (ned.deily) * (Python committer) | Date: 2015年07月14日 08:37 | |
I agree with IIan's comments you cited in https://groups.google.com/a/continuum.io/forum/#!topic/anaconda/AGHXzB1sN0I. Python has been installing the README file in site-packages for a very long time and there have been case-insensitive file systems for a very long time, including, but not limited to, the default case-insensitive variant of HFS on OS X. So this seems to be an issue for the readme package, not for Python. Even if the Python-installed README file were installed under a different name in future release, it wouldn't solve the problem for trying to install the readme package under current and past Python releases. CC-ing Donald, as the author of readme, for his comments. |
|||
| msg246725 - (view) | Author: Robert Collins (rbcollins) * (Python committer) | Date: 2015年07月14日 10:12 | |
So, README is a valid package name. readme conflicting with README on case insensitive filesystems is a special case, but the general problem remains. We've no particular reason to use README rather than e.g. README.txt, which would open with a much more reasonable program on Windows, and would also remove this problem. |
|||
| msg246729 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2015年07月14日 13:24 | |
I agree with Robert: renaming the file to README.txt would be a good idea regardless to enable easily opening the file with a GUI editor and as a bonus removes any change of conflict with a package name. The patch looks good to me. |
|||
| msg246731 - (view) | Author: Ned Deily (ned.deily) * (Python committer) | Date: 2015年07月14日 15:33 | |
I'm +0 on the name change but, again, it wouldn't solve the conflict problem for potential users of the readme package until 3.6. |
|||
| msg246732 - (view) | Author: Ned Deily (ned.deily) * (Python committer) | Date: 2015年07月14日 15:37 | |
(And such a change would only be appropriate in a feature release, as it would complicate things for existing release installers and downstream distributions, etc.) |
|||
| msg246733 - (view) | Author: Brett Cannon (brett.cannon) * (Python committer) | Date: 2015年07月14日 16:45 | |
+1 on the file renaming. There really shouldn't be any files we put into site-packages that don't have a dot or some other symbol that we would never support as a file name for importing. |
|||
| msg249029 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2015年08月23日 23:47 | |
New changeset d90a65014c42 by Robert Collins in branch 'default': Issue #24633: site-packages/README -> README.txt. https://hg.python.org/cpython/rev/d90a65014c42 |
|||
| msg249031 - (view) | Author: Robert Collins (rbcollins) * (Python committer) | Date: 2015年08月23日 23:50 | |
Applied to 3.6 only (since I don't want to disrupt the 3.5 release train, and think that making packagers adjust on a point release would be mean). |
|||
| msg253392 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2015年10月23日 20:24 | |
New changeset 742aefb5ca46 by Steve Dower in branch 'default': Issue #24633: Removes automatic rename of site-packages/README since README.txt is now committed. https://hg.python.org/cpython/rev/742aefb5ca46 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:18 | admin | set | github: 68821 |
| 2015年10月23日 20:24:22 | python-dev | set | messages: + msg253392 |
| 2015年08月23日 23:50:03 | rbcollins | set | status: open -> closed resolution: fixed messages: + msg249031 stage: patch review -> resolved |
| 2015年08月23日 23:47:16 | python-dev | set | nosy:
+ python-dev messages: + msg249029 |
| 2015年07月14日 16:45:40 | brett.cannon | set | nosy:
+ brett.cannon messages: + msg246733 |
| 2015年07月14日 16:38:04 | brett.cannon | set | title: Not a directory: '//anaconda/lib/python2.7/site-packages/readme/__about__.py' -> README file installed into site-packages conflicts with package named "readme" |
| 2015年07月14日 15:37:07 | ned.deily | set | stage: patch review messages: + msg246732 versions: - Python 3.4, Python 3.5 |
| 2015年07月14日 15:33:09 | ned.deily | set | messages: + msg246731 |
| 2015年07月14日 13:24:53 | ronaldoussoren | set | messages: + msg246729 |
| 2015年07月14日 10:17:25 | rbcollins | set | files:
+ issue24633.patch keywords: + patch |
| 2015年07月14日 10:12:53 | rbcollins | set | nosy:
+ rbcollins messages: + msg246725 versions: + Python 3.5, Python 3.6 |
| 2015年07月14日 08:37:26 | ned.deily | set | nosy:
+ dstufft messages: + msg246723 |
| 2015年07月14日 08:07:26 | scls | create | |