Comments (7)
| Installing param (pip install param) into a virtual environment that is inside a git repository fails with
| Exception: Cannot find any git version tags of format v_._
| This makes it difficult to install param as part of certain Jenkins CI workflows that make use of git + virtualenv.
Thanks for the report! Chris, I think you should go ahead with what we mentioned about ignoring all errors from version.py, just for cases like this where we don't quite know what environment it might have been placed into.
Jean-Luc, maybe it would be worth version.py catching this error and falling back to the declared version (plus perhaps "-dirty" or "-unknown" as a warning that we were unable to get version info).
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
from param.
We've got a fix now, thanks to Marco Elver and Jean-Luc Stevens; see #61
Can you please try installing version 786378d using pip's git support, with something like:
pip install git+https://github.com/ioam/param.git@786378da45e414f714ee4ab9f88c6cf89a551fee
from param.
Hi
I'm not sure it will work just yet - at least if any of our projects is being tested in this environment other than param. The 'reponame' argument needs to be set in the Version
object for the other projects.
I'll fix this now.
from param.
I think to test the fix, I need to install from a source distribution, not via pip's git support.
from param.
Ah. We were hoping that you would test it so that we could make a new release confidently, but I guess we'll have to wing it and cross our fingers! We'll let you know when 1.2.1 is ready.
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
from param.
Ok, 1.2.1 is released and should fix this problem -- please reopen this issue if not!
from param.
This is fixed for me. Thanks!
from param.
Related Issues (20)
- Cannot change instance attributes with a Callable without passing in parameterized class HOT 3
- Define Comparator equality functions for more types HOT 1
- DeprecationWarning in test_reactive_logic_unary_ops HOT 1
- Default range of param.Range fails to update using self.param.<parameter>.default assignment HOT 4
- Ability to apply @param.depends to all (nested) Parameters of a class HOT 1
- Param with bounds should default to lower bound HOT 7
- Add .is_active parameter to reactive expressions HOT 3
- Let reactive expressions .watch method support async functions
- Context manager .param.update should restore references
- Let pn.Param accept a list of objects HOT 1
- Warn on errors thru rx updates
- Make param.depends efficient HOT 6
- Parameter called outputs does not work with `.rx` HOT 4
- Triggering a function in one instance based on parameter changes in another HOT 2
- Initialization changes constant attribute. HOT 3
- Missing `param_help.png` in `User Guide/Parameters`
- Discussion about the intro video HOT 1
- Should methods on Parameterizeds be treated as references by default HOT 3
- `name` of a Parameterized instance overridden when is the default of a `readonly/constant` Parameter HOT 2
- Error on printing rx
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from param.