You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ariatosca.apache.org by "Ran Ziv (JIRA)" <ji...@apache.org> on 2017/05/28 14:57:04 UTC

[jira] [Resolved] (ARIA-266) Version doesn't update when ARIA is installed in editable mode

     [ https://issues.apache.org/jira/browse/ARIA-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ran Ziv resolved ARIA-266.
--------------------------
    Resolution: Won't Fix

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 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)