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)
- watcher doesn't work with __len__
- Easier subclassing of Parameter HOT 5
- Warnings not displaying the right frame
- Pickle Serialization doesn't work for param.Parameterized with @param.depends function decorators HOT 2
- Cloudpickle compatibility HOT 3
- Subclassing a Parameterized class and changing the class parameters of list / dict does not work
- Callback called before a method that is depended upon
- Depending on the method of a sub parameter object is broken
- Fate of `name`? HOT 2
- Callbacks not triggered when value updated at the class level before being set on an instance HOT 2
- Add API to access watchers HOT 1
- Support async `on_init` methods
- param.pprint breaks if HoloViews is imported HOT 5
- Selector regression in an inheritance context? HOT 3
- Add official support to pathlib.Path objects to param.Path
- Deprecate `Path.search_paths`
- Add `param.watch` function/decorator
- `ListSelector`: regression when `check_on_set=False` HOT 2
- Automatically serialize dataclass / pydantic models into `param.Parameterized`? HOT 1
- Setting a `Parameter` value in `__init__` before calling `super().__init__` HOT 1
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.