-
Notifications
You must be signed in to change notification settings - Fork 14
Remove libNNPDF from python #1680
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
Changes from all commits
50ff949
90ee5c2
5d6b5ff
487d356
3d3ae48
9e48436
c5b5abf
7e4bd4e
c7bfd61
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -131,9 +131,6 @@ def init(self): | |
| if self.args["loglevel"] <= logging.DEBUG: | ||
| cout = True | ||
| if not cout: | ||
| import NNPDF | ||
|
|
||
| NNPDF.SetVerbosity(0) | ||
| lhapdf.setVerbosity(0) | ||
|
|
||
| @staticmethod | ||
|
|
@@ -147,11 +144,11 @@ def upload_context(do_upload, output): | |
| return contextlib.ExitStack() | ||
|
|
||
| def run(self): | ||
| if sys.version_info < (3, 6): | ||
| if sys.version_info < (3, 9): | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did we officially drop 3.8 as well?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. We are no longer building conda packages for 3.8.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, I wonder if we should drop also from the other projects... Point is that I'm fully happy in dropping 3.7, that will go EOL in June (now that I'd like to support 3.11, I don't feel guilty dropping an almost EOL version, even if it's the one running on In particular, I believe @cschwan for example is still using it (if I remember correctly). Most likely he doesn't care too much about installing vp, but it makes me think that some still very relevant versions of major distributions are still on it.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, some are. I still have 3.8 in a few places. And if you really want to use it you can just install n3fit/validphys manually and it will work. But since we are not supporting it anymore (or testing for it at all) in "the official conda package" we should warn people. |
||
| log.warning( | ||
| "validphys 2 is discontinued on Python<3.6 and will " | ||
| "validphys 2 is discontinued on Python<3.9 and will " | ||
| "not be longer updated. Please run\n" | ||
| "conda install python=3.6\n\n" | ||
| "conda install python=3.9\n\n" | ||
| "If you have any problems, please open an issue " | ||
| "on https://github.com/NNPDF/nnpdf/issues." | ||
| ) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.