Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.8.4 modifies anaconda-project.yml during prepare #255

Closed
jlstevens opened this issue Feb 25, 2020 · 0 comments · Fixed by #256
Closed

Version 0.8.4 modifies anaconda-project.yml during prepare #255

jlstevens opened this issue Feb 25, 2020 · 0 comments · Fixed by #256

Comments

@jlstevens
Copy link
Collaborator

jlstevens commented Feb 25, 2020

While trying to reproduce this issue, I found it is related to the new user_fields field added to version 0.8.4:

$ conda create -n example python
$ conda activate example
$ conda install anaconda-project=0.8.4
$ git clone git@github.com:pyviz-topics/examples.git
$ git checkout evaluated_branch_fix # Adds user_fields to anaconda-project.yml
$ cd examples/iex_trading/
$ anaconda-project prepare --directory .

$ git diff  # anaconda-project.yml has been modified
diff --git a/iex_trading/anaconda-project.yml b/iex_trading/anaconda-project.yml
index b151145..8b68c75 100644
--- a/iex_trading/anaconda-project.yml
+++ b/iex_trading/anaconda-project.yml
@@ -3,36 +3,35 @@
 name: IEX trading
 description: Dashboard visualizing stock trades on the IEX exchange
 maintainers:
-  - jlstevens
+- jlstevens
 labels:
-  - datashader
-  - panel
-  - holoviews
...

Things work as expected in 0.8.3: user_fields is no longer supported and the anaconda-project.yml isn't being modified. I don't yet understand why anaconda-project would even open the anaconda-project.yml in writeable mode when running the prepare command ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant