Dataset Viewer
Auto-converted to Parquet Duplicate
Instruction
stringlengths
6
260k
input_code
stringlengths
0
22.1M
output_code
stringlengths
10
22.1M
diff_patch
stringlengths
0
759k
Don't bail when a dependency can't be found When a dependency for a package can't be found, conda bails completely, but this can happen e.g., just for some old builds of something. So we should just exclude any package like this from the solver.
conda/resolve.py <|code_start|> from __future__ import print_function, division, absolute_import import re import sys import logging from itertools import combinations from collections import defaultdict from conda import verlib from conda.utils import memoize from conda.compat import itervalues, iteritems from conda...
conda/resolve.py from __future__ import print_function, division, absolute_import import re import sys import logging from itertools import combinations from collections import defaultdict from conda import verlib from conda.utils import memoize from conda.compat import itervalues, iteritems from conda.logic import (...
conda/resolve.py --- a/conda/resolve.py +++ b/conda/resolve.py @@ -30,6 +30,11 @@ def normalized_version(version): return version +class NoPackagesFound(RuntimeError): + def __init__(self, msg, pkg): + super(NoPackagesFound, self).__init__(msg) + self.pkg = pkg + const_pat = re.compile(r'...
Make the conda install table easier to read The table of what packages will be installed and removed is hard to read. For one thing, it's hard to tell easily what packages are not removed but just upgraded or downgraded. Also, the "link" terminology is confusing. A suggestion by @jklowden: ``` $ conda update conda ...
conda/cli/main_remove.py <|code_start|> # (c) 2012-2013 Continuum Analytics, Inc. / http://continuum.io # All Rights Reserved # # conda is distributed under the terms of the BSD 3-clause license. # Consult LICENSE.txt or http://opensource.org/licenses/BSD-3-Clause. from __future__ import print_function, division, abso...
conda/cli/main_remove.py # (c) 2012-2013 Continuum Analytics, Inc. / http://continuum.io # All Rights Reserved # # conda is distributed under the terms of the BSD 3-clause license. # Consult LICENSE.txt or http://opensource.org/licenses/BSD-3-Clause. from __future__ import print_function, division, absolute_import fr...
conda/cli/main_remove.py --- a/conda/cli/main_remove.py +++ b/conda/cli/main_remove.py @@ -63,6 +63,7 @@ def execute(args, parser): from conda.api import get_index from conda.cli import pscheck from conda.install import rm_rf, linked + from conda import config if not (args.all or args.package_n...
NoPackagesFound does not work correctly for missing recursive dependencies
conda/resolve.py <|code_start|> from __future__ import print_function, division, absolute_import import re import sys import logging from itertools import combinations from collections import defaultdict from conda import verlib from conda.utils import memoize from conda.compat import itervalues, iteritems from conda...
conda/resolve.py from __future__ import print_function, division, absolute_import import re import sys import logging from itertools import combinations from collections import defaultdict from conda import verlib from conda.utils import memoize from conda.compat import itervalues, iteritems from conda.logic import (...
conda/resolve.py --- a/conda/resolve.py +++ b/conda/resolve.py @@ -278,12 +278,25 @@ def all_deps(self, root_fn, max_only=False): def add_dependents(fn1, max_only=False): for ms in self.ms_depends(fn1): + found = False + notfound = [] for pkg2 in se...
"TLS does not appear to be verified\nAs far as I can tell conda is just using urllib2 which doesn't (...TRUNCATED)
"conda/connection.py\n<|code_start|>\n# (c) 2012-2013 Continuum Analytics, Inc. / http://continuum.i(...TRUNCATED)
"conda/connection.py\n# (c) 2012-2013 Continuum Analytics, Inc. / http://continuum.io\n# All Rights (...TRUNCATED)
"conda/connection.py\n--- a/conda/connection.py\n+++ b/conda/connection.py\n@@ -7,106 +7,368 @@\n fr(...TRUNCATED)
"Add ability to keep retrying with a lock error\nThe yum installer (IIRC) has a nice feature that it(...TRUNCATED)
"conda/lock.py\n<|code_start|>\n# (c) 2012-2013 Continuum Analytics, Inc. / http://continuum.io\n# A(...TRUNCATED)
"conda/lock.py\n# (c) 2012-2013 Continuum Analytics, Inc. / http://continuum.io\n# All Rights Reserv(...TRUNCATED)
"conda/lock.py\n--- a/conda/lock.py\n+++ b/conda/lock.py\n@@ -19,7 +19,7 @@\n import os\n from os.pa(...TRUNCATED)
"conda does not prompt for proxy username and password \n```\n[ COMPLETE ] |##############(...TRUNCATED)
"conda/config.py\n<|code_start|>\n# (c) 2012-2014 Continuum Analytics, Inc. / http://continuum.io\n#(...TRUNCATED)
"conda/config.py\n# (c) 2012-2014 Continuum Analytics, Inc. / http://continuum.io\n# All Rights Rese(...TRUNCATED)
"conda/config.py\n--- a/conda/config.py\n+++ b/conda/config.py\n@@ -244,7 +244,10 @@ def get_allowed(...TRUNCATED)
"`conda create --file deps.txt pkg1 pkg2 ... pkgn` doesn't work\n```\n$ echo \"scipy\" > deps.txt\n$(...TRUNCATED)
"conda/cli/install.py\n<|code_start|>\n# (c) Continuum Analytics, Inc. / http://continuum.io\n# All (...TRUNCATED)
"conda/cli/install.py\n# (c) Continuum Analytics, Inc. / http://continuum.io\n# All Rights Reserved\(...TRUNCATED)
"conda/cli/install.py\n--- a/conda/cli/install.py\n+++ b/conda/cli/install.py\n@@ -143,10 +143,10 @@(...TRUNCATED)
"conda command-line tool provides a convenience command to run the Python executable from a specifie(...TRUNCATED)
"conda/cli/main_run.py\n<|code_start|>\n# (c) 2012-2013 Continuum Analytics, Inc. / http://continuum(...TRUNCATED)
"conda/cli/main_run.py\n# (c) 2012-2013 Continuum Analytics, Inc. / http://continuum.io\n# All Right(...TRUNCATED)
"conda/cli/main_run.py\n--- a/conda/cli/main_run.py\n+++ b/conda/cli/main_run.py\n@@ -7,6 +7,7 @@\n (...TRUNCATED)
"Use rmtree workaround for write-protected files on Windows\nSee https://stackoverflow.com/questions(...TRUNCATED)
"conda/install.py\n<|code_start|>\n# (c) 2012-2014 Continuum Analytics, Inc. / http://continuum.io\n(...TRUNCATED)
"conda/install.py\n# (c) 2012-2014 Continuum Analytics, Inc. / http://continuum.io\n# All Rights Res(...TRUNCATED)
"conda/install.py\n--- a/conda/install.py\n+++ b/conda/install.py\n@@ -155,11 +155,20 @@ def rm_rf(p(...TRUNCATED)
"Only try updating outdated packages with update --all\nconda update --all tends to fail a lot becau(...TRUNCATED)
"conda/cli/install.py\n<|code_start|>\n# (c) Continuum Analytics, Inc. / http://continuum.io\n# All (...TRUNCATED)
"conda/cli/install.py\n# (c) Continuum Analytics, Inc. / http://continuum.io\n# All Rights Reserved\(...TRUNCATED)
"conda/cli/install.py\n--- a/conda/cli/install.py\n+++ b/conda/cli/install.py\n@@ -191,13 +191,13 @@(...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
1