diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/cygenja/__init__.py b/cygenja/__init__.py index <HASH>..<HASH> 100644 --- a/cygenja/__init__.py +++ b/cygenja/__init__.py @@ -1,2 +1,2 @@ # The version as used in the setup.py and the docs conf.py -__version__ = "0.4.3" +__version__ = "0.4.4"
update of version -> <I>
py
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index <HASH>..<HASH> 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1651,7 +1651,7 @@ class DataFrame(NDFrame): max_cols = get_option('display.max_info_columns') if verbose and len(self.columns) <= max_cols: - ...
Added count of columns when DataFrame is printed out
py
diff --git a/questionary/prompt.py b/questionary/prompt.py index <HASH>..<HASH> 100644 --- a/questionary/prompt.py +++ b/questionary/prompt.py @@ -137,10 +137,6 @@ def unsafe_prompt( if "name" not in question_config: raise PromptParameterException("name") - choices = question_config.get("...
Fix order of question-config-properties in unsafe_prompt()
py
diff --git a/host/analysis/plotting/plotting.py b/host/analysis/plotting/plotting.py index <HASH>..<HASH> 100644 --- a/host/analysis/plotting/plotting.py +++ b/host/analysis/plotting/plotting.py @@ -670,8 +670,6 @@ def create_1d_hist(hist, title=None, x_axis_title=None, y_axis_title=None, bins= else: ...
ENH: remove buggy code to avoid over-binning
py
diff --git a/restclients/dao_implementation/live.py b/restclients/dao_implementation/live.py index <HASH>..<HASH> 100644 --- a/restclients/dao_implementation/live.py +++ b/restclients/dao_implementation/live.py @@ -18,16 +18,16 @@ def get_con_pool(host, :param socket_timeout: socket timeout for each conne...
Refactoring the connection_from_url calls. Making the max number of concurrent requests actually block, so it's effective git-svn-id: <URL>
py
diff --git a/abilian/services/indexing/adapter.py b/abilian/services/indexing/adapter.py index <HASH>..<HASH> 100644 --- a/abilian/services/indexing/adapter.py +++ b/abilian/services/indexing/adapter.py @@ -14,6 +14,7 @@ from whoosh.fields import TEXT from flask import current_app from abilian.core.extensions impor...
convert MutationList or else to text for indexing
py
diff --git a/txaws/client/base.py b/txaws/client/base.py index <HASH>..<HASH> 100644 --- a/txaws/client/base.py +++ b/txaws/client/base.py @@ -414,7 +414,7 @@ class _Query(object): """ request = _auth_v4._CanonicalRequest.from_request_components( method=method, - url=url_contex...
Fix an apparent sigv4 auth bug (probably my own)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup setup( name='evernode', - version='0.3.0', + version='1.0.0', packages=[ 'evernode', 'evernode.classes', @@ -15,8 +15,14 @@ setup( author='Atom...
major version update/changed to first stable production release number <I>
py
diff --git a/openquake/commonlib/oqvalidation.py b/openquake/commonlib/oqvalidation.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/oqvalidation.py +++ b/openquake/commonlib/oqvalidation.py @@ -172,7 +172,7 @@ class OqParam(valid.ParamSet): source_id = valid.Param(valid.namelist, []) spatial_correlat...
Restored collapse_factor to 3
py
diff --git a/tests/integration/standard/test_connection.py b/tests/integration/standard/test_connection.py index <HASH>..<HASH> 100644 --- a/tests/integration/standard/test_connection.py +++ b/tests/integration/standard/test_connection.py @@ -24,7 +24,7 @@ from threading import Thread, Event import time from cassan...
Fixed AsyncoreConnectionTests.test_multiple_connections test
py
diff --git a/src/vistir/path.py b/src/vistir/path.py index <HASH>..<HASH> 100644 --- a/src/vistir/path.py +++ b/src/vistir/path.py @@ -167,7 +167,8 @@ def mkdir_p(newdir): head, tail = os.path.split(newdir) if head and not os.path.isdir(head): mkdir_p(head) - if tail and not os.pat...
Ensure that head and tail don't point to the same place
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( author='Sabesto', author_email='sabesto@gmail.com', url='https://github.com/Sabesto/pyflexit', - download_url='https://github.com/Sabesto/pyflexit/archive/0.1.tar.gz', + download_url='h...
Updated download link in setup.py
py
diff --git a/openquake/engine/db/models.py b/openquake/engine/db/models.py index <HASH>..<HASH> 100644 --- a/openquake/engine/db/models.py +++ b/openquake/engine/db/models.py @@ -1499,7 +1499,7 @@ class SESCollection(djm.Model): See also :class:`SES` and :class:`SESRupture`. """ output = djm.OneToOneFiel...
Changed a related_name to something more sensible Former-commit-id: ea7abcd<I>cb6baf1a<I>e<I>f<I>b3a3c5
py
diff --git a/shinken/modules/webui_broker/helper.py b/shinken/modules/webui_broker/helper.py index <HASH>..<HASH> 100644 --- a/shinken/modules/webui_broker/helper.py +++ b/shinken/modules/webui_broker/helper.py @@ -345,7 +345,7 @@ class Helper(object): return 'unknown' if obj.state == 'OK': ...
Fix : helper function for icons was not returning up state correctly.
py
diff --git a/ella/core/admin.py b/ella/core/admin.py index <HASH>..<HASH> 100644 --- a/ella/core/admin.py +++ b/ella/core/admin.py @@ -27,11 +27,11 @@ class PlacementForm(modelforms.ModelForm): super(PlacementForm, self).__init__(*args, **kwargs) -class PlacementInlineFormset(generic.BaseGenericInlineFormS...
admin.py adapted to new ella.
py
diff --git a/src/foremast/pipeline/construct_pipeline_block.py b/src/foremast/pipeline/construct_pipeline_block.py index <HASH>..<HASH> 100644 --- a/src/foremast/pipeline/construct_pipeline_block.py +++ b/src/foremast/pipeline/construct_pipeline_block.py @@ -191,7 +191,7 @@ def ec2_pipeline_setup(generated=None, projec...
fix: Use formatted attributes from gogoutils
py
diff --git a/tensorflow_probability/python/internal/samplers.py b/tensorflow_probability/python/internal/samplers.py index <HASH>..<HASH> 100644 --- a/tensorflow_probability/python/internal/samplers.py +++ b/tensorflow_probability/python/internal/samplers.py @@ -46,6 +46,8 @@ SEED_DTYPE = np.uint32 if JAX_MODE else np....
Allow SeedStream argument to samplers.sanitize_seed. PiperOrigin-RevId: <I>
py
diff --git a/parler_rest/fields.py b/parler_rest/fields.py index <HASH>..<HASH> 100644 --- a/parler_rest/fields.py +++ b/parler_rest/fields.py @@ -3,9 +3,14 @@ Custom serializer fields for nested translations. """ from __future__ import unicode_literals + +try: + from collections import OrderedDict +except Import...
Import OrderedDict from collections Make parler_rest compatible with djangorestframework >= <I> by importing OrderedDict from collections and fallback to importing it from Django (for Python <I>), because there is no OrderedDict anymore in rest_framework.compat since <I>.
py
diff --git a/ez_setup.py b/ez_setup.py index <HASH>..<HASH> 100644 --- a/ez_setup.py +++ b/ez_setup.py @@ -100,6 +100,8 @@ def _do_download(version, download_base, to_dir, download_delay): to_dir, download_delay) _build_egg(egg, tarball, to_dir) sys.path.insert(0, eg...
Make certain no previous imports of old versions of pkg_resources are floating around before importing the newly installed setuptools.
py
diff --git a/imgui/__init__.py b/imgui/__init__.py index <HASH>..<HASH> 100644 --- a/imgui/__init__.py +++ b/imgui/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -VERSION = (1, 0, 0) # PEP 386 +VERSION = (1, 1, 0) # PEP 386 __version__ = ".".join([str(x) for x in VERSION]) from imgui.core import * # noqa
chore: draft new <I> release
py
diff --git a/shap/explainers/gradient.py b/shap/explainers/gradient.py index <HASH>..<HASH> 100644 --- a/shap/explainers/gradient.py +++ b/shap/explainers/gradient.py @@ -343,7 +343,14 @@ class _TFGradientExplainer(Explainer): feed_dict[self.keras_phase_placeholder] = 0 return self.session...
Add automatic shape and dtype fixing for TF 2
py
diff --git a/src/memote/experimental/essentiality.py b/src/memote/experimental/essentiality.py index <HASH>..<HASH> 100644 --- a/src/memote/experimental/essentiality.py +++ b/src/memote/experimental/essentiality.py @@ -18,6 +18,7 @@ """Provide an interface for essentiality experiments.""" from __future__ import abs...
fix: point to ids column instead of index
py
diff --git a/basc_py4chan/board.py b/basc_py4chan/board.py index <HASH>..<HASH> 100644 --- a/basc_py4chan/board.py +++ b/basc_py4chan/board.py @@ -9,6 +9,23 @@ from .thread import Thread # cached metadata for boards _metadata = {} +# compatibility layer for Python2's `basestring` variable +# http://www.rfk.id.au/bl...
`basestring` variable not used in Python 3, add compatibility layer Since all strings are Unicode in Python 3, the variables `unicode` and `basestring` are no longer used. This patch makes these variables work again in Python 3. <URL>` such that it no longer needs to use `basestring`. Though it has to be done in a ...
py
diff --git a/openquake/calculators/tests/gmf_ebrisk_test.py b/openquake/calculators/tests/gmf_ebrisk_test.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/tests/gmf_ebrisk_test.py +++ b/openquake/calculators/tests/gmf_ebrisk_test.py @@ -125,7 +125,7 @@ class GmfEbRiskTestCase(CalculatorTestCase): f0 ...
Changed a comment [skip CI]
py
diff --git a/engineer/engine.py b/engineer/engine.py index <HASH>..<HASH> 100644 --- a/engineer/engine.py +++ b/engineer/engine.py @@ -178,13 +178,13 @@ def management_server(): import bottle @bottle.route('/<filepath:path>') - def server_static(filepath): - print "trying filepath %s" % filepa...
Minor fix to bottle usage. Removed dependence on paste for the time being.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -83,6 +83,7 @@ deps = { "bumpversion>=0.5.3,<1", "wheel", "setuptools>=36.2.0", + #Fixing this dependency due to: pytest 3.6.4 has requirement pluggy<0.8,>=0.5, but you'll have pluggy 0.8.0 wh...
Adding comment explainning why we are fixing pluggy to <I> version
py
diff --git a/librosa/feature/utils.py b/librosa/feature/utils.py index <HASH>..<HASH> 100644 --- a/librosa/feature/utils.py +++ b/librosa/feature/utils.py @@ -105,7 +105,11 @@ def delta(data, width=9, order=1, axis=-1, trim=Deprecated(), mode='interp', **k data = np.atleast_1d(data) - if width < 3 or np.mod...
fixed #<I> by making delta width message more explicit
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup setup( name='neat-python', - version='0.1', + version='0.2', author='cesar.gomes, mirrorballu2', author_email='nobody@nowhere.com', maintainer='CodeRec...
This revision was uploaded to PyPI as version <I>.
py
diff --git a/dwave_networkx/default_sampler.py b/dwave_networkx/default_sampler.py index <HASH>..<HASH> 100644 --- a/dwave_networkx/default_sampler.py +++ b/dwave_networkx/default_sampler.py @@ -113,8 +113,8 @@ def unset_default_sampler(): >>> print(dnx.get_default_sampler()) # doctest: +SKIP 'sampler0' ...
skipped a few less docstring tests
py
diff --git a/xclim/core/formatting.py b/xclim/core/formatting.py index <HASH>..<HASH> 100644 --- a/xclim/core/formatting.py +++ b/xclim/core/formatting.py @@ -62,11 +62,10 @@ class AttrFormatter(string.Formatter): self.mapping = mapping def format(self, format_string: str, /, *args: Any, **kwargs: dict)...
Update xclim/core/formatting.py Simplified format function.
py
diff --git a/safe/impact_function/multi_exposure_wrapper.py b/safe/impact_function/multi_exposure_wrapper.py index <HASH>..<HASH> 100644 --- a/safe/impact_function/multi_exposure_wrapper.py +++ b/safe/impact_function/multi_exposure_wrapper.py @@ -1291,6 +1291,21 @@ class MultiExposureImpactFunction(object): ...
fix infographic not showning any expressions (#<I>)
py
diff --git a/server/main.py b/server/main.py index <HASH>..<HASH> 100755 --- a/server/main.py +++ b/server/main.py @@ -75,7 +75,9 @@ def load_python(stream, filename): except Exception as e: tb = e.__traceback__ stack_list = traceback.extract_tb(tb) - _, line, name, text = ...
removes index error; ignore stack text if it details our call to exec
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -10,9 +10,9 @@ setup(name='kkbox_developer_sdk', description='KKBOX Open API Developer SDK for Python', author='KKBOX', author_email='sharonyang@kkbox.com', - version='1.0.0', - url='https://gith...
Applies new repo name and bumps to <I>.
py
diff --git a/phy/plot/__init__.py b/phy/plot/__init__.py index <HASH>..<HASH> 100644 --- a/phy/plot/__init__.py +++ b/phy/plot/__init__.py @@ -12,7 +12,10 @@ import os.path as op from vispy import config +from .interact import Grid, Stacked, Boxed from .plot import GridView, BoxedView, StackedView # noqa +from ....
Export objects in phy.plot
py
diff --git a/tests/test_highdim.py b/tests/test_highdim.py index <HASH>..<HASH> 100644 --- a/tests/test_highdim.py +++ b/tests/test_highdim.py @@ -90,7 +90,7 @@ def do_gaussian(co, slices=slices) sampler.run_nested(print_progress=printing) res = sampler.results - ...
fix the random state of the highdim test
py
diff --git a/utils/gh2k.py b/utils/gh2k.py index <HASH>..<HASH> 100755 --- a/utils/gh2k.py +++ b/utils/gh2k.py @@ -284,6 +284,7 @@ def get_oauth(): if __name__ == '__main__': + """GitHub to Kibana""" task_init = datetime.now()
[utils] Move gh2k description to main This code moves the description of the gh2k.py to the main method.
py
diff --git a/test_tube/log.py b/test_tube/log.py index <HASH>..<HASH> 100644 --- a/test_tube/log.py +++ b/test_tube/log.py @@ -49,6 +49,20 @@ class DDPExperiment(object): class Experiment(SummaryWriter): + + + @classmethod + def init_with_ddp_exp(cls, exp): + return Experiment( + name=exp.n...
added init with ddp class method
py
diff --git a/renku/models/provenance/activities.py b/renku/models/provenance/activities.py index <HASH>..<HASH> 100644 --- a/renku/models/provenance/activities.py +++ b/renku/models/provenance/activities.py @@ -144,7 +144,7 @@ class Activity(CommitMixin): if str(path).startswith( os.path.j...
bug: Fixes missing commit on Generation object for Dataset entities (#<I>)
py
diff --git a/pcef/python/modes/folder.py b/pcef/python/modes/folder.py index <HASH>..<HASH> 100644 --- a/pcef/python/modes/folder.py +++ b/pcef/python/modes/folder.py @@ -47,12 +47,16 @@ class PyFolderMode(Mode): return foldPanel.clearIndicators() root_node = layout.analyseLayout(self.edi...
Folder: do not display fold indicator for entry point and global vars
py
diff --git a/playhouse/fields.py b/playhouse/fields.py index <HASH>..<HASH> 100644 --- a/playhouse/fields.py +++ b/playhouse/fields.py @@ -61,6 +61,9 @@ if hashpw and gensalt: def db_value(self, value): """Convert the python value for storage in the database.""" + if isinstance(value,...
Fix #<I>, thanks @joeyespo
py
diff --git a/test/checker/test_checker_ipaddress.py b/test/checker/test_checker_ipaddress.py index <HASH>..<HASH> 100644 --- a/test/checker/test_checker_ipaddress.py +++ b/test/checker/test_checker_ipaddress.py @@ -23,7 +23,7 @@ nan = float("nan") inf = float("inf") -class Test_IpAddress_is_type: +class Test_IpAdd...
Change class definitions from old style to new style
py
diff --git a/source/awesome_tool/mvc/statemachine_helper.py b/source/awesome_tool/mvc/statemachine_helper.py index <HASH>..<HASH> 100644 --- a/source/awesome_tool/mvc/statemachine_helper.py +++ b/source/awesome_tool/mvc/statemachine_helper.py @@ -147,4 +147,17 @@ class StateMachineHelper(): for transition_...
Add method to retrieve data flow model from id
py
diff --git a/restnuage/__init__.py b/restnuage/__init__.py index <HASH>..<HASH> 100644 --- a/restnuage/__init__.py +++ b/restnuage/__init__.py @@ -7,14 +7,6 @@ from ConfigParser import ConfigParser config = ConfigParser() config.read('./settings.cfg') -try: - DEFAULT_USER = config.get('default', 'user') - DEF...
remove settings management. this is a lib ;)
py
diff --git a/treeCl/tasks.py b/treeCl/tasks.py index <HASH>..<HASH> 100644 --- a/treeCl/tasks.py +++ b/treeCl/tasks.py @@ -211,6 +211,8 @@ def raxml_task(executable, alignment_file, model, partitions_file=None, outfile= name = os.path.basename(name) seed=random.randint(1000, 9999) outdir=os.p...
Problem making tmpdir with travis
py
diff --git a/src/graphql/language/printer.py b/src/graphql/language/printer.py index <HASH>..<HASH> 100644 --- a/src/graphql/language/printer.py +++ b/src/graphql/language/printer.py @@ -399,7 +399,7 @@ def block(strings: Optional[Strings]) -> str: Given a collection of strings, return a string with each item on i...
parser: simplify a few utility functions Replicates graphql/graphql-js@2c<I>b<I>dd8c<I>ead4df<I>c<I>cb<I>c0e
py
diff --git a/src/livestreamer/stream/hls.py b/src/livestreamer/stream/hls.py index <HASH>..<HASH> 100644 --- a/src/livestreamer/stream/hls.py +++ b/src/livestreamer/stream/hls.py @@ -346,7 +346,7 @@ class HLSStream(Stream): @classmethod def parse_variant_playlist(cls, session, url, namekey="name", - ...
stream.hls: Allow a name prefix to be used when parsing variant playlists.
py
diff --git a/pysat/ssnl/__init__.py b/pysat/ssnl/__init__.py index <HASH>..<HASH> 100644 --- a/pysat/ssnl/__init__.py +++ b/pysat/ssnl/__init__.py @@ -1 +1,2 @@ -import occur_prob \ No newline at end of file +import occur_prob +import avg \ No newline at end of file
Added import for ssnl averaging routines
py
diff --git a/openquake/calculators/event_based_risk.py b/openquake/calculators/event_based_risk.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/event_based_risk.py +++ b/openquake/calculators/event_based_risk.py @@ -253,6 +253,8 @@ class EbrPostCalculator(base.RiskCalculator): ...
Restored parallel.Sequential
py
diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index <HASH>..<HASH> 100644 --- a/ryu/tests/switch/tester.py +++ b/ryu/tests/switch/tester.py @@ -592,8 +592,8 @@ class OfTester(app_manager.RyuApp): if msg: return '/'.join(msg) else: - raise RyuException('In...
sw test tool: correct error message When test tool receives a malformed packet(length value is unusual, for example), detecting differences between expected and received is a failure. In this case, 'Internal error.' is not suitable as a log message and should notify tool receives a malformed packet.
py
diff --git a/anyconfig/backend/json/__init__.py b/anyconfig/backend/json/__init__.py index <HASH>..<HASH> 100644 --- a/anyconfig/backend/json/__init__.py +++ b/anyconfig/backend/json/__init__.py @@ -3,8 +3,6 @@ # Copyright (C) 2019 Satoru SATOH <satoru.satoh@gmail.com> # License: MIT # -# type() is used to exactly m...
fix: remove unnecessary skip rule of pylint
py
diff --git a/salt/states/eselect.py b/salt/states/eselect.py index <HASH>..<HASH> 100644 --- a/salt/states/eselect.py +++ b/salt/states/eselect.py @@ -57,15 +57,15 @@ def set_(name, target): else: result = __salt__['eselect.set_target'](name, target) if result: + ret['changes'][name] =...
Fixed backwards logic in eselect set state
py
diff --git a/src/sos/workflow_executor.py b/src/sos/workflow_executor.py index <HASH>..<HASH> 100755 --- a/src/sos/workflow_executor.py +++ b/src/sos/workflow_executor.py @@ -622,6 +622,8 @@ class Base_Executor: context=context) added_node += 1 resolved +=...
Improve efficiency of make style matching #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -53,7 +53,7 @@ py_version = platform.python_version() if py_version < '2.7': REQUIRED_PACKAGES.append('argparse>=1.2.1') -_APITOOLS_VERSION = '0.5.10' +_APITOOLS_VERSION = '0.5.11' with open('README.rst') as fileobj...
Update for <I> release.
py
diff --git a/bf/image.py b/bf/image.py index <HASH>..<HASH> 100644 --- a/bf/image.py +++ b/bf/image.py @@ -42,7 +42,7 @@ class Image(File): def convert(self, outfn=None, **params): if outfn is not None and File(fn=outfn).fn != self.fn: - shutil.copy(self.fn, outfn) + self.write(out...
use Image.write() = File.write() to write the output file, safer than shutil.copy()
py
diff --git a/fedmsg/encoding/__init__.py b/fedmsg/encoding/__init__.py index <HASH>..<HASH> 100644 --- a/fedmsg/encoding/__init__.py +++ b/fedmsg/encoding/__init__.py @@ -81,7 +81,7 @@ class FedMsgEncoder(json.encoder.JSONEncoder): # Ensure that the keys are ordered so that messages can be signed # consistently. S...
Encode JSON consistently between php and python.
py
diff --git a/tests/avatar/test_service.py b/tests/avatar/test_service.py index <HASH>..<HASH> 100644 --- a/tests/avatar/test_service.py +++ b/tests/avatar/test_service.py @@ -393,7 +393,8 @@ class TestAvatarService(unittest.TestCase): self.s._vcard_resource_interference.add(TEST_JID1) stanza = aioxmpp...
avatar: adapt the tests to the new behaviour * expect an empty instead of a missing x-child when there are resources which do not support vcard based avatar updates
py
diff --git a/fermipy/skymap.py b/fermipy/skymap.py index <HASH>..<HASH> 100644 --- a/fermipy/skymap.py +++ b/fermipy/skymap.py @@ -374,7 +374,7 @@ class HpxMap(Map_Base): data = np.ndarray((nebin, hpx.npix)) for i in range(first_bin,first_bin+nebin): cname = "%s%i" % (colstring, i) - ...
Fix mapping indexing in HpxMap
py
diff --git a/whizzer/__init__.py b/whizzer/__init__.py index <HASH>..<HASH> 100644 --- a/whizzer/__init__.py +++ b/whizzer/__init__.py @@ -19,10 +19,17 @@ def signal_handler(loop): return watcher def _perform_call(watcher, events): - (method, args, kwargs) = watcher.data + print("performing call") + (d...
call_later now correctly returns a deferred, the caller MUST HOLD on to the deferred at the moment
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,6 +25,7 @@ AUTHOR_EMAIL = '', ''.join('<%s>' % t[1] for t in AUTHOR_INFO) MAINTAINER = ", ".join(t[0] for t in MAINTAINER_INFO) MAINTAINER_EMAIL = ", ".join("<%s>" % t[1] for t in MAINTAINER_INFO) URL = 'https://github....
added download_url to setup.py
py
diff --git a/test/test_sampling.py b/test/test_sampling.py index <HASH>..<HASH> 100644 --- a/test/test_sampling.py +++ b/test/test_sampling.py @@ -52,11 +52,13 @@ def test_itimer_sampler(): @pytest.mark.flaky(reruns=10) def test_tracing_sampler(): + pytest.importorskip('yappi') _test_sampling_profiler(Traci...
Skip if there's no yappi
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -101,8 +101,8 @@ setup( 'mail-parser>=3.11.0', 'dateparser>=0.7.2', 'mailsuite>=1.5.4', - 'elasticsearch>=6.3.1,<7.0.0', - ...
Update setup.py Changed Elasticsearch py to support Elastic > <I> For Elasticsearch <I> and later, use the major version 7 (7.x.y) of the library.
py
diff --git a/tests/laser/smt/independece_solver_test.py b/tests/laser/smt/independece_solver_test.py index <HASH>..<HASH> 100644 --- a/tests/laser/smt/independece_solver_test.py +++ b/tests/laser/smt/independece_solver_test.py @@ -73,12 +73,14 @@ def test_dependence_map(): assert x in dependence_map.buckets[0].var...
add check to tests This ensures that not only the variables are in the list, but they are the only variables in that list
py
diff --git a/swagger_parser/swagger_parser.py b/swagger_parser/swagger_parser.py index <HASH>..<HASH> 100755 --- a/swagger_parser/swagger_parser.py +++ b/swagger_parser/swagger_parser.py @@ -562,7 +562,7 @@ class SwaggerParser(object): resp = path_spec[action]['responses'][status_code] ...
CLN: Avoid untyped exception handler
py
diff --git a/mapchete/index.py b/mapchete/index.py index <HASH>..<HASH> 100644 --- a/mapchete/index.py +++ b/mapchete/index.py @@ -184,7 +184,7 @@ def _index_file_path(out_dir, zoom, ext): return os.path.join(out_dir, str(zoom) + "." + ext) -def _tile_path(orig_path, basepath, for_gdal): +def _tile_path(orig_p...
enable local VRT file pointing to remote tiles
py
diff --git a/ftpretty.py b/ftpretty.py index <HASH>..<HASH> 100644 --- a/ftpretty.py +++ b/ftpretty.py @@ -17,6 +17,7 @@ import os import cStringIO import re import datetime +from dateutil import parser class ftpretty(object): conn = None @@ -174,6 +175,12 @@ class ftpretty(object): '(\\d{1,...
Parse file times into a datetime object. Fixes #<I>
py
diff --git a/pyquil/__init__.py b/pyquil/__init__.py index <HASH>..<HASH> 100644 --- a/pyquil/__init__.py +++ b/pyquil/__init__.py @@ -1,4 +1,4 @@ -__version__ = "2.0.0" +__version__ = "2.1.0.dev0" from pyquil.quil import Program from pyquil.api import list_quantum_computers, get_qc
Bump to <I>.dev0
py
diff --git a/indra/databases/cbio_client.py b/indra/databases/cbio_client.py index <HASH>..<HASH> 100644 --- a/indra/databases/cbio_client.py +++ b/indra/databases/cbio_client.py @@ -219,6 +219,12 @@ def get_genetic_profiles(study_id, profile_filter=None): 'cellline_ccle_broad_mutations' for mutations, 'cellline_c...
get_ccle_cna docstring edit - explain what the values retrived by the function correspond to
py
diff --git a/tests/test_parsers.py b/tests/test_parsers.py index <HASH>..<HASH> 100644 --- a/tests/test_parsers.py +++ b/tests/test_parsers.py @@ -5,7 +5,7 @@ from pikepdf import ( parse_content_stream, Pdf, Stream, Operator, Object, Dictionary ) -from pikepdf.models import Page +from pikepdf.models import _...
tests: Fix renamed Page to _Page for now
py
diff --git a/tests/test_JFS.py b/tests/test_JFS.py index <HASH>..<HASH> 100644 --- a/tests/test_JFS.py +++ b/tests/test_JFS.py @@ -121,11 +121,18 @@ class TestJFS: assert isinstance(jfs.getObject('/Jotta/Archive/test'), JFS.JFSFolder) #TODO: test with a python-requests object - @pytest.mark.xfail...
py.test: test #<I>, urlencoded filename
py
diff --git a/src/ibmiotf/__init__.py b/src/ibmiotf/__init__.py index <HASH>..<HASH> 100644 --- a/src/ibmiotf/__init__.py +++ b/src/ibmiotf/__init__.py @@ -59,6 +59,9 @@ class AbstractClient: self.logger = logging.getLogger(self.__module__+"."+self.__class__.__name__) self.logger.setLevel(logging.INFO) + # Re...
Avoid build up of log handlers with multiple inits of the client resolved #<I>
py
diff --git a/tickets/views.py b/tickets/views.py index <HASH>..<HASH> 100644 --- a/tickets/views.py +++ b/tickets/views.py @@ -38,7 +38,7 @@ class MyTicketDetailView(DetailView): comment.author = self.request.user comment.ticket = Ticket.objects.get(id=self.kwargs['pk']) comment.save() - ...
change success message strings in views to unicode
py
diff --git a/source/rafcon/utils/storage_utils.py b/source/rafcon/utils/storage_utils.py index <HASH>..<HASH> 100644 --- a/source/rafcon/utils/storage_utils.py +++ b/source/rafcon/utils/storage_utils.py @@ -117,7 +117,7 @@ def load_objects_from_json(path, as_dict=False): :param path: The relative path of the json ...
fix(storage): Replace file with open
py
diff --git a/gala/potential/potential/tests/helpers.py b/gala/potential/potential/tests/helpers.py index <HASH>..<HASH> 100644 --- a/gala/potential/potential/tests/helpers.py +++ b/gala/potential/potential/tests/helpers.py @@ -70,7 +70,7 @@ class PotentialTestBase(object): assert isinstance(self.potential.unit...
oops fix failing test with change to replaceunits
py
diff --git a/scripts/grid_demo.py b/scripts/grid_demo.py index <HASH>..<HASH> 100644 --- a/scripts/grid_demo.py +++ b/scripts/grid_demo.py @@ -1,12 +1,11 @@ import numpy as np -import sys - -sys.path.append("../") from auto_lens.profiles import light_profiles, mass_profiles from auto_lens.imaging import grids fro...
removed ugly python path modification (added note)
py
diff --git a/visidata/vdtui/__init__.py b/visidata/vdtui/__init__.py index <HASH>..<HASH> 100755 --- a/visidata/vdtui/__init__.py +++ b/visidata/vdtui/__init__.py @@ -305,7 +305,7 @@ theme('scroll_incr', 3, 'amount to scroll with scrollwheel') ENTER='^J' ESC='^[' globalCommand('KEY_RESIZE', 'no-op', '') -globalComma...
[quit] revert b<I>e0e removeSheet on quit @anjakefala
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,7 @@ if sys.version_info < (2, 7) or ( setup_params = dict( name = 'keyring', - version = "1.2", + version = "1.3", description = "Store and access your passwords safely.", url = "http://bitbu...
Bumped to <I> in preparation for next release.
py
diff --git a/hug/decorators.py b/hug/decorators.py index <HASH>..<HASH> 100644 --- a/hug/decorators.py +++ b/hug/decorators.py @@ -9,6 +9,7 @@ from hug.run import server class HugAPI(object): + '''Stores the information necessary to expose API calls within this module externally''' __slots__ = ('versions',...
Move out module attributes to a common object
py
diff --git a/test/test_workflow.py b/test/test_workflow.py index <HASH>..<HASH> 100644 --- a/test/test_workflow.py +++ b/test/test_workflow.py @@ -38,7 +38,7 @@ def basic_conf(tmpdir): 'benchmark_dir': join(local, 'benchmark'), 'results_dir': join(tmpdir, 'results_workflow'), 'html_dir': join...
Fix workflow test repo location -- Travis CI makes shallow clone from the repo, so we need to re-fetch it completely
py
diff --git a/pygubu/__init__.py b/pygubu/__init__.py index <HASH>..<HASH> 100644 --- a/pygubu/__init__.py +++ b/pygubu/__init__.py @@ -10,7 +10,7 @@ from pygubu.builder.builderobject import BuilderObject, register_widget from pygubu.binding import remove_binding, ApplicationLevelBindManager -__version__ = '0.9.8.4...
Increase version number to sync with pypi.
py
diff --git a/bids/layout/layout.py b/bids/layout/layout.py index <HASH>..<HASH> 100644 --- a/bids/layout/layout.py +++ b/bids/layout/layout.py @@ -191,7 +191,7 @@ class BIDSLayout(object): for c in listify(config)] self.config = {c.name: c for c in config} - index_layout(self, confi...
fix force indexing--make sure arg is passed to indexing
py
diff --git a/test_fuzzywuzzy_hypothesis.py b/test_fuzzywuzzy_hypothesis.py index <HASH>..<HASH> 100644 --- a/test_fuzzywuzzy_hypothesis.py +++ b/test_fuzzywuzzy_hypothesis.py @@ -37,9 +37,9 @@ def scorers_processors(): scorers_processors()) @given(data=st.data()) @settings(max_examples=100) ...
Renamed test - tidied docstring.
py
diff --git a/rapid/main.py b/rapid/main.py index <HASH>..<HASH> 100644 --- a/rapid/main.py +++ b/rapid/main.py @@ -2,8 +2,13 @@ supports = ['html']; def html(): pass +def html_boilerplate(): + with open('boilerplate/html/index.html', 'r') as file: + print file.read() + + def main(): - pri...
added html_boilerplate function
py
diff --git a/scapy/asn1/ber.py b/scapy/asn1/ber.py index <HASH>..<HASH> 100644 --- a/scapy/asn1/ber.py +++ b/scapy/asn1/ber.py @@ -152,10 +152,11 @@ class BERcodec_Object( metaclass = BERcodec_metaclass): context = cls.tag.context cls.check_string(s) p = (s[0]) + print(context, typ...
Minor python3 incompatibility in BER decoder
py
diff --git a/examples/mam_js_send.py b/examples/mam_js_send.py index <HASH>..<HASH> 100644 --- a/examples/mam_js_send.py +++ b/examples/mam_js_send.py @@ -119,9 +119,9 @@ class IotaMamExample(IotaCommandLineApp): transaction_trytes = filter_.cleaned_data # type: List[TransactionTrytes] - if dry_run: - ...
Added output to MAM encryption PoC.
py
diff --git a/telldus/library.py b/telldus/library.py index <HASH>..<HASH> 100644 --- a/telldus/library.py +++ b/telldus/library.py @@ -174,7 +174,7 @@ class Library(object): assert Library._refcount == 0 return - for callback in self._callbacks.keys(): + for callback in list(se...
Iterate over a copy when cleaning up callbacks
py
diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py index <HASH>..<HASH> 100644 --- a/pandas/tests/test_frame.py +++ b/pandas/tests/test_frame.py @@ -4600,6 +4600,20 @@ class TestDataFrame(unittest.TestCase, CheckIndexing, self.assertRaises(ValueError, self.frame2.to_csv, path, ...
TST: refurbished to_csv ignores file mode GH<I>
py
diff --git a/lib/websearch_regression_tests.py b/lib/websearch_regression_tests.py index <HASH>..<HASH> 100644 --- a/lib/websearch_regression_tests.py +++ b/lib/websearch_regression_tests.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- ## ## This file is part of Invenio. -## Copyright (C) 2002, 2003, 2004, 2005, 2006, 20...
WebSearch: inactivate (U(1) OR SL(2,Z)) test case * Inactivates one regression test case for nested parenthesis search that was introduced in a TDD-like style in order to test a feature that is being implemented in another branch. (addresses #<I>)
py
diff --git a/pyIOSXR/iosxr.py b/pyIOSXR/iosxr.py index <HASH>..<HASH> 100644 --- a/pyIOSXR/iosxr.py +++ b/pyIOSXR/iosxr.py @@ -193,6 +193,18 @@ class IOSXR: self.discard_config() raise InvalidInputError(e.message) + + def get_candidate_config(self, merged=False): + """ + Ret...
Added function to get candidate config loaded into the device
py
diff --git a/phy/io/kwik_model.py b/phy/io/kwik_model.py index <HASH>..<HASH> 100644 --- a/phy/io/kwik_model.py +++ b/phy/io/kwik_model.py @@ -643,10 +643,13 @@ class KwikModel(BaseModel): return self._cluster_metadata @property + def cluster_ids(self): + return _unique(self._spike_clusters) +...
Addded model.cluster_ids property.
py
diff --git a/dvc/version.py b/dvc/version.py index <HASH>..<HASH> 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -7,7 +7,7 @@ import os import subprocess -_BASE_VERSION = "0.82.0" +_BASE_VERSION = "0.82.1" def _generate_version(base_version):
dvc: bump to <I>
py
diff --git a/package/cloudshell/tests/test_commands/test_vm_details.py b/package/cloudshell/tests/test_commands/test_vm_details.py index <HASH>..<HASH> 100644 --- a/package/cloudshell/tests/test_commands/test_vm_details.py +++ b/package/cloudshell/tests/test_commands/test_vm_details.py @@ -30,7 +30,7 @@ class TestVmDet...
set wait_for_ip param to True
py
diff --git a/tests/pipeline/test_engine.py b/tests/pipeline/test_engine.py index <HASH>..<HASH> 100644 --- a/tests/pipeline/test_engine.py +++ b/tests/pipeline/test_engine.py @@ -1221,6 +1221,9 @@ class ParameterizedFactorTestCase(WithTradingEnvironment, ZiplineTestCase): expected_5 = rolling_mean((self.raw_da...
DOC: Add comment explaining ADV NaN test expected result calculation.
py
diff --git a/forecastiopy/ForecastIO.py b/forecastiopy/ForecastIO.py index <HASH>..<HASH> 100644 --- a/forecastiopy/ForecastIO.py +++ b/forecastiopy/ForecastIO.py @@ -6,10 +6,11 @@ It then gets the weather data based on those configurations. The resulting object is used by the other classes to get the information. ""...
Move __future__ up and missing property
py
diff --git a/cloudmesh/db/strdb.py b/cloudmesh/db/strdb.py index <HASH>..<HASH> 100644 --- a/cloudmesh/db/strdb.py +++ b/cloudmesh/db/strdb.py @@ -1,3 +1,5 @@ +from builtins import bytes + from ruamel import yaml import os.path @@ -41,8 +43,10 @@ class YamlDB(object): self.flush() def flush(self): +...
fix:dev: strdb works with python 2 and 3
py
diff --git a/upoints/utils.py b/upoints/utils.py index <HASH>..<HASH> 100644 --- a/upoints/utils.py +++ b/upoints/utils.py @@ -442,7 +442,7 @@ class TzOffset(datetime.tzinfo): ISO 8601 style timezone definition """ - super(TzOffset, self).__init__(self) + super(TzOffset, self)....
Fixed deprecation warning with Python <I> and later.
py
diff --git a/Tangelo/web/examples/enron/service/emailers.py b/Tangelo/web/examples/enron/service/emailers.py index <HASH>..<HASH> 100644 --- a/Tangelo/web/examples/enron/service/emailers.py +++ b/Tangelo/web/examples/enron/service/emailers.py @@ -39,9 +39,16 @@ def run(host, database, collection, start_time=None, end_t...
Handling "bad host" error in python service.
py
diff --git a/glad/util.py b/glad/util.py index <HASH>..<HASH> 100644 --- a/glad/util.py +++ b/glad/util.py @@ -19,5 +19,7 @@ def get_glad_version(): import pkg_resources except ImportError: return 'Unknown' - - return pkg_resources.get_distribution('glad').version + try: + return pkg...
util: Fix running GLAD locally with pip installed.
py
diff --git a/grpclib/protocol.py b/grpclib/protocol.py index <HASH>..<HASH> 100644 --- a/grpclib/protocol.py +++ b/grpclib/protocol.py @@ -300,9 +300,6 @@ class Stream: self._h2_connection.end_stream(self.id) self._transport.write(self._h2_connection.data_to_send()) - def end_nowait(self): - ...
Improved Stream.reset_nowait method to send data ASAP, removed unused Stream.end_nowait method
py
diff --git a/tests/test_tax_rates.py b/tests/test_tax_rates.py index <HASH>..<HASH> 100644 --- a/tests/test_tax_rates.py +++ b/tests/test_tax_rates.py @@ -16,8 +16,6 @@ pytestmark = pytest.mark.django_db class TaxRateTest(AssertStripeFksMixin, TestCase): def test___str__(self): tax_rate = TaxRate.sync_fr...
Removed unnecessary TaxRate.refresh_from_db() call Cached percentage values are removed in sync_from_stripe_data
py
diff --git a/pygubu/builder/ttkstdwidgets.py b/pygubu/builder/ttkstdwidgets.py index <HASH>..<HASH> 100644 --- a/pygubu/builder/ttkstdwidgets.py +++ b/pygubu/builder/ttkstdwidgets.py @@ -40,7 +40,7 @@ class TTKLabel(TTKWidgetBO): TTKWidgetBO.OPTIONS_LABEL + ('borderwidth',) OPTIONS_SPECIFIC = ( '...
Added missing 'state' OPTIONS_SPECIFIC for TTKLabel widget
py