Comments (8)
with 8_0_20
I cannot even install the library? How exactly did you do it?
With 9_3_2
it kinda works:
- installing package from
master
branch successful - running tests in
master
is successful - installing package from
reenable_pylint
branch successful - running tests in
reenable_pylint
not successful, but with another message than what you quote.
Both cmssw versions have the same python version, so that's not it.
from hepdata_lib.
I'm setting up CMSSW and then create a new virtualenv into which I install hepdata_lib. Let me try from scratch.
from hepdata_lib.
Okay, I can reproduce the problem if I follow your instruction:
- Setup CMSSW 8_0_20
mkvirtualenv SOMEENV -p /cvmfs/cms.cern.ch/slc6_amd64_gcc530/external/python/2.7.11-ikhhed/bin/python2.7
python -m pip install -e /path/to/hepdata_lib
python -m pip install --upgrade setuptools
(This is necessary to be able to run the tests. If not, it complains that may version of setuptools is too old. Why does it not automatically update on hepdata_lib install?- python setup.py test
Then I get the error you see. Investigation now.
from hepdata_lib.
(This is using master
)
from hepdata_lib.
I guess we should just require a recent setuptools version. I'll try this:
import sys
from distutils.version import StrictVersion
from setuptools import setup, __version__
if StrictVersion(__version__) < StrictVersion('20.2'):
print('your setuptools version does not support PEP 508. Upgrade setuptools and repeat the installation: pip install --upgrade setuptools)
sys.exit(1)
from hepdata_lib.
OK, forget the above comment, steps are:
cmsrel CMSSW_8_0_20
cd CMSSW_8_0_20/src
cmsenv
virtualenv HEPData -p `which python`
pip install --upgrade pip setuptools
pip install -e /path/to/hepdata_lib
from hepdata_lib.
OK, I'd say, let's forget about tests on lxplus - as long as we can run the notebooks when converted to python scripts, things should be fine.
I also tried later CMSSW version, CC7, but recurring issues related to enum
etc.
from hepdata_lib.
Closing since we have other ways to use the library on LXPLUS such as Singularity, documented in README since #133
from hepdata_lib.
Related Issues (20)
- Refactor RootFileReader.retrieve_object
- submission.create_files() fails and wipes the directory clean HOT 7
- Make directory cleanup more robust HOT 2
- CMSSW setup instructions broken for CMSSW_12_X_Y and later
- Add docs for `add_additional_resource` and support `type` argument HOT 1
- Support reading arrays in C files using cfilereader
- Test all supported Python versions
- Change Zenodo record added to Submission to Concept DOI
- Drop Python 2 support HOT 3
- Yank broken Python 2 releases from PyPI with Python 3 only hepdata-validator dependencies HOT 3
- Current SWAN defaults are incompatible HOT 3
- Update readthedocs config
- Reporting a vulnerability HOT 1
- Add ability to read in YODA files HOT 10
- Pip(3) version is outdated HOT 2
- Upgrade Pylint to allow use with Python 3.11
- Add ability to specify license information HOT 2
- Allow dummy uncertainties for variable member with dummy (string) value HOT 4
- Upgrade to codecov/codecov-action@v4
- Possible workspace.json file submission + symerrors submission HOT 3
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 hepdata_lib.