diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/motor/core.py b/motor/core.py index <HASH>..<HASH> 100644 --- a/motor/core.py +++ b/motor/core.py @@ -1003,8 +1003,12 @@ class AgnosticBaseCursor(AgnosticBase): return if self.alive and (self.cursor_id or not self.started): - self._get_more().add_done_callback( - ...
MOTOR-<I> Avoid recursion in MotorCursor.each.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,11 +9,22 @@ with open('README.rst') as readme_file: with open('HISTORY.rst') as history_file: history = history_file.read() -with open('requirements.txt') as req_dev_file: - requirements = req_dev_file.read().spl...
return to manual setup.py requirements
py
diff --git a/bcbio/broad/__init__.py b/bcbio/broad/__init__.py index <HASH>..<HASH> 100644 --- a/bcbio/broad/__init__.py +++ b/bcbio/broad/__init__.py @@ -465,7 +465,8 @@ class PicardCmdRunner: def run(self, subcmd, opts, memscale=None): jvm_opts = get_picard_opts(self._config, memscale=memscale) ...
Picard: avoid incompatible Java 7 with JAVA_HOME
py
diff --git a/Adyen/client.py b/Adyen/client.py index <HASH>..<HASH> 100644 --- a/Adyen/client.py +++ b/Adyen/client.py @@ -646,7 +646,7 @@ class AdyenClient(object): else: try: response = json_lib.loads(raw_response) - psp = headers.get('pspReference', response.get(...
added static method to return psp ref from body isntead of header if it exists (#<I>)
py
diff --git a/polyaxon/polyaxon/config_settings/celery_settings.py b/polyaxon/polyaxon/config_settings/celery_settings.py index <HASH>..<HASH> 100644 --- a/polyaxon/polyaxon/config_settings/celery_settings.py +++ b/polyaxon/polyaxon/config_settings/celery_settings.py @@ -58,7 +58,10 @@ class CeleryPublishTask(object): ...
Add N.B. for celery queues and celery tasks
py
diff --git a/synapse/tests/test_lib_layer.py b/synapse/tests/test_lib_layer.py index <HASH>..<HASH> 100644 --- a/synapse/tests/test_lib_layer.py +++ b/synapse/tests/test_lib_layer.py @@ -78,6 +78,10 @@ class LayerTest(s_t_utils.SynTest): async with self.getTestCore(dirn=path01) as core01: + ...
added test coverge for getCellApi paths (#<I>)
py
diff --git a/ants/core/ants_transform_io.py b/ants/core/ants_transform_io.py index <HASH>..<HASH> 100644 --- a/ants/core/ants_transform_io.py +++ b/ants/core/ants_transform_io.py @@ -256,7 +256,7 @@ def transform_from_displacement_field(field): ) -def read_transform(filename, dimension=2, precision="float"): +...
fixes #<I> infer dimension from file if not provided
py
diff --git a/rightscale/rightscale.py b/rightscale/rightscale.py index <HASH>..<HASH> 100644 --- a/rightscale/rightscale.py +++ b/rightscale/rightscale.py @@ -46,6 +46,15 @@ class RightScale(object): self.login() return self._client + @property + def links(self): + response = self.c...
Add ``links`` property to RightScale class. RightScale's HATEOAS implementation starts here. This property provides the link relations to all the resources accessible to the authenticated user.
py
diff --git a/mycluster/version.py b/mycluster/version.py index <HASH>..<HASH> 100644 --- a/mycluster/version.py +++ b/mycluster/version.py @@ -49,7 +49,7 @@ def call_git_describe(abbrev=4): if return_code == 0: p.stderr.close() line = p.stdout.readlines()[0] - return str(li...
decode to utf 8
py
diff --git a/web/ext/authentication/__init__.py b/web/ext/authentication/__init__.py index <HASH>..<HASH> 100755 --- a/web/ext/authentication/__init__.py +++ b/web/ext/authentication/__init__.py @@ -91,6 +91,13 @@ class AuthenticationExtension(object): context._authentication_options.update(handler.__auth_...
Added an after() method to convert <I> HTTP exceptions from predicates to <I> exceptions with the proper challenge included.
py
diff --git a/tests/models.py b/tests/models.py index <HASH>..<HASH> 100644 --- a/tests/models.py +++ b/tests/models.py @@ -60,6 +60,10 @@ class VersatileImageTestUploadDirectoryModel(models.Model): upload_to='./foo/', ) + class Meta: + verbose_name = 'VIF Test Upload Dir Model' + verbos...
Squashing verbose_name length bug in Django <I>.x
py
diff --git a/config.py b/config.py index <HASH>..<HASH> 100644 --- a/config.py +++ b/config.py @@ -82,6 +82,7 @@ PACKAGES_EXCLUDE = [ 'invenio.modules.accounts', 'invenio.modules.annotations', 'invenio.modules.archiver', + 'invenio.modules.cloudconnector', 'invenio.modules.comments', 'inveni...
cloudconnector: module separation * INCOMPATIBLE Separates cloudconnector module to independent Invenio-Cloudconnector package. (addresses #<I>)
py
diff --git a/libraries/botbuilder-core/botbuilder/core/skills/_skill_handler_impl.py b/libraries/botbuilder-core/botbuilder/core/skills/_skill_handler_impl.py index <HASH>..<HASH> 100644 --- a/libraries/botbuilder-core/botbuilder/core/skills/_skill_handler_impl.py +++ b/libraries/botbuilder-core/botbuilder/core/skills/...
Fix get_conversation_reference in skill_handler_impl (#<I>)
py
diff --git a/describe/value/mixins.py b/describe/value/mixins.py index <HASH>..<HASH> 100644 --- a/describe/value/mixins.py +++ b/describe/value/mixins.py @@ -63,7 +63,7 @@ class CollectionMixin(object): for k in (key,) + keys: try: self.value[k] - except IndexError, Ke...
except IndexError, KeyError needs parentheses
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -68,7 +68,7 @@ setup( # Versions should comply with PEP440. For a discussion on # single-sourcing the version across setup.py and the project code, # see http://packaging.python.org/en/latest/tutorial.html#versi...
Out of β! Update to <I>
py
diff --git a/networking_cisco/plugins/cisco/n1kv/n1kv_neutron_plugin.py b/networking_cisco/plugins/cisco/n1kv/n1kv_neutron_plugin.py index <HASH>..<HASH> 100644 --- a/networking_cisco/plugins/cisco/n1kv/n1kv_neutron_plugin.py +++ b/networking_cisco/plugins/cisco/n1kv/n1kv_neutron_plugin.py @@ -102,6 +102,7 @@ class N1k...
Add option to remove networks from dead DHCP agents Networks are removed from dead agents after a certain configurable time. Then unhosted networks could be picked up by alive DHCP agents. The feature is added for all plugins that support DHCP scheduling DocImpact Change-Id: I6ab<I>b<I>f<I>aa1d5de<I>d<I>c<I>f1cb<I>f...
py
diff --git a/instagram.py b/instagram.py index <HASH>..<HASH> 100755 --- a/instagram.py +++ b/instagram.py @@ -243,11 +243,11 @@ if __name__ == "__main__": parser = ArgumentParser(description='Simple downloader to fetch all Instagram pics and '\ 'captions from a given profi...
Parameters -l, -p, -f are no nargs='?' parameters Argument to -l, -p, -f is not optional, it is required. Thus, nargs='?' makes no sense.
py
diff --git a/tests/lax_numpy_test.py b/tests/lax_numpy_test.py index <HASH>..<HASH> 100644 --- a/tests/lax_numpy_test.py +++ b/tests/lax_numpy_test.py @@ -912,7 +912,7 @@ class LaxBackedNumpyTests(jtu.JaxTestCase): Following numpy test suite from `test_repeat` at https://github.com/numpy/numpy/blob/master/numpy/co...
Revert LaxBackedNumpyTests.testCov to use all_dtypes
py
diff --git a/salt/modules/logadm.py b/salt/modules/logadm.py index <HASH>..<HASH> 100644 --- a/salt/modules/logadm.py +++ b/salt/modules/logadm.py @@ -100,8 +100,8 @@ def _parse_options(entry, options, include_unset=True): # NOTE: we loop over the options because values may exist multiple times index = 0 ...
logadm's _parse_options should be better at figuring out the log_file
py
diff --git a/script/create-dist.py b/script/create-dist.py index <HASH>..<HASH> 100755 --- a/script/create-dist.py +++ b/script/create-dist.py @@ -177,7 +177,7 @@ def copy_system_libraries(): for i, library in enumerate(SYSTEM_LIBRARIES): real_library = m.group(1) if real_library.startswith(library):...
Do not copy system libraries with permission bits.
py
diff --git a/cwltool/executors.py b/cwltool/executors.py index <HASH>..<HASH> 100644 --- a/cwltool/executors.py +++ b/cwltool/executors.py @@ -129,10 +129,12 @@ class SingleJobExecutor(JobExecutor): # define provenance profile for single commandline tool if not isinstance(process, Workflow) \ ...
propagate correctly orcid/fullname Also set run UUID corresponding to RO UUID
py
diff --git a/datadog_checks_base/datadog_checks/base/checks/windows/perf_counters/counter.py b/datadog_checks_base/datadog_checks/base/checks/windows/perf_counters/counter.py index <HASH>..<HASH> 100644 --- a/datadog_checks_base/datadog_checks/base/checks/windows/perf_counters/counter.py +++ b/datadog_checks_base/datad...
[PerfCountersBaseCheck] Improve logging when expected counters are not found (#<I>)
py
diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/svtplay.py +++ b/lib/svtplay_dl/service/svtplay.py @@ -115,4 +115,12 @@ class Svtplay(Service, OpenGraphThumbMixin): error, data = get_http_data(match.group(1)) x...
svtplay: support for downloading lastest X episodes
py
diff --git a/chess/uci.py b/chess/uci.py index <HASH>..<HASH> 100644 --- a/chess/uci.py +++ b/chess/uci.py @@ -41,12 +41,12 @@ except ImportError: class Score(collections.namedtuple("Score", "cp mate")): """A *cp* (centipawns) or *mate* score sent by an UCI engine.""" - __slots__ + __slots__ = () cla...
Update `patch-1` Oops, forgot to add `= ()` to those `__slots__`.
py
diff --git a/sentinelhub/config.py b/sentinelhub/config.py index <HASH>..<HASH> 100644 --- a/sentinelhub/config.py +++ b/sentinelhub/config.py @@ -31,6 +31,7 @@ class SHConfig: - `max_download_attempts`: Maximum number of download attempts from a single URL until an error will be raised. - `download_s...
Added a docstring entry to SHConfig
py
diff --git a/bokeh/document.py b/bokeh/document.py index <HASH>..<HASH> 100644 --- a/bokeh/document.py +++ b/bokeh/document.py @@ -417,7 +417,7 @@ class Document(object): ''' for callback in callbacks: - self._callbacks.pop(callback) + del self._callbacks[callback] def _...
really delete the callback as we are not using it anymore
py
diff --git a/ipyrad/core/assembly.py b/ipyrad/core/assembly.py index <HASH>..<HASH> 100644 --- a/ipyrad/core/assembly.py +++ b/ipyrad/core/assembly.py @@ -109,7 +109,7 @@ class Assembly(object): "profile" : "default", "engines" : "Local", "quiet" : 0, - "timeout" : 4...
also make longer timeout in _ipcluster dict of Assembly object
py
diff --git a/salt/modules/tomcat.py b/salt/modules/tomcat.py index <HASH>..<HASH> 100644 --- a/salt/modules/tomcat.py +++ b/salt/modules/tomcat.py @@ -21,8 +21,9 @@ def __catalina_home(): locations = ['/usr/share/tomcat*', '/opt/tomcat'] for location in locations: catalina_home = glob.glob(location) ...
Correcting a logic error where for loop would continue instead of returning when the catalina_home is found. Additionally using glob.glob('/usr/local/tomcat*') might be dangerous because it could return invalid catalina_homes:: >>> import glob >>> glob.glob( '/usr/share/tomcat*' ) ['/usr/share/tomcat7-root', '/usr...
py
diff --git a/pylint/lint.py b/pylint/lint.py index <HASH>..<HASH> 100644 --- a/pylint/lint.py +++ b/pylint/lint.py @@ -1774,7 +1774,6 @@ group are mutually exclusive.", if linter.config.exit_zero: sys.exit(0) else: - print(score_value, linter.config.fail_under) ...
Remove unintentional debug statement
py
diff --git a/sigal/__init__.py b/sigal/__init__.py index <HASH>..<HASH> 100644 --- a/sigal/__init__.py +++ b/sigal/__init__.py @@ -40,7 +40,7 @@ try: __version__ = get_distribution(__name__).version except DistributionNotFound: # package is not installed - pass + __version__ = None __url__ = 'https:...
Make sure __version__ is defined (fix #<I>)
py
diff --git a/config_resolver.py b/config_resolver.py index <HASH>..<HASH> 100644 --- a/config_resolver.py +++ b/config_resolver.py @@ -77,7 +77,33 @@ class Config(ConfigResolverBase): self.app_name.upper()) self.load(require_load=require_load) + def get_xdg_dirs(self): + """ + R...
Added methods handling the XDG basedir spec.
py
diff --git a/tests/test_sctp.py b/tests/test_sctp.py index <HASH>..<HASH> 100644 --- a/tests/test_sctp.py +++ b/tests/test_sctp.py @@ -109,7 +109,7 @@ class SctpAssociationTest(TestCase): # shutdown run(client.abort()) - run(asyncio.sleep(0)) + run(asyncio.sleep(0.5)) self.ass...
[tests] sleep a bit
py
diff --git a/contract/migrations/12.0.4.0.0/pre-migration.py b/contract/migrations/12.0.4.0.0/pre-migration.py index <HASH>..<HASH> 100644 --- a/contract/migrations/12.0.4.0.0/pre-migration.py +++ b/contract/migrations/12.0.4.0.0/pre-migration.py @@ -97,11 +97,18 @@ def create_contract_records(cr): INSERT INTO...
[MIG][FIX] contract: Move contracts, but disable them There were an error in previous query for moving only contracts with the mark checked, but it's also more logic to move them, but remain them disabled.
py
diff --git a/slave/buildslave/commands/removed.py b/slave/buildslave/commands/removed.py index <HASH>..<HASH> 100644 --- a/slave/buildslave/commands/removed.py +++ b/slave/buildslave/commands/removed.py @@ -28,7 +28,7 @@ class RemovedSourceCommand(base.SourceBaseCommand): class Svn(RemovedSourceCommand): - name...
fix deprecated source step name: 'git' => 'Svn'
py
diff --git a/pyemma/coordinates/util/patches.py b/pyemma/coordinates/util/patches.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/util/patches.py +++ b/pyemma/coordinates/util/patches.py @@ -87,8 +87,9 @@ def iterload(filename, chunk=100, **kwargs): topology = _parse_topology(top) if chunk % str...
[coor/util/patches] removed check if stride is divisor of chunksize (so far no effects with multiple tests for lag/stride/chunksize combinations). Asked this mdtraj/mdtraj#<I>
py
diff --git a/pandas/core/arrays/datetimelike.py b/pandas/core/arrays/datetimelike.py index <HASH>..<HASH> 100644 --- a/pandas/core/arrays/datetimelike.py +++ b/pandas/core/arrays/datetimelike.py @@ -1066,7 +1066,7 @@ class DatetimeLikeArrayMixin( @property # NB: override with cache_readonly in immutable subclasse...
Fix typo (#<I>)
py
diff --git a/discord/client.py b/discord/client.py index <HASH>..<HASH> 100644 --- a/discord/client.py +++ b/discord/client.py @@ -1187,7 +1187,7 @@ class Client: Parameters ----------- - channel : :class:`Channel` + channel : :class:`Channel` or :class:`PrivateChannel` Th...
Clarify that Client.logs_from can take a PrivateChannel too.
py
diff --git a/tests/misc/print_exception.py b/tests/misc/print_exception.py index <HASH>..<HASH> 100644 --- a/tests/misc/print_exception.py +++ b/tests/misc/print_exception.py @@ -7,7 +7,7 @@ else: print_exception = lambda e, f: traceback.print_exception(None, e, None, file=f) try: - 1/0 + XXX except Exce...
tests: Fix print_exception.py to work on Travis CI.
py
diff --git a/bokeh/util/callback_manager.py b/bokeh/util/callback_manager.py index <HASH>..<HASH> 100644 --- a/bokeh/util/callback_manager.py +++ b/bokeh/util/callback_manager.py @@ -55,6 +55,8 @@ class CallbackManager(object): None ''' + if len(callbacks) == 0: + raise ValueEr...
Raise error if you don't pass a callback to PlotObject.on_change This failed in a confusing way previously if you left out the attr parameter so your attr was a function and you had no callback.
py
diff --git a/libargos/qt/misc.py b/libargos/qt/misc.py index <HASH>..<HASH> 100644 --- a/libargos/qt/misc.py +++ b/libargos/qt/misc.py @@ -84,11 +84,12 @@ def initQApplication(): Returns the application. """ - # PyQtGraph requires raster graphics system. - #graphicsSystem = "raster" # rast...
Only use raster Qt graphics system by default when running OS-X
py
diff --git a/algorithms/formula.py b/algorithms/formula.py index <HASH>..<HASH> 100644 --- a/algorithms/formula.py +++ b/algorithms/formula.py @@ -34,7 +34,7 @@ def erf(x): def gaussian_prob_le(mu, sigma, x): if sigma == 0: - return 1 + return 1 if mu <= x else 0 z = (x - mu) / (sigma * sqrt(...
fix bug when sigma is zero in algorithms.formula.gaussian_prob_le()
py
diff --git a/knittingpattern/Dumper.py b/knittingpattern/Dumper.py index <HASH>..<HASH> 100644 --- a/knittingpattern/Dumper.py +++ b/knittingpattern/Dumper.py @@ -252,6 +252,7 @@ class JSONDumper(ContentDumper): class XMLDumper(ContentDumper): """Used to dump objects as XML. Useful for dumping SVGs.""" + d...
Updated the Dumper so its documentation is recognized
py
diff --git a/saltcloud/clouds/aws.py b/saltcloud/clouds/aws.py index <HASH>..<HASH> 100644 --- a/saltcloud/clouds/aws.py +++ b/saltcloud/clouds/aws.py @@ -409,7 +409,11 @@ def del_tags(name, kwargs): def rename(name, kwargs): ''' - Properly rename a node + Properly rename a node. Pass in the new name as "...
Adding usage info to the docstring for rename
py
diff --git a/test/unit/test_generators.py b/test/unit/test_generators.py index <HASH>..<HASH> 100644 --- a/test/unit/test_generators.py +++ b/test/unit/test_generators.py @@ -25,10 +25,6 @@ class GeneratorTest(): im = ps.generators.cylinders(shape=[50, 50, 50], r=1, ncylinders=20) assert np.shape(im.s...
Removed redundant test for cylinders
py
diff --git a/pysat/_meta.py b/pysat/_meta.py index <HASH>..<HASH> 100644 --- a/pysat/_meta.py +++ b/pysat/_meta.py @@ -3,7 +3,17 @@ from __future__ import absolute_import import os import pandas as pds +# python 2/3 compatibility +try: + basestring +except NameError: + print ('setting basestring') + basest...
Improved python 2/3 compatibility code
py
diff --git a/injector.py b/injector.py index <HASH>..<HASH> 100644 --- a/injector.py +++ b/injector.py @@ -993,10 +993,7 @@ def with_injector(*injector_args, **injector_kwargs): def setup(self_, *args, **kwargs): injector = Injector(*injector_args, **injector_kwargs) injector.install_...
Don't uninstall injector after @with_injector.
py
diff --git a/enocean/protocol/eep.py b/enocean/protocol/eep.py index <HASH>..<HASH> 100644 --- a/enocean/protocol/eep.py +++ b/enocean/protocol/eep.py @@ -167,12 +167,12 @@ class EEP(object): profile = self.telegrams[eep_rorg][rorg_func][rorg_type] - if eep_rorg == RORG.VLD: - # For VLD; ...
Support command for any rorg (#<I>)
py
diff --git a/stix2validator/validator.py b/stix2validator/validator.py index <HASH>..<HASH> 100644 --- a/stix2validator/validator.py +++ b/stix2validator/validator.py @@ -516,7 +516,7 @@ def find_schema(schema_dir, obj_type): schema_filename = obj_type + '.json' for root, dirnames, filenames in os.walk(sche...
Fixed path traversal issue with infrastructure keyword wihtin indicator test file and fixed py3 issue with iterating strings
py
diff --git a/s3conf/client.py b/s3conf/client.py index <HASH>..<HASH> 100644 --- a/s3conf/client.py +++ b/s3conf/client.py @@ -95,11 +95,11 @@ def env(section, map_files, phusion, phusion_path, quiet, edit, create): settings = config.Settings(section=section) conf = s3conf.S3Conf(settings=settings) ...
do not execute read operations after write operations
py
diff --git a/crosscat/MultiprocessingEngine.py b/crosscat/MultiprocessingEngine.py index <HASH>..<HASH> 100644 --- a/crosscat/MultiprocessingEngine.py +++ b/crosscat/MultiprocessingEngine.py @@ -42,6 +42,15 @@ class MultiprocessingEngine(LE.LocalEngine): self.pool = multiprocessing.Pool(cpu_count) sel...
Fixes bug If multiprocessing engine is initialized many times it can cause an error, e.g., OSError: [Errno <I>] Too many open files we need to terminate the pool when we del or a function is done running because python doesn't.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,11 @@ +import os from setuptools import setup +version = os.environ.get("BAMBOU_VERSION", "0.0.1") + setup( name='bambou', - version='0.0.1', + version=version, author='Christophe Serafin', au...
pass version (for jenkins)
py
diff --git a/tests/tests.py b/tests/tests.py index <HASH>..<HASH> 100755 --- a/tests/tests.py +++ b/tests/tests.py @@ -10,6 +10,7 @@ import os,sys sys.path.append('./../') import firebirdsql +from firebirdsql import services def debug_print(msg): print(msg) @@ -111,10 +112,10 @@ if __name__ == '__main__': ...
services api separate from fbcore.py (in test code)
py
diff --git a/ELiDE/ELiDE/screen.py b/ELiDE/ELiDE/screen.py index <HASH>..<HASH> 100644 --- a/ELiDE/ELiDE/screen.py +++ b/ELiDE/ELiDE/screen.py @@ -481,6 +481,7 @@ class CharMenuContainer(BoxLayout): screen=self.screen, size_hint_y=0.9 ) + self.bind(screen=self.charmenu.setter('...
Prevent a crash on opening Rules Unfortunately Rules doesn't display anything right now for some reason
py
diff --git a/django_extensions/management/modelviz.py b/django_extensions/management/modelviz.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/modelviz.py +++ b/django_extensions/management/modelviz.py @@ -92,8 +92,9 @@ class ModelGraph(object): for graph in self.graphs: for model...
fix for issue #<I> error when generating graph with either include or exclude set
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,14 @@ setup( packages=find_packages(), zip_safe=False, include_package_data=True, - install_requires=["python-gnupg", "sphinx-me"], + install_requires=[ + "python-gnupg" + ], + extra...
Don't require sphinx on installation, only for the 'dev' requirements
py
diff --git a/core/basic.py b/core/basic.py index <HASH>..<HASH> 100644 --- a/core/basic.py +++ b/core/basic.py @@ -40,6 +40,9 @@ class BasicTokenUtil(object): return result def ascii2token(self, ascii_code, debug=False): + """ + TODO: replace no tokens in comments and strings + """ ...
TODO: Don't replace reversed words into tokens in comments and strings.
py
diff --git a/tensorboard/pip_package/setup.py b/tensorboard/pip_package/setup.py index <HASH>..<HASH> 100644 --- a/tensorboard/pip_package/setup.py +++ b/tensorboard/pip_package/setup.py @@ -34,7 +34,6 @@ REQUIRED_PACKAGES = [ 'html5lib == 0.9999999', # identical to 1.0b8 'markdown >= 2.6.8', 'bleach ==...
Remove tensorflow from tensorboard's list of required packages (#<I>) This change removes a cycle in required packages. Previously, tensorboard had required tensorflow, which had required tensorboard. This led to issues such as #<I>.
py
diff --git a/pyxel/editor/overlay_canvas.py b/pyxel/editor/overlay_canvas.py index <HASH>..<HASH> 100644 --- a/pyxel/editor/overlay_canvas.py +++ b/pyxel/editor/overlay_canvas.py @@ -3,7 +3,7 @@ import numpy as np class OverlayCanvas: def __init__(self): - self.data = np.ndarray((16, 16), np.int8) + ...
Changed the type of the data array
py
diff --git a/examples/example04.py b/examples/example04.py index <HASH>..<HASH> 100644 --- a/examples/example04.py +++ b/examples/example04.py @@ -5,11 +5,8 @@ import numpy as np import pysra -soil_type = pysra.site.SoilType( - 'Soil', 18., - pysra.site.DarendeliNonlinearProperty(0, 1, 0.5, param='mod_reduc'...
Changed to Darendeli soiltype.
py
diff --git a/pyghmi/ipmi/private/session.py b/pyghmi/ipmi/private/session.py index <HASH>..<HASH> 100644 --- a/pyghmi/ipmi/private/session.py +++ b/pyghmi/ipmi/private/session.py @@ -403,6 +403,9 @@ class Session(object): del Session.bmc_handlers[sockaddr] if self.sol_handler: ...
Correct pool usage count on failed login If trying to establish a session and an error occurs, pyghmi was not decrementing the usage count on the pool, leading for more than expected filehandles being created over time. Fix this by correctly decrementing the count in the case where something is not yet broken, but is...
py
diff --git a/multiqc/utils/report.py b/multiqc/utils/report.py index <HASH>..<HASH> 100644 --- a/multiqc/utils/report.py +++ b/multiqc/utils/report.py @@ -290,7 +290,6 @@ def get_filelist(run_module_names): console = rich.console.Console( stderr=True, highlight=False, - force_terminal=util...
Don't force terminal escape codes for the progress bar
py
diff --git a/salt/utils/__init__.py b/salt/utils/__init__.py index <HASH>..<HASH> 100644 --- a/salt/utils/__init__.py +++ b/salt/utils/__init__.py @@ -2068,19 +2068,31 @@ def parse_docstring(docstring): return ret -def print_cli(msg): +def print_cli(msg, retries=10, step=0.01): ''' Wrapper around...
Make print_cli resilient on slow systems
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,11 +14,11 @@ execfile(os.path.join(os.path.dirname(__file__), 'ecstatic', 'pkgmeta.py'), setup( - name='django-ecstatic', + name=pkgmeta['__title__'], version=pkgmeta['__version__'], description='An ex...
Get more from pkgmeta
py
diff --git a/matgendb/creator.py b/matgendb/creator.py index <HASH>..<HASH> 100644 --- a/matgendb/creator.py +++ b/matgendb/creator.py @@ -551,11 +551,9 @@ class VaspToDbTaskDrone(AbstractDrone): sg = SymmetryFinder(Structure.from_dict(d["output"]["crystal"]), 0.1) - ...
remove troublesome unicode conversions If SymmetryFinder starts returning weird things, probably a bug there
py
diff --git a/Qt.py b/Qt.py index <HASH>..<HASH> 100644 --- a/Qt.py +++ b/Qt.py @@ -53,11 +53,12 @@ def _pyqt4(): sip.setapi("QTextStream", 2) sip.setapi("QTime", 2) sip.setapi("QUrl", 2) - except AttributeError: - raise AttributeError("Qt.py error: PyQt version < 4.6 not supported")...
Raise ImportError if PyQt4 < <I> or API was already set
py
diff --git a/cov_core.py b/cov_core.py index <HASH>..<HASH> 100644 --- a/cov_core.py +++ b/cov_core.py @@ -28,6 +28,27 @@ except ImportError: pass +_cov_data = dict() + + +def on_py_fork_starts(proc): + cov = cov_core_init.init() + _cov_data[proc] = cov + + +def on_py_fork_exits(proc): + cov = _cov_da...
Added support for py.process.ForkedFunc
py
diff --git a/raiden_contracts/tests/test_channel_settle.py b/raiden_contracts/tests/test_channel_settle.py index <HASH>..<HASH> 100644 --- a/raiden_contracts/tests/test_channel_settle.py +++ b/raiden_contracts/tests/test_channel_settle.py @@ -439,6 +439,14 @@ def test_settle_wrong_state_fail( # Channel is settled ...
Add post settle check (PR review) As mentioned <URL>
py
diff --git a/scapy.py b/scapy.py index <HASH>..<HASH> 100755 --- a/scapy.py +++ b/scapy.py @@ -1897,16 +1897,22 @@ class BERcodec_SEQUENCE(BERcodec_Object): def do_dec(cls, s, context=None, safe=False): if context is None: context = cls.tag.context - l,s,t = cls.check_type_check_len(s)...
Changed BERcodec_SEQUENCE to decode as much as possible from truncated inputs
py
diff --git a/pyup/updates.py b/pyup/updates.py index <HASH>..<HASH> 100644 --- a/pyup/updates.py +++ b/pyup/updates.py @@ -73,7 +73,7 @@ class SequentialUpdate(Update): def get_updates(self): for key, updates in self.items(): - requirement = updates[0] + requirement = updates[0].re...
need the requirement here, not the update
py
diff --git a/article.py b/article.py index <HASH>..<HASH> 100644 --- a/article.py +++ b/article.py @@ -167,7 +167,7 @@ class Article(object): import output, tocncx output.generateHierarchy(directory) self.fetchImages() - output.generateMain(self.inputstring, directory) + ...
Removing references to output.generateMain()
py
diff --git a/wikidataintegrator/wdi_core.py b/wikidataintegrator/wdi_core.py index <HASH>..<HASH> 100755 --- a/wikidataintegrator/wdi_core.py +++ b/wikidataintegrator/wdi_core.py @@ -200,13 +200,14 @@ class WDItemEngine(object): self.data = [] def init_fastrun(self): - for c in self.fast_run_...
minor change in fastrun behaviour, for multithreading
py
diff --git a/txKeystone/keystone.py b/txKeystone/keystone.py index <HASH>..<HASH> 100644 --- a/txKeystone/keystone.py +++ b/txKeystone/keystone.py @@ -249,6 +249,7 @@ class KeystoneAgent(object): }), self._getAuthRequestBodyProducer()) ...
Add missing return - should return a Deferred.
py
diff --git a/nodeconductor/structure/views.py b/nodeconductor/structure/views.py index <HASH>..<HASH> 100644 --- a/nodeconductor/structure/views.py +++ b/nodeconductor/structure/views.py @@ -478,9 +478,13 @@ class UserViewSet(viewsets.ModelViewSet): connected_customers = list(connected_customers_query.al...
Modify potential user filtering - To allow listing of potential users belonging to multiple organizations.
py
diff --git a/Lib/fontParts/fontshell/point.py b/Lib/fontParts/fontshell/point.py index <HASH>..<HASH> 100644 --- a/Lib/fontParts/fontshell/point.py +++ b/Lib/fontParts/fontshell/point.py @@ -17,7 +17,7 @@ class RPoint(RBaseObject, BasePoint): if contour is None: return contour.naked().pos...
set .dirty on naked(), not self; likely fixes #<I> and #<I> (#<I>)
py
diff --git a/ipywidgets/widgets/widget_selection.py b/ipywidgets/widgets/widget_selection.py index <HASH>..<HASH> 100644 --- a/ipywidgets/widgets/widget_selection.py +++ b/ipywidgets/widgets/widget_selection.py @@ -439,7 +439,7 @@ class ToggleButtons(_Selection): button_style = CaselessStrEnum( values=[...
Revert the part of <I>dda6e<I>da<I>b<I>d6f<I>ae<I>e<I>f9 that is backwards incompatible. Since the change is a backwards-incompatible change in the spec, we’ll need to wait until we update the spec to make the change.
py
diff --git a/plip/modules/preparation.py b/plip/modules/preparation.py index <HASH>..<HASH> 100644 --- a/plip/modules/preparation.py +++ b/plip/modules/preparation.py @@ -308,7 +308,7 @@ class BindingSite(Mol): self.halogenbond_acc = self.find_hal(self.all_atoms) def find_hal(self, atoms): - """L...
Updates docstring for halogen bonds.
py
diff --git a/telethon/client/messages.py b/telethon/client/messages.py index <HASH>..<HASH> 100644 --- a/telethon/client/messages.py +++ b/telethon/client/messages.py @@ -800,7 +800,7 @@ class MessageMethods(UploadMethods, ButtonMethods, MessageParseMethods): # arbitrary chats. Validate these unless ``from_id ...
Fix getting messages by ID for private chats
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.91.2" +_BASE_VERSION = "0.91.3" def _generate_version(base_version):
dvc: bump to <I>
py
diff --git a/jax/interpreters/partial_eval.py b/jax/interpreters/partial_eval.py index <HASH>..<HASH> 100644 --- a/jax/interpreters/partial_eval.py +++ b/jax/interpreters/partial_eval.py @@ -424,7 +424,7 @@ def instantiate_const_at(trace, instantiate, tracer): return pack(map(partial(instantiate_const_at, trace), ...
fix a case of const instantiation for scan
py
diff --git a/oplus/idf.py b/oplus/idf.py index <HASH>..<HASH> 100644 --- a/oplus/idf.py +++ b/oplus/idf.py @@ -479,6 +479,10 @@ class IDFObjectManager(Cached): else: raise IDFError("Unknown detailed type: '%s'." % fieldd.detailed_type) + # remove if last field and emptied + if (len...
idf debug: last field is removed if set to None
py
diff --git a/pancloud/credentials.py b/pancloud/credentials.py index <HASH>..<HASH> 100644 --- a/pancloud/credentials.py +++ b/pancloud/credentials.py @@ -105,6 +105,9 @@ class Credentials(object): @property def access_token(self): """Get access_token""" + if self.cache_token: + ret...
Resolve access_token if cache_token is True
py
diff --git a/searx/engines/duckduckgo.py b/searx/engines/duckduckgo.py index <HASH>..<HASH> 100644 --- a/searx/engines/duckduckgo.py +++ b/searx/engines/duckduckgo.py @@ -53,6 +53,7 @@ time_range_dict = { url = 'https://lite.duckduckgo.com/lite' url_ping = 'https://duckduckgo.com/t/sl_l' + # match query's language...
[fix] DDG engine format and remove logger
py
diff --git a/lib/methods/composer.py b/lib/methods/composer.py index <HASH>..<HASH> 100644 --- a/lib/methods/composer.py +++ b/lib/methods/composer.py @@ -7,7 +7,7 @@ class ComposerMethod(BaseMethod): return methodName == 'composer' def getArgs(self,config): - args = '' + args = '-n' if config['typ...
use composer non-interactively.
py
diff --git a/typedload/dataloader.py b/typedload/dataloader.py index <HASH>..<HASH> 100644 --- a/typedload/dataloader.py +++ b/typedload/dataloader.py @@ -434,7 +434,7 @@ def _unionload(l: Loader, value, type_) -> Any: exceptions = [] # Give a score to the types, [ (score, type), ... ] - scored: List[Tup...
Fix type annotation for older python versions
py
diff --git a/test/steps/client.py b/test/steps/client.py index <HASH>..<HASH> 100644 --- a/test/steps/client.py +++ b/test/steps/client.py @@ -12,13 +12,13 @@ use_step_matcher("re") @given("I start with a clean broker") def create_the_queues(context): - context.request_queue = context.broker.add_queue('test.req'...
Remove hardcoded 'test' from queue names.
py
diff --git a/virus_total_apis/test/test_virustotal_api.py b/virus_total_apis/test/test_virustotal_api.py index <HASH>..<HASH> 100644 --- a/virus_total_apis/test/test_virustotal_api.py +++ b/virus_total_apis/test/test_virustotal_api.py @@ -22,7 +22,7 @@ from virus_total_apis import ApiError, PublicApi # I created an ac...
i suck at python3
py
diff --git a/features/eolearn/tests/test_blob.py b/features/eolearn/tests/test_blob.py index <HASH>..<HASH> 100644 --- a/features/eolearn/tests/test_blob.py +++ b/features/eolearn/tests/test_blob.py @@ -36,9 +36,9 @@ def test_blob_feature(small_ndvi_eopatch): BLOB_TESTS = [ [DoGBlobTask(FEATURE, threshold=0), 0...
Disable test for <I>, discrepancy too large
py
diff --git a/pyemma/coordinates/data/writer.py b/pyemma/coordinates/data/writer.py index <HASH>..<HASH> 100644 --- a/pyemma/coordinates/data/writer.py +++ b/pyemma/coordinates/data/writer.py @@ -74,8 +74,7 @@ class WriterCSV(Transformer): pass try: - mode = 'w' if PY3 else 'wb' - ...
[py3 compatibility/csv writer] open csv file with newline='' as suggested [here](<URL>)
py
diff --git a/common/vr/common/utils.py b/common/vr/common/utils.py index <HASH>..<HASH> 100644 --- a/common/vr/common/utils.py +++ b/common/vr/common/utils.py @@ -59,13 +59,14 @@ class CommandException(Exception): """ def __init__(self, result): + params = { + 'command': result.command, + ...
Update syntax to remove style warnings.
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, find_packages setup(name="django-smart-selects", - version="1.0.5", + version="1.0.6", description="Django application to handle chained model fiel...
update version to <I> (SMART_SELECTS_URL_PREFIX)
py
diff --git a/kaleo/views.py b/kaleo/views.py index <HASH>..<HASH> 100644 --- a/kaleo/views.py +++ b/kaleo/views.py @@ -1,18 +1,18 @@ +import json + from django import http -from django.utils import simplejson as json -from django.views.decorators.http import require_http_methods +from django.views.decorators.http impo...
Update view to use different imports/decorators 1. We can generally expect the json module to be available now, so no need to use what ships with django 2. require_POST is just simpler and more direct 3. Using login_required is clearer as well instead of using custom logic.
py
diff --git a/gridData/OpenDX.py b/gridData/OpenDX.py index <HASH>..<HASH> 100644 --- a/gridData/OpenDX.py +++ b/gridData/OpenDX.py @@ -313,7 +313,7 @@ class field(DXclass): def sorted_components(self): """iterator that returns (component,object) in id order""" for component, object in \ - ...
fixed TypeError for lambda in OpenDX writing
py
diff --git a/marshmallow_peewee/convert.py b/marshmallow_peewee/convert.py index <HASH>..<HASH> 100644 --- a/marshmallow_peewee/convert.py +++ b/marshmallow_peewee/convert.py @@ -48,6 +48,7 @@ class ModelConverter(object): pw.PrimaryKeyField: fields.Integer, pw.IntegerField: fields.Integer, p...
Added Small Integer Field to TYPE_MAPPING
py
diff --git a/scripts/run_tsfresh.py b/scripts/run_tsfresh.py index <HASH>..<HASH> 100644 --- a/scripts/run_tsfresh.py +++ b/scripts/run_tsfresh.py @@ -34,8 +34,7 @@ def _preprocess(df): master_df = pd.DataFrame(df_t[0]) master_df['id'] = 0 - df_range = (len(list(df)) - 1) - for i in range(0, df_range): + for i in...
Update run_tsfresh.py
py
diff --git a/testing/testing/unit_tests/tests.py b/testing/testing/unit_tests/tests.py index <HASH>..<HASH> 100644 --- a/testing/testing/unit_tests/tests.py +++ b/testing/testing/unit_tests/tests.py @@ -91,7 +91,9 @@ class InplaceTestCase(TestCase): value = getattr(obj, field_name) if isinstan...
The file should be open like binary file, this got an error with python3
py
diff --git a/tmsetup/__init__.py b/tmsetup/__init__.py index <HASH>..<HASH> 100644 --- a/tmsetup/__init__.py +++ b/tmsetup/__init__.py @@ -0,0 +1,16 @@ +# TmSetup - Automated setup and deployment of TissueMAPS in the cloud. +# Copyright (C) 2016 Markus D. Herrmann, University of Zurich + +# This program is free softwa...
Make __version__ available at package level
py
diff --git a/salt/master.py b/salt/master.py index <HASH>..<HASH> 100644 --- a/salt/master.py +++ b/salt/master.py @@ -195,12 +195,11 @@ class Master(SMaster): ckminions = salt.utils.minions.CkMinions(self.opts) event = salt.utils.event.MasterEvent(self.opts['sock_dir']) - pillargitfs = None ...
Issue #<I>: GitPillar.update called on 1st branch GitPillar.update was only called for first entry in ext_pillar, which usually is the master branch.
py
diff --git a/hearthstone/cardxml.py b/hearthstone/cardxml.py index <HASH>..<HASH> 100644 --- a/hearthstone/cardxml.py +++ b/hearthstone/cardxml.py @@ -168,11 +168,12 @@ class CardXML(object): e.text = value for tag, value in sorted(self.tags.items()): - e = _make_tag_element(ret, "Tag", tag, value) + if v...
cardxml: Only write out tag values if they are nonzero
py
diff --git a/oasis/tests/test_passive.py b/oasis/tests/test_passive.py index <HASH>..<HASH> 100644 --- a/oasis/tests/test_passive.py +++ b/oasis/tests/test_passive.py @@ -49,9 +49,9 @@ class TestPassiveSampler: assert self.smplr.t_ == 0 np.testing.assert_equal(self.smplr.cached_labels_, \ ...
Fixed error in tests after adding property decorators
py
diff --git a/salt/loader.py b/salt/loader.py index <HASH>..<HASH> 100644 --- a/salt/loader.py +++ b/salt/loader.py @@ -399,7 +399,7 @@ def runner(opts): load = _create_loader( opts, 'runners', 'runner', ext_type_dirs='runner_dirs' ) - return LazyLoader(load) + return load.gen_functions() d...
Temporary fix for custom runners to load
py