diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/moto/server.py b/moto/server.py index <HASH>..<HASH> 100644 --- a/moto/server.py +++ b/moto/server.py @@ -26,6 +26,8 @@ class RegexConverter(BaseConverter): def configure_urls(service): backend = globals()["{}_backend".format(service)] from werkzeug.routing import Map + # Reset view functions...
Need to reset app view functions to prevent Flask assertion error on resetting view functions.
py
diff --git a/tests/test_main.py b/tests/test_main.py index <HASH>..<HASH> 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -442,3 +442,8 @@ def test_pre_and_post_mutation_hook(single_mutant_filesystem, tmpdir): assert "post mutation stub" in result.output assert result.output.index("pre mutation st...
adding test for running mutmut with the `--simple-output` option
py
diff --git a/helpme/client/__init__.py b/helpme/client/__init__.py index <HASH>..<HASH> 100644 --- a/helpme/client/__init__.py +++ b/helpme/client/__init__.py @@ -101,7 +101,6 @@ def main(): # Customize parser - from helpme.main import Helper parser = get_parser() subparsers = get_subparsers(parse...
fixing bug that helpme --help asks for token to close #<I>
py
diff --git a/modules/engine.py b/modules/engine.py index <HASH>..<HASH> 100644 --- a/modules/engine.py +++ b/modules/engine.py @@ -434,6 +434,7 @@ class GameStage (Stage): self.world.setup() for actor in self.actors: + print actor actor.setup(self.world) def update...
Fixed some world bugs in the setup function.
py
diff --git a/salt/modules/iptables.py b/salt/modules/iptables.py index <HASH>..<HASH> 100644 --- a/salt/modules/iptables.py +++ b/salt/modules/iptables.py @@ -10,7 +10,6 @@ import re import sys import uuid import shlex -import string # Import salt libs import salt.utils @@ -345,10 +344,7 @@ def build_rule(table=...
fix target rule, remove unneeded quotation mark
py
diff --git a/yoti_python_sdk/tests/test_document_details.py b/yoti_python_sdk/tests/test_document_details.py index <HASH>..<HASH> 100644 --- a/yoti_python_sdk/tests/test_document_details.py +++ b/yoti_python_sdk/tests/test_document_details.py @@ -85,8 +85,6 @@ def test_expiration_date_is_dash(): def test_invalid_date(...
SDK-<I>: Add missed opportunity to use pytest.raises
py
diff --git a/perceval/_version.py b/perceval/_version.py index <HASH>..<HASH> 100644 --- a/perceval/_version.py +++ b/perceval/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.9.14" +__version__ = "0.9.15"
Update version number to <I>
py
diff --git a/salt/states/debconfmod.py b/salt/states/debconfmod.py index <HASH>..<HASH> 100644 --- a/salt/states/debconfmod.py +++ b/salt/states/debconfmod.py @@ -36,6 +36,30 @@ set_file .. note:: Due to how PyYAML imports nested dicts (see :ref:`here <yaml-idiosyncrasies>`), the values in the ``data`` dict ...
Porting PR #<I> to <I>
py
diff --git a/salt/thorium/calc.py b/salt/thorium/calc.py index <HASH>..<HASH> 100644 --- a/salt/thorium/calc.py +++ b/salt/thorium/calc.py @@ -10,7 +10,19 @@ values are stored and computed, such as averages etc. # import python libs from __future__ import absolute_import -import statistics + +try: + import stati...
Gate the statistics module (#<I>)
py
diff --git a/trailblazer/mip/files.py b/trailblazer/mip/files.py index <HASH>..<HASH> 100644 --- a/trailblazer/mip/files.py +++ b/trailblazer/mip/files.py @@ -55,7 +55,7 @@ def parse_sampleinfo(data: dict) -> dict: 'sv_vcf_binary_file' in data else None), 'research_vcf': (data...
fix issue getting path of SV bcf file
py
diff --git a/cheroot/test/test_ssl.py b/cheroot/test/test_ssl.py index <HASH>..<HASH> 100644 --- a/cheroot/test/test_ssl.py +++ b/cheroot/test/test_ssl.py @@ -315,6 +315,16 @@ def test_tls_client_auth( assert resp.text == 'Hello world!' return + # xfail some flaky tests + # htt...
Disable some flaky tests. Ref #<I>.
py
diff --git a/malcolm/modules/xspress3/blocks/__init__.py b/malcolm/modules/xspress3/blocks/__init__.py index <HASH>..<HASH> 100644 --- a/malcolm/modules/xspress3/blocks/__init__.py +++ b/malcolm/modules/xspress3/blocks/__init__.py @@ -1,6 +1,7 @@ from malcolm.yamlutil import check_yaml_names, make_block_creator xsp...
added dtc block to __init__.py
py
diff --git a/pysoundfile.py b/pysoundfile.py index <HASH>..<HASH> 100644 --- a/pysoundfile.py +++ b/pysoundfile.py @@ -222,7 +222,7 @@ class SoundFile(object): """ def __init__(self, name, sample_rate=0, channels=0, format=0, - file_mode=read_write_mode): + mode=read_write_mo...
changed file_mode to mode for consistency
py
diff --git a/allegedb/allegedb/tests/test_load.py b/allegedb/allegedb/tests/test_load.py index <HASH>..<HASH> 100644 --- a/allegedb/allegedb/tests/test_load.py +++ b/allegedb/allegedb/tests/test_load.py @@ -4,14 +4,14 @@ from allegedb import ORM import networkx as nx -scalefreestart = nx.MultiDiGraph(name='scale_f...
Correct the names of those test graphs
py
diff --git a/openquake/calculators/risk/general.py b/openquake/calculators/risk/general.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/risk/general.py +++ b/openquake/calculators/risk/general.py @@ -213,7 +213,7 @@ class BaseRiskCalculator(base.CalculatorNext): # If this was an existing model, it...
honor force_inputs in risk
py
diff --git a/can/notifier.py b/can/notifier.py index <HASH>..<HASH> 100644 --- a/can/notifier.py +++ b/can/notifier.py @@ -118,9 +118,9 @@ class Notifier: self.exception = exc if self._loop is not None: self._loop.call_soon_threadsafe(self._on_error, exc) - else: - ...
Notifier no longer raises handled exceptions in rx_thread (#<I>)
py
diff --git a/src/cr/cube/cube_slice.py b/src/cr/cube/cube_slice.py index <HASH>..<HASH> 100644 --- a/src/cr/cube/cube_slice.py +++ b/src/cr/cube/cube_slice.py @@ -118,8 +118,10 @@ class CubeSlice(object): def _call_cube_method(self, method, *args, **kwargs): kwargs = self._update_args(kwargs) res...
[#<I>]: Fix test failures after rebase
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,6 @@ import os from setuptools import setup install_requires=[ - 'tensorflow', 'numpy', 'six', 'scipy',
removed tensorflow from install_requires
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ setup( author_email='joachim.ungar@gmail.com', url='https://github.com/ungarj/tilematrix', license='MIT', - packages=['tilematrix'], + packages=['tilematrix', 'tilematrix.tmx'], entry_p...
attempt to fix tmx command when installing tilematrix via pip
py
diff --git a/km3pipe/io/tests/test_h5.py b/km3pipe/io/tests/test_h5.py index <HASH>..<HASH> 100644 --- a/km3pipe/io/tests/test_h5.py +++ b/km3pipe/io/tests/test_h5.py @@ -199,7 +199,6 @@ class TestH5Sink(TestCase): assert version == h5file.root._v_attrs.km3pipe.decode() assert tb.__version__ =...
Don't check for jpp version
py
diff --git a/lyricsgenius/api/api.py b/lyricsgenius/api/api.py index <HASH>..<HASH> 100644 --- a/lyricsgenius/api/api.py +++ b/lyricsgenius/api/api.py @@ -177,11 +177,9 @@ class API(Sender): for y in x['annotations'] if y['verified']] """ msg = "Must supply `song_id`, `web...
reverted back to assert for now
py
diff --git a/vimball/utils.py b/vimball/utils.py index <HASH>..<HASH> 100644 --- a/vimball/utils.py +++ b/vimball/utils.py @@ -6,7 +6,7 @@ def mkdir_p(path): try: os.makedirs(path) except OSError as e: - if e.errno == errno.EEXIST: + if e.errno == errno.EEXIST and os.path.isdir(path): ...
utils: only allow mkdir_p to not raise OSError on existing dirs Trying to make new dirs on top of existing files or other objects should raise an exception.
py
diff --git a/cwltool/executors.py b/cwltool/executors.py index <HASH>..<HASH> 100644 --- a/cwltool/executors.py +++ b/cwltool/executors.py @@ -179,6 +179,7 @@ class SingleJobExecutor(JobExecutor): prov_obj = job.prov_obj if prov_obj: run...
Added fsaccess regeneration for prov object generation
py
diff --git a/ratcave/console_scripts/arena_scanner.py b/ratcave/console_scripts/arena_scanner.py index <HASH>..<HASH> 100644 --- a/ratcave/console_scripts/arena_scanner.py +++ b/ratcave/console_scripts/arena_scanner.py @@ -390,6 +390,7 @@ if __name__ == '__main__': ax = plot_3d(points, square_axis=True) for i...
put imports inside functions to make more portable, for when doing projector calibration script.
py
diff --git a/src/sentry_plugins/jira/client.py b/src/sentry_plugins/jira/client.py index <HASH>..<HASH> 100644 --- a/src/sentry_plugins/jira/client.py +++ b/src/sentry_plugins/jira/client.py @@ -163,7 +163,7 @@ class JIRAClient(object): def make_request(self, method, url, payload=None): if url[:4] != "htt...
utf8 encode auth for jira (#<I>)
py
diff --git a/twittytwister/twitter.py b/twittytwister/twitter.py index <HASH>..<HASH> 100644 --- a/twittytwister/twitter.py +++ b/twittytwister/twitter.py @@ -143,7 +143,7 @@ class Twitter(object): 'Content-Length': str(len(body)) } - headers = self._makeAuthHeader('POST', url, header...
Twitter: don't reassign headers variable when using _makeAuthHeader() _makeAuthHeader() now changes the headers dictionary in-place, so we don't need to reassign the variable.
py
diff --git a/epc/client.py b/epc/client.py index <HASH>..<HASH> 100644 --- a/epc/client.py +++ b/epc/client.py @@ -34,6 +34,27 @@ class EPCClient(EPCCore): """ EPC client class to call remote functions and serve Python functions. + + >>> client = EPCClient() + >>> client.connect(('localhost', 9999)) ...
Add doctest to EPCClient
py
diff --git a/src/saml2/ecp.py b/src/saml2/ecp.py index <HASH>..<HASH> 100644 --- a/src/saml2/ecp.py +++ b/src/saml2/ecp.py @@ -256,29 +256,12 @@ class ECPClient(Saml2Client): # <samlp:AuthnRequest> # ---------------------------------------- - spentityid = self._entityid() location = ...
Made ECPClient actually produce something usable
py
diff --git a/schedule/models/events.py b/schedule/models/events.py index <HASH>..<HASH> 100644 --- a/schedule/models/events.py +++ b/schedule/models/events.py @@ -13,8 +13,8 @@ from django.template.defaultfilters import date from django.urls import reverse from django.utils import timezone from django.utils.encoding...
Update imports per new isort release
py
diff --git a/proton-c/bindings/python/proton/handlers.py b/proton-c/bindings/python/proton/handlers.py index <HASH>..<HASH> 100644 --- a/proton-c/bindings/python/proton/handlers.py +++ b/proton-c/bindings/python/proton/handlers.py @@ -379,7 +379,7 @@ class MessagingHandler(Handler, Acking): def __init__(self, pref...
Use c-based flowcontroller
py
diff --git a/porespy/generators/__imgen__.py b/porespy/generators/__imgen__.py index <HASH>..<HASH> 100644 --- a/porespy/generators/__imgen__.py +++ b/porespy/generators/__imgen__.py @@ -815,7 +815,9 @@ def _cylinders(shape: List[int], n = 0 L = min(H, R) # Disable tqdm if called from another tqdm to pre...
Fixed a subtle bug in _cylinders function regarding how tqdm operates
py
diff --git a/openpnm/algorithms/ReactiveTransport.py b/openpnm/algorithms/ReactiveTransport.py index <HASH>..<HASH> 100644 --- a/openpnm/algorithms/ReactiveTransport.py +++ b/openpnm/algorithms/ReactiveTransport.py @@ -135,7 +135,7 @@ class ReactiveTransport(GenericTransport): if conductance: self...
Fixed bug in ReactiveTransport: max_iter was set inst. of nlin_max_iter
py
diff --git a/util.py b/util.py index <HASH>..<HASH> 100644 --- a/util.py +++ b/util.py @@ -54,6 +54,8 @@ def get_platform (): # fall through to standard osname-release-machine representation elif osname[:4] == "irix": # could be "irix64"! return "%s-%s" % (osname, release) + elif ...
Patch #<I>: generate a reasonable platform string for AIX
py
diff --git a/thinc/initializers.py b/thinc/initializers.py index <HASH>..<HASH> 100644 --- a/thinc/initializers.py +++ b/thinc/initializers.py @@ -52,7 +52,7 @@ def configure_uniform_init( def normal_init(ops: Ops, shape: Shape, *, fan_in: int = -1) -> FloatsXd: if fan_in == -1: fan_in = shape[1] - sc...
Cast scale to float in normal_init() for cupy (#<I>)
py
diff --git a/pods/datasets.py b/pods/datasets.py index <HASH>..<HASH> 100644 --- a/pods/datasets.py +++ b/pods/datasets.py @@ -16,6 +16,7 @@ import re from .util import download_url from .config import * +from io import open from functools import reduce ipython_available=True
fix #<I> open() did not provide encoding option in py2.x
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -23,6 +23,18 @@ import codecs from setuptools import setup, find_packages +# These python versions of explicitly not supported +# by sure. This is nostly because of the incompatiblities +# with unicode strings. If there i...
Fail installation for python <I>, <I> and <I>
py
diff --git a/doc/source/conf.py b/doc/source/conf.py index <HASH>..<HASH> 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -63,7 +63,7 @@ copyright = u'2014, CMB-group' from pyemma import _version version = _version.get_versions()['version'] # The full version, including alpha/beta/rc tags. -release = _ve...
[doc] changed release info to version, since fullversion of versioneer is not convenient
py
diff --git a/tofu/geom/_comp_optics.py b/tofu/geom/_comp_optics.py index <HASH>..<HASH> 100644 --- a/tofu/geom/_comp_optics.py +++ b/tofu/geom/_comp_optics.py @@ -430,13 +430,13 @@ def _calc_spect1d_from_data2d(ldata, lamb, phi, # Check / format inputs if spect1d is None: spect1d = 'mean' - P if is...
[#<I>] Resolution of syntax error on comp_optics.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ tests_require = open(os.path.join(os.path.dirname(__file__), 'test_requirements. setup( name='mocket', - version='1.3.2', + version='1.3.3', author='Andrea de Marco, Giorgio Salluzzo', au...
Upgrading version for the next release.
py
diff --git a/rqalpha/data/data_source.py b/rqalpha/data/data_source.py index <HASH>..<HASH> 100644 --- a/rqalpha/data/data_source.py +++ b/rqalpha/data/data_source.py @@ -88,8 +88,9 @@ class LocalDataSource: if v.type == 'CS' and any(c in v.concept_names.split('|') for c in concepts)] def get_tr...
fix: trading dates should include end_date
py
diff --git a/colour.py b/colour.py index <HASH>..<HASH> 100644 --- a/colour.py +++ b/colour.py @@ -410,7 +410,14 @@ def rgb2hsl(rgb): >>> rgb2hsl((0.0, 0.0, 1.0)) # doctest: +ELLIPSIS (0.66..., 1.0, 0.5) + Regression check upon very close values in every component of + red, green and blue: + + >>>...
fix: ``rgb2hsl`` would produce invalid hsl triplet when red, blue, green component would be all very close to ``<I>``. (fixes #<I>) Typically, saturation would shoot out of range <I>. That could then lead to exceptions being casts afterwards when trying to reconvert this HSL triplet to RGB values.
py
diff --git a/xapian_backend.py b/xapian_backend.py index <HASH>..<HASH> 100755 --- a/xapian_backend.py +++ b/xapian_backend.py @@ -895,7 +895,7 @@ class SearchQuery(BaseSearchQuery): DOCUMENT_CT_TERM_PREFIX, model._meta.app_label, model._meta.module_name ...
Added a comment explaining the pure boolean subquery line
py
diff --git a/pycanlib/CAN.py b/pycanlib/CAN.py index <HASH>..<HASH> 100644 --- a/pycanlib/CAN.py +++ b/pycanlib/CAN.py @@ -366,7 +366,7 @@ class Bus(object): _id_type = ID_TYPE_EXTENDED else: _id_type = ID_TYPE_STANDARD - _rx_msg = Message(arbitration_id=_arb...
Timestamps on CAN messages are now relative to the time the bus object was created, not the time the handle was opened
py
diff --git a/dragonpy/tests/test_base.py b/dragonpy/tests/test_base.py index <HASH>..<HASH> 100644 --- a/dragonpy/tests/test_base.py +++ b/dragonpy/tests/test_base.py @@ -448,7 +448,12 @@ class Test6809_Dragon32_Base(BaseCPUTestCase): output = [] existing_OK_count = 0 for op_call_count in xra...
catch exception in unitest while running CPU
py
diff --git a/quart/exceptions.py b/quart/exceptions.py index <HASH>..<HASH> 100644 --- a/quart/exceptions.py +++ b/quart/exceptions.py @@ -1,5 +1,5 @@ from http import HTTPStatus -from typing import Iterable, Optional +from typing import Iterable, NoReturn, Optional from .wrappers import Response @@ -118,7 +118,1...
quart: use NoReturn for abort method As it currently returns None, mypy think functions that expect a return value never return. This method only raises Exceptions, so it the ideal use case for NoReturn which mypy can use to realise it doesn't have to worry about branches that call this.
py
diff --git a/spyderlib/plugins/editor.py b/spyderlib/plugins/editor.py index <HASH>..<HASH> 100644 --- a/spyderlib/plugins/editor.py +++ b/spyderlib/plugins/editor.py @@ -1406,16 +1406,11 @@ class Editor(PluginWidget): if not osp.isfile(self.TEMPFILE_PATH): # Creating temporary file ...
Editor: fixed Issue <I> - Cannot run scripts in interactive console (Linux only)
py
diff --git a/falafel/__init__.py b/falafel/__init__.py index <HASH>..<HASH> 100644 --- a/falafel/__init__.py +++ b/falafel/__init__.py @@ -1,7 +1,7 @@ import os __here__ = os.path.dirname(os.path.abspath(__file__)) -VERSION = "1.0.0" +VERSION = "1.1.0" NAME = "falafel" with open(os.path.join(__here__, "RELEASE"...
Bumping version to <I>
py
diff --git a/proxmoxer/core.py b/proxmoxer/core.py index <HASH>..<HASH> 100644 --- a/proxmoxer/core.py +++ b/proxmoxer/core.py @@ -3,7 +3,7 @@ __copyright__ = '(c) Oleg Butovich 2013-2016' __licence__ = 'MIT' import os -import imp +import importlib import posixpath import logging @@ -103,8 +103,7 @@ class Proxm...
replaced imp with importlib imp.load_module causes a reload if the module is already imported. This casues issues with multithreaded applications utilising the ProxmoxAPI.
py
diff --git a/qtpy/__init__.py b/qtpy/__init__.py index <HASH>..<HASH> 100644 --- a/qtpy/__init__.py +++ b/qtpy/__init__.py @@ -73,6 +73,7 @@ API_NAME = {'pyqt5': 'PyQt5', 'pyqt': 'PyQt4', 'pyqt4': 'PyQt4', is_old_pyqt = is_pyqt46 = False PYQT5 = True +PYQT4 = PYSIDE = False class PythonQtError(Exception): @@ -...
Add boolean constants for pyqt4 and pyside - pyqt5 already has one
py
diff --git a/allauth/account/adapter.py b/allauth/account/adapter.py index <HASH>..<HASH> 100644 --- a/allauth/account/adapter.py +++ b/allauth/account/adapter.py @@ -269,6 +269,8 @@ class DefaultAccountAdapter(object): def ajax_response(self, request, response, redirect_to=None, form=None): data = {} +...
Account adapter: ensure `status` is always set
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,13 +20,13 @@ install_requires = [ setup( name='figgypy', - version='0.2.2', + version='0.3.dev', description='Simple configuration tool. Get config from yaml, json, or xml.', long_description=readme...
Update setup.py to develop version
py
diff --git a/onecodex/models/collection.py b/onecodex/models/collection.py index <HASH>..<HASH> 100644 --- a/onecodex/models/collection.py +++ b/onecodex/models/collection.py @@ -160,6 +160,22 @@ class SampleCollection(ResourceList, AnalysisMixin): new_classifications.append(c) + # warn if some ...
Warn if mixing analysis types in SampleCollection
py
diff --git a/desdeo/method/__init__.py b/desdeo/method/__init__.py index <HASH>..<HASH> 100755 --- a/desdeo/method/__init__.py +++ b/desdeo/method/__init__.py @@ -4,7 +4,7 @@ # Copyright (c) 2016 Vesa Ojalehto -__all__ = ["NAUTILUSv1", "ENAUTILUS", "NNAUTILUS", "print_iteration"] +__all__ = ["NAUTILUSv1", "ENAUT...
Remove missing identifier from __all__: print_iteration
py
diff --git a/pythonforandroid/logger.py b/pythonforandroid/logger.py index <HASH>..<HASH> 100644 --- a/pythonforandroid/logger.py +++ b/pythonforandroid/logger.py @@ -146,7 +146,9 @@ def shprint(command, *args, **kwargs): kwargs["_err_to_out"] = True kwargs["_bg"] = True is_critical = kwargs.pop('_critic...
add a way to force dumping the full log of a android command if it fail: P4A_FULL_DEBUG=1
py
diff --git a/src/python/pants/releases/packages.py b/src/python/pants/releases/packages.py index <HASH>..<HASH> 100644 --- a/src/python/pants/releases/packages.py +++ b/src/python/pants/releases/packages.py @@ -61,19 +61,13 @@ class Package: j = json.load(f) return j["info"]["version"] - def owners(self, -...
Fix the PyPI project owner scraping heuristic. (#<I>) Apparently PyPI changed their HTML structure recently.
py
diff --git a/udata/api/oauth2.py b/udata/api/oauth2.py index <HASH>..<HASH> 100644 --- a/udata/api/oauth2.py +++ b/udata/api/oauth2.py @@ -109,6 +109,8 @@ class OAuth2Client(ClientMixin, db.Datetimed, db.Document): return self.secret == client_secret def check_token_endpoint_auth_method(self, method): +...
Allow none auth method for public client
py
diff --git a/tarbell/cli.py b/tarbell/cli.py index <HASH>..<HASH> 100644 --- a/tarbell/cli.py +++ b/tarbell/cli.py @@ -339,8 +339,6 @@ def tarbell_publish(command, args): puts(colored.green("http://{0}\n".format(bucket_url))) except KeyboardInterrupt: show_error("ctrl-c pressed, baili...
don't catch keyerror if creds are wrong when publishing
py
diff --git a/stacker/hooks/keypair.py b/stacker/hooks/keypair.py index <HASH>..<HASH> 100644 --- a/stacker/hooks/keypair.py +++ b/stacker/hooks/keypair.py @@ -17,7 +17,7 @@ def ensure_keypair_exists(region, namespace, mappings, parameters, **kwargs): logger.info('keypair: "%s" not found', keypair_name) crea...
Capitalize Cancel since its the default action
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -269,6 +269,7 @@ class CheckSDist(sdist_class): 'pandas/index.pyx', 'pandas/algos.pyx', 'pandas/parser.pyx', + 'pandas/src/period.pyx', 'p...
Add period.pyx to package
py
diff --git a/python/sparknlp/annotator.py b/python/sparknlp/annotator.py index <HASH>..<HASH> 100755 --- a/python/sparknlp/annotator.py +++ b/python/sparknlp/annotator.py @@ -89,8 +89,8 @@ class Tokenizer(AnnotatorModel): name = 'Tokenizer' @keyword_only - def __init__(self): - super(Tokenizer, se...
Fixed pretrained constructor for Tokenizer
py
diff --git a/icekit/publishing/apps.py b/icekit/publishing/apps.py index <HASH>..<HASH> 100644 --- a/icekit/publishing/apps.py +++ b/icekit/publishing/apps.py @@ -97,15 +97,6 @@ class AppConfig(AppConfig): Q(publication_end_date__isnull=True) | Q(publication_end_dat...
Remove redundant processing when filtering/exchanging published items Remove a pre-filtering step that used Python code to find and collect only items that have been published, prior to doing the actual exchange to get just the published copies. This pre-filtering is redundant since the `_exchange_for_published()` me...
py
diff --git a/conftest.py b/conftest.py index <HASH>..<HASH> 100644 --- a/conftest.py +++ b/conftest.py @@ -11,6 +11,7 @@ def no_progress_bars(): if 'pyemma' in sys.modules: pyemma = sys.modules['pyemma'] pyemma.config.show_progress_bars = False + pyemma.config.coordinates_check_output = Tr...
[conftest] enable output checking during testing
py
diff --git a/samcli/lib/bootstrap/bootstrap.py b/samcli/lib/bootstrap/bootstrap.py index <HASH>..<HASH> 100644 --- a/samcli/lib/bootstrap/bootstrap.py +++ b/samcli/lib/bootstrap/bootstrap.py @@ -17,6 +17,7 @@ from samcli import __version__ from samcli.cli.global_config import GlobalConfig from samcli.commands.excepti...
fix(deploy): Allow all Partitions for S3 Policy on managed stack (#<I>) Solves #<I>, where creating the managed stack in any partition but aws will fail.
py
diff --git a/dyndnsc/detector/base.py b/dyndnsc/detector/base.py index <HASH>..<HASH> 100644 --- a/dyndnsc/detector/base.py +++ b/dyndnsc/detector/base.py @@ -83,3 +83,7 @@ class IPDetector(Subject): warnings.warn("getName() is deprecated; use names() " "instead", DeprecationWarning, stacklevel=...
"abstract" method for names()
py
diff --git a/salt/states/network.py b/salt/states/network.py index <HASH>..<HASH> 100644 --- a/salt/states/network.py +++ b/salt/states/network.py @@ -276,8 +276,8 @@ def routes(name, **kwargs): kwargs['test'] = __opts__['test'] # Build interface routes try: - old = __salt__['ip.get_routes'](**kwa...
Sync compatibility between network state and ip module
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -126,7 +126,7 @@ setup( 'salmon = multiqc.modules.salmon:MultiqcModule', 'samblaster = multiqc.modules.samblaster:MultiqcModule', 'samtools = multiqc.modules.samtools:MultiqcModule', - ...
added a comma to setup.py (accidently removed)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -50,6 +50,7 @@ EXTRA_DEPENDENCIES = { 'pep8', 'pylint', 'isort', + 'wheel', 'bumpversion'], }
Add wheel as a dev dependency.
py
diff --git a/digsandpaper/elasticsearch_mapping/generate.py b/digsandpaper/elasticsearch_mapping/generate.py index <HASH>..<HASH> 100644 --- a/digsandpaper/elasticsearch_mapping/generate.py +++ b/digsandpaper/elasticsearch_mapping/generate.py @@ -58,7 +58,12 @@ def generate(default_mapping, semantic_types, ...
Don't index key_count and provenance_count
py
diff --git a/src/Exscript/workqueue/WorkQueue.py b/src/Exscript/workqueue/WorkQueue.py index <HASH>..<HASH> 100644 --- a/src/Exscript/workqueue/WorkQueue.py +++ b/src/Exscript/workqueue/WorkQueue.py @@ -20,12 +20,14 @@ class WorkQueue(object): This class implements the asynchronous workqueue and is the main API ...
Exscript.workqueue: replace **kwargs by explicit keywords.
py
diff --git a/umi_tools/umi_methods.py b/umi_tools/umi_methods.py index <HASH>..<HASH> 100644 --- a/umi_tools/umi_methods.py +++ b/umi_tools/umi_methods.py @@ -1432,7 +1432,11 @@ class get_bundles: # get the umi +/- cell barcode and update dictionaries if self.options.ignore_umi: - ...
deals with situation where umi ignored but cell barcode still used
py
diff --git a/robot-server/tests/integration/fixtures.py b/robot-server/tests/integration/fixtures.py index <HASH>..<HASH> 100644 --- a/robot-server/tests/integration/fixtures.py +++ b/robot-server/tests/integration/fixtures.py @@ -11,8 +11,8 @@ def check_health_response(response): 'name': 'opentrons-dev', ...
fix(robot-server): health endpoint tavern test didn't actually perform validation of response. (#<I>)
py
diff --git a/airflow/providers/google/firebase/example_dags/example_firestore.py b/airflow/providers/google/firebase/example_dags/example_firestore.py index <HASH>..<HASH> 100644 --- a/airflow/providers/google/firebase/example_dags/example_firestore.py +++ b/airflow/providers/google/firebase/example_dags/example_firest...
fix typo in firebase/example_filestore DAG (#<I>)
py
diff --git a/homely/install.py b/homely/install.py index <HASH>..<HASH> 100644 --- a/homely/install.py +++ b/homely/install.py @@ -6,7 +6,7 @@ from homely._utils import haveexecutable, isnecessarypath from homely._ui import note, allowinteractive, allowpull, system -def installpkg(name=None, wantcmd=None, **method...
homely.install: installpkg() now requires a name
py
diff --git a/TestWeatherStation.py b/TestWeatherStation.py index <HASH>..<HASH> 100755 --- a/TestWeatherStation.py +++ b/TestWeatherStation.py @@ -77,6 +77,12 @@ def main(argv=None): for k in sorted(ws.fixed_format): if 'unk' in k: print k, ws.get_fixed_block([k]) + for k i...
Added various status bits to the 'unknown' option printout.
py
diff --git a/bokeh/tests/test_bokeh_init.py b/bokeh/tests/test_bokeh_init.py index <HASH>..<HASH> 100644 --- a/bokeh/tests/test_bokeh_init.py +++ b/bokeh/tests/test_bokeh_init.py @@ -21,9 +21,10 @@ class TestPrintVersions(unittest.TestCase): def test_print(self): import bokeh - #remove nodename from the system ...
print info test does not need to check processor
py
diff --git a/bdbag/fetch/transports/fetch_ftp.py b/bdbag/fetch/transports/fetch_ftp.py index <HASH>..<HASH> 100644 --- a/bdbag/fetch/transports/fetch_ftp.py +++ b/bdbag/fetch/transports/fetch_ftp.py @@ -60,7 +60,7 @@ def get_file(url, output_path, auth_config, credentials=None): elapsed = datetime.datetime.now...
Force floating point division for Python <I>.
py
diff --git a/plenum/server/node.py b/plenum/server/node.py index <HASH>..<HASH> 100644 --- a/plenum/server/node.py +++ b/plenum/server/node.py @@ -1521,7 +1521,7 @@ class Node(HasActionQueue, Motor, Propagator, MessageProcessor, HasFileStorage, if self.viewNo - view_no > 1: self.discard(msg, "un-a...
[INDY-<I>] process case when CURRENT_STATE with viewNo=0
py
diff --git a/crabpy_pyramid/utils.py b/crabpy_pyramid/utils.py index <HASH>..<HASH> 100644 --- a/crabpy_pyramid/utils.py +++ b/crabpy_pyramid/utils.py @@ -76,7 +76,7 @@ def list_straten_adapter(obj, request): return { 'id': obj.id, 'label': obj.label, - 'status': obj.status + 'statu...
added forgotten , at end of line
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,18 @@ -from setuptools import setup, Extension -from setuptools.command.build_ext import build_ext +import sys + +try: + import numpy +except ImportError: + print "Numpy is needed for running and building of PHOEBE" ...
Reverting in setup.py to numpy.distutils.
py
diff --git a/mistletoe/interactive.py b/mistletoe/interactive.py index <HASH>..<HASH> 100644 --- a/mistletoe/interactive.py +++ b/mistletoe/interactive.py @@ -18,14 +18,13 @@ def interactive(): more = True else: prompt = '... ' - sys.stdout.write(prompt) ...
☕️ cleaned up prompts and outputs
py
diff --git a/eqcorrscan/core/match_filter/template.py b/eqcorrscan/core/match_filter/template.py index <HASH>..<HASH> 100644 --- a/eqcorrscan/core/match_filter/template.py +++ b/eqcorrscan/core/match_filter/template.py @@ -520,7 +520,10 @@ class Template(object): parallel_process=parallel_process, xcorr_fu...
Ensure duplicates are squashed after template.detect
py
diff --git a/curdling/services/base.py b/curdling/services/base.py index <HASH>..<HASH> 100644 --- a/curdling/services/base.py +++ b/curdling/services/base.py @@ -87,7 +87,8 @@ class Service(SignalEmitter): result = self(requester, **sender_data) or {} self._queue.task_done() ...
More data for debugging exceptions in Service._worker()
py
diff --git a/napalm/ios/ios.py b/napalm/ios/ios.py index <HASH>..<HASH> 100644 --- a/napalm/ios/ios.py +++ b/napalm/ios/ios.py @@ -911,7 +911,6 @@ class IOSDriver(NetworkDriver): entry["remote_chassis_id"] = napalm.base.helpers.mac( entry["remote_chassis_id"] ) - ...
Update napalm/ios/ios.py
py
diff --git a/nhlib/gsim/akkar_bommer_2010.py b/nhlib/gsim/akkar_bommer_2010.py index <HASH>..<HASH> 100644 --- a/nhlib/gsim/akkar_bommer_2010.py +++ b/nhlib/gsim/akkar_bommer_2010.py @@ -14,7 +14,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <h...
gsim/akkar_bommer_<I>: Renamed GSIM class `AkB_<I>_AttenRel` to `AkkarBommer<I>` to match the naming convention.
py
diff --git a/salt/states/boto_apigateway.py b/salt/states/boto_apigateway.py index <HASH>..<HASH> 100644 --- a/salt/states/boto_apigateway.py +++ b/salt/states/boto_apigateway.py @@ -384,8 +384,6 @@ def _name_matches(name, matches): def _object_reducer(o, names=('id', 'name', 'path', 'httpMethod', ...
removed few unnecessary debug printouts
py
diff --git a/jawa/util/utf.py b/jawa/util/utf.py index <HASH>..<HASH> 100644 --- a/jawa/util/utf.py +++ b/jawa/util/utf.py @@ -18,7 +18,8 @@ def decode_modified_utf8(s): :returns: A unicode representation of the original string. """ s = bytearray(s) - final_string = unicode() + buffer = [] + buf...
Speed up character processing with list buffer * Characters are appended to a list buffer and converted to a unicode string at the end at once. This speeds up string processing when there is a large number of characters to decode and avoids the creation of many small intermediate strings.
py
diff --git a/SoftLayer/CLI/licenses/cancel.py b/SoftLayer/CLI/licenses/cancel.py index <HASH>..<HASH> 100644 --- a/SoftLayer/CLI/licenses/cancel.py +++ b/SoftLayer/CLI/licenses/cancel.py @@ -16,4 +16,7 @@ def cli(env, key, immediate): licenses = SoftLayer.LicensesManager(env.client) - env.fout(licenses.canc...
Improved successful response to command - slcli licenses cancel
py
diff --git a/virtualchain/lib/workpool.py b/virtualchain/lib/workpool.py index <HASH>..<HASH> 100644 --- a/virtualchain/lib/workpool.py +++ b/virtualchain/lib/workpool.py @@ -378,7 +378,7 @@ class Workpool(object): if 'PYTHONPATH' in worker_env and platform.system().lower() == 'darwin': # Mac OS...
fix missing comma and ref to worker_env
py
diff --git a/icekit/publishing/admin.py b/icekit/publishing/admin.py index <HASH>..<HASH> 100644 --- a/icekit/publishing/admin.py +++ b/icekit/publishing/admin.py @@ -257,9 +257,9 @@ class _PublishingHelpersMixin(object): try: if isinstance(obj, PublishingModel): c['publish_url'] ...
Fix publish/unpublish links in publishing status column, re #5 #<I>
py
diff --git a/Mixtape/param_sweep.py b/Mixtape/param_sweep.py index <HASH>..<HASH> 100644 --- a/Mixtape/param_sweep.py +++ b/Mixtape/param_sweep.py @@ -21,7 +21,7 @@ from __future__ import print_function, division, absolute_import from sklearn import clone from sklearn.grid_search import ParameterGrid import numpy as...
changed joblib to point to sklearn.externals.joblib
py
diff --git a/cheroot/server.py b/cheroot/server.py index <HASH>..<HASH> 100644 --- a/cheroot/server.py +++ b/cheroot/server.py @@ -1038,10 +1038,8 @@ class HTTPRequest: # Don't use simple_response here, because it emits headers # we don't want. See # https://github.com/cherrypy/ch...
encode both operands in ascii rather than b''
py
diff --git a/test/unit/test_collection.py b/test/unit/test_collection.py index <HASH>..<HASH> 100644 --- a/test/unit/test_collection.py +++ b/test/unit/test_collection.py @@ -24,20 +24,20 @@ def PaddedCollection(**kw): ( 'head', 'diff_head.', - '^diff_head.(?P<index>(?P<padding>0*)\d+?).tail$', + ...
[#5] Update tests affected by change in expression.
py
diff --git a/spyder/plugins/ipythonconsole.py b/spyder/plugins/ipythonconsole.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/ipythonconsole.py +++ b/spyder/plugins/ipythonconsole.py @@ -303,8 +303,8 @@ class IPythonConsoleConfigPage(PluginConfigPage): _("Ask for confirmation before reseting the IP...
Minor change to the option tip Made the description more general since this option mute both the message when resetting the IPython console from the toolbar button AND from the ctrl-alt-R shortcut.
py
diff --git a/past/tests/test_translation.py b/past/tests/test_translation.py index <HASH>..<HASH> 100644 --- a/past/tests/test_translation.py +++ b/past/tests/test_translation.py @@ -123,6 +123,8 @@ class TestTranslate(unittest.TestCase): """ module = self.write_and_import(code, 'future_standard_libra...
Fix past standard_library hook test. The test framework here calls remove_hook() from past, but the test installs hooks from future, so they bleed through.
py
diff --git a/diagram.py b/diagram.py index <HASH>..<HASH> 100644 --- a/diagram.py +++ b/diagram.py @@ -572,13 +572,11 @@ class VerticalBarGraph(BarGraph): y = y + 1 if y else y self.screen[(x, y)] = self.blocks[frac] else: - for y in range(full): - yr...
Fixed drawing bug in vertical bar graphs
py
diff --git a/bayes_opt/bayesian_optimization.py b/bayes_opt/bayesian_optimization.py index <HASH>..<HASH> 100644 --- a/bayes_opt/bayesian_optimization.py +++ b/bayes_opt/bayesian_optimization.py @@ -41,7 +41,7 @@ def acq_max(ac, gp, ymax, restarts, bounds): x_try = numpy.asarray([numpy.random.uniform(x[0], x[1...
Fixes deprecation warning Fixes deprecation warning by reshaping array before passing to scipy's minimizing object
py
diff --git a/drivers/python/rethinkdb/asyncio_net/net_asyncio.py b/drivers/python/rethinkdb/asyncio_net/net_asyncio.py index <HASH>..<HASH> 100644 --- a/drivers/python/rethinkdb/asyncio_net/net_asyncio.py +++ b/drivers/python/rethinkdb/asyncio_net/net_asyncio.py @@ -230,7 +230,8 @@ class ConnectionInstance(object): ...
Fixes #<I> InvalidStateError after cancelling a RethinkDB operation. If a Python coroutine is cancelled while it is suspended inside a RethinkDB query, the query future is cancelled. When the connection is later closed, the `close()` method tries to set the future result, which throws `InvalidStateError` because the f...
py
diff --git a/memorious/logic/http.py b/memorious/logic/http.py index <HASH>..<HASH> 100644 --- a/memorious/logic/http.py +++ b/memorious/logic/http.py @@ -1,12 +1,12 @@ import cgi import json -import pytz import pickle from lxml import html, etree from hashlib import sha1 from banal import hash_data, is_mapping ...
Normalize encodings from HTTP headers.
py
diff --git a/buildbot_travis/steps/create_steps.py b/buildbot_travis/steps/create_steps.py index <HASH>..<HASH> 100644 --- a/buildbot_travis/steps/create_steps.py +++ b/buildbot_travis/steps/create_steps.py @@ -17,10 +17,11 @@ import re import textwrap import traceback +from twisted.internet import defer + from bu...
error out if neither step of cmd is defined
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ install_requires=[ "cheroot", "beaker", "packaging", - "pymongo" + "pymongo", "pylibmc", "diskcache" ]
Add a comma to list of dependencies in setup.py
py