You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Miki Tebeka (JIRA)" <ji...@apache.org> on 2011/05/06 21:28:03 UTC
[jira] [Created] (AVRO-817) Add __version__ to avro/__init__.py
Add __version__ to avro/__init__.py
-----------------------------------
Key: AVRO-817
URL: https://issues.apache.org/jira/browse/AVRO-817
Project: Avro
Issue Type: Improvement
Components: python
Affects Versions: 1.5.1
Reporter: Miki Tebeka
Currently, there is no way to know which version of avro is installed on my machine. Add a __version__ string to avro/__init__.py
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AVRO-817) Add __version__ to avro/__init__.py
Posted by "Philip Zeyliger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030150#comment-13030150 ]
Philip Zeyliger commented on AVRO-817:
--------------------------------------
That approach is a bit of an anti-pattern: you want to be able to point your python path towards the python directory; replacing stuff at build-time is very uncommon in python-land.
> Add __version__ to avro/__init__.py
> -----------------------------------
>
> Key: AVRO-817
> URL: https://issues.apache.org/jira/browse/AVRO-817
> Project: Avro
> Issue Type: Improvement
> Components: python
> Affects Versions: 1.5.1
> Reporter: Miki Tebeka
> Assignee: Miki Tebeka
> Attachments: version.patch
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> Currently, there is no way to know which version of avro is installed on my machine. Add a __version__ string to avro/__init__.py
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AVRO-817) Add __version__ to avro/__init__.py
Posted by "Miki Tebeka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Miki Tebeka updated AVRO-817:
-----------------------------
Status: Patch Available (was: Open)
> Add __version__ to avro/__init__.py
> -----------------------------------
>
> Key: AVRO-817
> URL: https://issues.apache.org/jira/browse/AVRO-817
> Project: Avro
> Issue Type: Improvement
> Components: python
> Affects Versions: 1.5.1
> Reporter: Miki Tebeka
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> Currently, there is no way to know which version of avro is installed on my machine. Add a __version__ string to avro/__init__.py
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AVRO-817) Add __version__ to avro/__init__.py
Posted by "Miki Tebeka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Miki Tebeka updated AVRO-817:
-----------------------------
Attachment: version.patch
Patch for adding __version__
> Add __version__ to avro/__init__.py
> -----------------------------------
>
> Key: AVRO-817
> URL: https://issues.apache.org/jira/browse/AVRO-817
> Project: Avro
> Issue Type: Improvement
> Components: python
> Affects Versions: 1.5.1
> Reporter: Miki Tebeka
> Attachments: version.patch
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> Currently, there is no way to know which version of avro is installed on my machine. Add a __version__ string to avro/__init__.py
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AVRO-817) Add __version__ to avro/__init__.py
Posted by "Miki Tebeka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Miki Tebeka updated AVRO-817:
-----------------------------
Status: Open (was: Patch Available)
> Add __version__ to avro/__init__.py
> -----------------------------------
>
> Key: AVRO-817
> URL: https://issues.apache.org/jira/browse/AVRO-817
> Project: Avro
> Issue Type: Improvement
> Components: python
> Affects Versions: 1.5.1
> Reporter: Miki Tebeka
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> Currently, there is no way to know which version of avro is installed on my machine. Add a __version__ string to avro/__init__.py
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AVRO-817) Add __version__ to avro/__init__.py
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030146#comment-13030146 ]
Doug Cutting commented on AVRO-817:
-----------------------------------
It would be nice if we didn't have to update this by hand with each release. The single place we'd like to update is share/VERSION.txt. The lang/py/build.xml currently replaces the @VERSION@ in setup.py with the contents of share/VERSION.txt. Could we get the version for __init__.py from either setup.py or via replacement as with setup.py?
> Add __version__ to avro/__init__.py
> -----------------------------------
>
> Key: AVRO-817
> URL: https://issues.apache.org/jira/browse/AVRO-817
> Project: Avro
> Issue Type: Improvement
> Components: python
> Affects Versions: 1.5.1
> Reporter: Miki Tebeka
> Attachments: version.patch
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> Currently, there is no way to know which version of avro is installed on my machine. Add a __version__ string to avro/__init__.py
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AVRO-817) Add __version__ to avro/__init__.py
Posted by "Scott Carey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030162#comment-13030162 ]
Scott Carey commented on AVRO-817:
----------------------------------
The top level project pom can run an ant task to change it at branch time, and/or to validate that it matches during 'dist'.
We could have an action that changes VERSION.txt and anything else required at once.
> Add __version__ to avro/__init__.py
> -----------------------------------
>
> Key: AVRO-817
> URL: https://issues.apache.org/jira/browse/AVRO-817
> Project: Avro
> Issue Type: Improvement
> Components: python
> Affects Versions: 1.5.1
> Reporter: Miki Tebeka
> Assignee: Miki Tebeka
> Attachments: version.patch
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> Currently, there is no way to know which version of avro is installed on my machine. Add a __version__ string to avro/__init__.py
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (AVRO-817) Add __version__ to avro/__init__.py
Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting reassigned AVRO-817:
---------------------------------
Assignee: Miki Tebeka
> Add __version__ to avro/__init__.py
> -----------------------------------
>
> Key: AVRO-817
> URL: https://issues.apache.org/jira/browse/AVRO-817
> Project: Avro
> Issue Type: Improvement
> Components: python
> Affects Versions: 1.5.1
> Reporter: Miki Tebeka
> Assignee: Miki Tebeka
> Attachments: version.patch
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> Currently, there is no way to know which version of avro is installed on my machine. Add a __version__ string to avro/__init__.py
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (AVRO-817) Add __version__ to avro/__init__.py
Posted by "Miki Tebeka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AVRO-817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Miki Tebeka updated AVRO-817:
-----------------------------
Attachment: version.patch
Auto generating version with ant
> Add __version__ to avro/__init__.py
> -----------------------------------
>
> Key: AVRO-817
> URL: https://issues.apache.org/jira/browse/AVRO-817
> Project: Avro
> Issue Type: Improvement
> Components: python
> Affects Versions: 1.5.1
> Reporter: Miki Tebeka
> Assignee: Miki Tebeka
> Attachments: version.patch, version.patch
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> Currently, there is no way to know which version of avro is installed on my machine. Add a __version__ string to avro/__init__.py
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira