[
https://issues.apache.org/jira/browse/ARIA-266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16027839#comment-16027839
]
Ran Ziv edited comment on ARIA-266 at 5/28/17 2:59 PM:
-------------------------------------------------------
The workaround for this issue is simple - reinstall using the {{pip install
-e}} command. This will take care of updating the version in the package's
metadata.
Other ways I've considered for fixing the problems (using {{data_files}}, or
keeping {{VERSION}} under the {{aria}} package and using {{package_data}}) all
had various other disadvantages, and so assuming version updates don't happen
too often, this seemed to me to be the best viable solution for this problem.
was (Author: ran):
The workaround for this issue is simple - reinstall using the {{pip install
-e}} command. This will take care of updating the version in the package's
metadata.
Other ways I've considered for fixing the problems (using {{data_files}},
keeping {{VERSION}} under the {{aria}} package and using {{package_data}}) all
had various other disadvantages, and so assuming version updates don't happen
too often, this seemed to me to be the best viable solution for this problem.
> Version doesn't update when ARIA is installed in editable mode
> --------------------------------------------------------------
>
> Key: ARIA-266
> URL: https://issues.apache.org/jira/browse/ARIA-266
> Project: AriaTosca
> Issue Type: Bug
> Reporter: Ran Ziv
> Assignee: Ran Ziv
> Priority: Minor
>
> When ARIA is installed in editable mode ({{pip install -e}}) for development
> purposes, and the version of the project changes (in the top-level
> {{VERSION}} file), the {{__version__}} field imported from the {{aria}}
> package (used in various places in the code) remains the one that got
> installed.
> This is because the version is not read from the {{VERSION}} file (which
> isn't kept after installation), but rather from the package's metadata (i.e.
> the version with which it got installed).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)