diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/yotta/link_target.py b/yotta/link_target.py index <HASH>..<HASH> 100644 --- a/yotta/link_target.py +++ b/yotta/link_target.py @@ -46,9 +46,11 @@ def execCommand(args, following_args): src = os.getcwd() dst = os.path.join(folders.globalTargetInstallDirectory(), t.getName()) + broken_l...
catch errors creating target links in the same way as module links
py
diff --git a/example/xmp.py b/example/xmp.py index <HASH>..<HASH> 100644 --- a/example/xmp.py +++ b/example/xmp.py @@ -190,7 +190,8 @@ class Xmp(Fuse): self.iolock.acquire() try: self.file.seek(offset) - return self.file.write(buf) + ...
Fix file write under Python 2 in xmp.py I broke it with my locking fixes, apparently I only tested reading under Python 2. (In Python 3 file.write returns the length, so I thought that was true in Python 2 as well.) Sorry.
py
diff --git a/kernel_tuner/cuda.py b/kernel_tuner/cuda.py index <HASH>..<HASH> 100644 --- a/kernel_tuner/cuda.py +++ b/kernel_tuner/cuda.py @@ -17,7 +17,7 @@ try: except ImportError: class PyCudaPlaceHolder(): def __init__(self): - self.drv.PointerHolderBase = object + self.PointerHo...
still fixing for when pycuda is not installed
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ TEST_REQUIREMENTS = ['pytest', 'pytz'] class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) - self.test_args = ['--verbose'] + self.test_args = [...
Only run py.test for the tests/ subdir
py
diff --git a/saltapi/netapi/rest_cherrypy/app.py b/saltapi/netapi/rest_cherrypy/app.py index <HASH>..<HASH> 100644 --- a/saltapi/netapi/rest_cherrypy/app.py +++ b/saltapi/netapi/rest_cherrypy/app.py @@ -1074,7 +1074,7 @@ class Events(object): .. code-block:: bash - % curl -NsS localhost:8000/eve...
Fixed backslashes for rST
py
diff --git a/openpnm/core/Base.py b/openpnm/core/Base.py index <HASH>..<HASH> 100644 --- a/openpnm/core/Base.py +++ b/openpnm/core/Base.py @@ -573,9 +573,8 @@ class Base(dict): -------- >>> import openpnm as op >>> pn = op.network.Cubic(shape=[5, 5, 5]) - >>> pn.labels(pores=[0, 1, 5, ...
change doctest example again to comply with pep8
py
diff --git a/exhale/__init__.py b/exhale/__init__.py index <HASH>..<HASH> 100644 --- a/exhale/__init__.py +++ b/exhale/__init__.py @@ -8,7 +8,7 @@ from __future__ import unicode_literals -__version__ = "0.2.3" +__version__ = "0.2.4.dev" def environment_ready(app):
version bump to <I>.dev
py
diff --git a/samples/ibtest/ibtest.py b/samples/ibtest/ibtest.py index <HASH>..<HASH> 100644 --- a/samples/ibtest/ibtest.py +++ b/samples/ibtest/ibtest.py @@ -57,7 +57,7 @@ class TestStrategy(bt.Strategy): print('--------------------------------------------------') def notify_data(self, data, status, *a...
Print the args in data notifications (if any)
py
diff --git a/nazs/samba/module.py b/nazs/samba/module.py index <HASH>..<HASH> 100644 --- a/nazs/samba/module.py +++ b/nazs/samba/module.py @@ -17,7 +17,6 @@ class Samba(module.Module): """ Samba 4 module, it deploys samba AD and file server """ - install_wizard = 'samba:install' SMBCONF_FILE ...
Do not fail if smbd or nmbd are already stopped
py
diff --git a/airflow/cli/commands/db_command.py b/airflow/cli/commands/db_command.py index <HASH>..<HASH> 100644 --- a/airflow/cli/commands/db_command.py +++ b/airflow/cli/commands/db_command.py @@ -75,7 +75,7 @@ def shell(args): f.flush() execute_interactive(["mysql", f"--defaults-extra-file=...
Fix db shell for sqlite (#<I>) closes: #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -27,13 +27,6 @@ import re import subprocess -try: - import numpy - numpy_include = numpy.get_include() -except ImportError: - numpy_include = None - - def find_version(): # Cannot simply import it, since th...
Eliminate setup-time dependence on numpy
py
diff --git a/tests/test_win.py b/tests/test_win.py index <HASH>..<HASH> 100644 --- a/tests/test_win.py +++ b/tests/test_win.py @@ -49,6 +49,8 @@ class TestWin(unittest.TestCase): def test_mouse_move(self): self.windows.mouse_move((100, 100)) self.assertTupleEqual(win32api.GetCursorPos(), (100, 10...
Add test case (cherry picked from commit a<I>d<I>a<I>f<I>e1f<I>aa<I>c<I>)
py
diff --git a/assets/assets.py b/assets/assets.py index <HASH>..<HASH> 100644 --- a/assets/assets.py +++ b/assets/assets.py @@ -51,7 +51,9 @@ def create_assets_env(generator): for name, args, kwargs in generator.settings['ASSET_BUNDLES']: generator.env.assets_environment.register(name, *args, **kwa...
Allow to explicitly set debug mode Allow to explicitly set debug mode instead of relying on the logger. Running `--debug` in pelican only changes the logging so it can be used in production however with this using the logger to change how assets work I can no longer use it in production (which is needed for other reas...
py
diff --git a/lib/svtplay_dl/subtitle/__init__.py b/lib/svtplay_dl/subtitle/__init__.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/subtitle/__init__.py +++ b/lib/svtplay_dl/subtitle/__init__.py @@ -113,6 +113,7 @@ class subtitle(object): if is_py3: subdata = subdata.decode("latin") ...
subtitle_smi: encode it as iso-<I>-1 this fixes #<I>
py
diff --git a/nydus/db/__init__.py b/nydus/db/__init__.py index <HASH>..<HASH> 100644 --- a/nydus/db/__init__.py +++ b/nydus/db/__init__.py @@ -49,9 +49,9 @@ def create_cluster(settings): if not cluster: Cluster = BaseCluster elif isinstance(cluster, basestring): - Conn = import_string(cluster)...
Fix cluster setting assignment in `create_cluster`.
py
diff --git a/openquake/engine/calculators/risk/hazard_getters.py b/openquake/engine/calculators/risk/hazard_getters.py index <HASH>..<HASH> 100644 --- a/openquake/engine/calculators/risk/hazard_getters.py +++ b/openquake/engine/calculators/risk/hazard_getters.py @@ -323,12 +323,12 @@ class GroundMotionValuesGetter(Haza...
Added cast to GEOGRAPHY in the hazard_getters
py
diff --git a/charmhelpers/core/host.py b/charmhelpers/core/host.py index <HASH>..<HASH> 100644 --- a/charmhelpers/core/host.py +++ b/charmhelpers/core/host.py @@ -311,7 +311,7 @@ def rsync(from_path, to_path, flags='-r', options=None, timeout=None): options = options or ['--delete', '--executability'] cmd = [...
[trivial] Fixed TypeError: sequence item 1: expected str instance, int found.
py
diff --git a/will/listener.py b/will/listener.py index <HASH>..<HASH> 100644 --- a/will/listener.py +++ b/will/listener.py @@ -89,6 +89,8 @@ class WillXMPPClientMixin(ClientXMPP, RosterMixin, RoomMixin, HipChatMixin): self.save("will_roster", internal_roster) + self.update_available_rooms() + d...
Makes sure the room list is updated on startup (seems sane.)
py
diff --git a/python/src/cm_api/endpoints/services.py b/python/src/cm_api/endpoints/services.py index <HASH>..<HASH> 100644 --- a/python/src/cm_api/endpoints/services.py +++ b/python/src/cm_api/endpoints/services.py @@ -196,7 +196,7 @@ class ApiService(BaseApiObject): LOG.error("Management service does not suppor...
[Systest] Add test for getting all role types
py
diff --git a/cumulusci/tasks/bulkdata/load.py b/cumulusci/tasks/bulkdata/load.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/bulkdata/load.py +++ b/cumulusci/tasks/bulkdata/load.py @@ -3,7 +3,7 @@ import os import io import unicodecsv -from collections import defaultdict, OrderedDict +from collections import ...
load.py remove ordered dicts
py
diff --git a/elasticsearch_dsl/field.py b/elasticsearch_dsl/field.py index <HASH>..<HASH> 100644 --- a/elasticsearch_dsl/field.py +++ b/elasticsearch_dsl/field.py @@ -323,3 +323,6 @@ class DoubleRange(Field): class DateRange(Field): name = 'date_range' + +class Join(Field): + name = 'join'
[6.x] add support for join field
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.1.1", + version = "1.1.2", description = "Store and access your passwords safely.", url = "http://b...
Bumped to <I> in preparation for next release.
py
diff --git a/PyKCS11/__init__.py b/PyKCS11/__init__.py index <HASH>..<HASH> 100644 --- a/PyKCS11/__init__.py +++ b/PyKCS11/__init__.py @@ -96,9 +96,14 @@ class ckbytelist(PyKCS11.LowLevel.ckbytelist): size = 0 if isinstance(data, int): size = data + data = None super...
ckbytelist: handle case with no data
py
diff --git a/pydoop/app/main.py b/pydoop/app/main.py index <HASH>..<HASH> 100644 --- a/pydoop/app/main.py +++ b/pydoop/app/main.py @@ -34,9 +34,20 @@ SUBMOD_NAMES = [ PYDOOP_CONF_FILE = "~/.pydoop/pydoop.conf" +class PatchedArgumentParser(argparse.ArgumentParser): + """ + This is a work-around for a bug in A...
Fixed a bug in argparse. Added a workaround for a bug in argparse. If fromfile_prefix_chars is not None, argparse will choke on zero lenght parameters. This will happen if, for instance, someone uses the pydoop script -t '' flag to indicate an empty key-value output separator.
py
diff --git a/nba_py/constants.py b/nba_py/constants.py index <HASH>..<HASH> 100644 --- a/nba_py/constants.py +++ b/nba_py/constants.py @@ -1,5 +1,3 @@ -# from enum import Enum - TEAMS = { 'ATL': { 'abbr': 'ATL',
Get rid of unused import that was commented out
py
diff --git a/src/toil/batchSystems/kubernetes.py b/src/toil/batchSystems/kubernetes.py index <HASH>..<HASH> 100644 --- a/src/toil/batchSystems/kubernetes.py +++ b/src/toil/batchSystems/kubernetes.py @@ -1049,7 +1049,8 @@ class KubernetesBatchSystem(BatchSystemCleanupSupport): try: self._try_kubern...
Add a propagation policy to batch delete (#<I>) Should fix #<I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,6 @@ from distutils.core import setup version = __import__('passbook').__version__ -install_requires = open('requirements.txt').readlines(), setup( name='Passbook', @@ -16,7 +15,9 @@ setup( download_...
Separate install requirements from development requirements. This way "pytest" no longer is installed during the installation of "passbook".
py
diff --git a/test/common/test_framework.py b/test/common/test_framework.py index <HASH>..<HASH> 100644 --- a/test/common/test_framework.py +++ b/test/common/test_framework.py @@ -348,25 +348,28 @@ class TextView(object): # For printing the status to a terminal class TermView(TextView): + + printingQueue = No...
Initial checkin for issue <I>
py
diff --git a/gromacs/formats.py b/gromacs/formats.py index <HASH>..<HASH> 100644 --- a/gromacs/formats.py +++ b/gromacs/formats.py @@ -139,6 +139,16 @@ class XVG(utilities.FileUtils): def std(self): """Standard deviation from the mean of all data columns.""" return self.array[1:].std(axis=1) ...
added min/max properties to XVG
py
diff --git a/stagpy/stagyyparsers.py b/stagpy/stagyyparsers.py index <HASH>..<HASH> 100644 --- a/stagpy/stagyyparsers.py +++ b/stagpy/stagyyparsers.py @@ -217,7 +217,7 @@ def rprof_h5(rproffile, colnames): if not rproffile.is_file(): return None, None isteps = [] - with h5py.File(rproffile) as h5f...
Explicit mode to open rproffile in rprof_h5 This avoid a deprecation warning from h5py.
py
diff --git a/host/scan/scan.py b/host/scan/scan.py index <HASH>..<HASH> 100644 --- a/host/scan/scan.py +++ b/host/scan/scan.py @@ -195,6 +195,8 @@ class ScanBase(RunBase): self.register.create_restore_point(name=self.run_number) self.configure() self.register.save_configuration_...
ENH: reset RX and SRAM just before scan() ENH: reset of SRAM not necessary every readout (improve speed)
py
diff --git a/ipyvolume/_version.py b/ipyvolume/_version.py index <HASH>..<HASH> 100644 --- a/ipyvolume/_version.py +++ b/ipyvolume/_version.py @@ -1,6 +1,6 @@ __version_tuple__ = (0, 5, 2, 'dev.1') __version__ = '0.5.2-dev.1' -__version_tuple_js__ = (0, 5, 1) -__version_js__ = '0.5.1' +__version_tuple_js__ = (0, 5,...
Release <I>-de<I> of js
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 @@ -1099,7 +1099,7 @@ class DataFrame(NDFrame): def to_csv(self, path_or_buf, sep=",", na_rep='', float_format=None, cols=None, header=True, index=True, index...
Make it possible to set quoting for to_csv
py
diff --git a/spyderlib/utils/icon_manager.py b/spyderlib/utils/icon_manager.py index <HASH>..<HASH> 100644 --- a/spyderlib/utils/icon_manager.py +++ b/spyderlib/utils/icon_manager.py @@ -73,7 +73,7 @@ _qtaargs = { 'terminated': [('fa.circle',), {}], 'cmdprompt': [('fa.terminal',), {...
Use python logo for console configuration
py
diff --git a/parserator/training.py b/parserator/training.py index <HASH>..<HASH> 100644 --- a/parserator/training.py +++ b/parserator/training.py @@ -6,7 +6,7 @@ from imp import reload import config -def trainModel(training_data, model_file, +def trainModel(training_data, model_file, parser, param...
tweak training so that it takes in a parser object
py
diff --git a/mama_cas/tests/views.py b/mama_cas/tests/views.py index <HASH>..<HASH> 100644 --- a/mama_cas/tests/views.py +++ b/mama_cas/tests/views.py @@ -612,6 +612,21 @@ class ProxyViewTests(TestCase): self.assertEqual(response.status_code, 405) + def test_proxy_view_no_service(self): + """ + ...
Add test for no service provided to /proxy
py
diff --git a/gw2api/v2/__init__.py b/gw2api/v2/__init__.py index <HASH>..<HASH> 100644 --- a/gw2api/v2/__init__.py +++ b/gw2api/v2/__init__.py @@ -81,6 +81,8 @@ raids = LocaleAwareEndpoint("raids") races = LocaleAwareEndpoint("races") gliders = LocaleAwareEndpoint("gliders") mail_carriers = LocaleAwareEndpoint("mail...
add nodes and cats endpoints
py
diff --git a/docker_tests/test_docker_compose_quick_start.py b/docker_tests/test_docker_compose_quick_start.py index <HASH>..<HASH> 100644 --- a/docker_tests/test_docker_compose_quick_start.py +++ b/docker_tests/test_docker_compose_quick_start.py @@ -102,8 +102,8 @@ def wait_for_container(container_id: str, timeout: in...
Increase docker compose test wait time (#<I>)
py
diff --git a/datadog_checks_base/datadog_checks/base/checks/win/wmi/sampler.py b/datadog_checks_base/datadog_checks/base/checks/win/wmi/sampler.py index <HASH>..<HASH> 100644 --- a/datadog_checks_base/datadog_checks/base/checks/win/wmi/sampler.py +++ b/datadog_checks_base/datadog_checks/base/checks/win/wmi/sampler.py @...
Fix busy loop in WMI implementation (#<I>)
py
diff --git a/indra/tools/reading/submit_reading_pipeline_aws.py b/indra/tools/reading/submit_reading_pipeline_aws.py index <HASH>..<HASH> 100644 --- a/indra/tools/reading/submit_reading_pipeline_aws.py +++ b/indra/tools/reading/submit_reading_pipeline_aws.py @@ -1,12 +1,15 @@ from __future__ import absolute_import, pr...
Use logging in AWS reading progress
py
diff --git a/future/tests/test_builtins.py b/future/tests/test_builtins.py index <HASH>..<HASH> 100644 --- a/future/tests/test_builtins.py +++ b/future/tests/test_builtins.py @@ -187,9 +187,6 @@ class TestBuiltins(unittest.TestCase): # Below here are the tests from Py3.3'2 test_builtin.py module #####################...
Fix UserDict test in test_builtins
py
diff --git a/glue/ligolw/table.py b/glue/ligolw/table.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/table.py +++ b/glue/ligolw/table.py @@ -401,6 +401,12 @@ class TableStream(ligolw.Stream): # write first row newline = u"\n" + indent + ligolw.Indent file.write(newline) + # the xmlescape() call replaces...
Add a comment about how some (un)escapage works.
py
diff --git a/atomic_reactor/plugins/pre_fetch_maven_artifacts.py b/atomic_reactor/plugins/pre_fetch_maven_artifacts.py index <HASH>..<HASH> 100644 --- a/atomic_reactor/plugins/pre_fetch_maven_artifacts.py +++ b/atomic_reactor/plugins/pre_fetch_maven_artifacts.py @@ -14,6 +14,7 @@ import os import requests from atom...
Increase chunk for fetch_maven_artifacts downloads By default requests module uses 1 byte chunks when iterating over streamed content. This is optimal for responsive use cases, not so much for downloading large files. The chunk size is now set to <I>Mb to improve throughput.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ except IOError: README = "" -install_requires = ["numpy", "scipy", "setuptools", "foolbox>=2.2.1", "eagerpy==0.2.3"] +install_requires = ["numpy", "scipy", "setuptools", "foolbox>=2.2.1", "eagerpy==0.2....
upgraded eagerpy to <I>
py
diff --git a/flask_ckeditor/__init__.py b/flask_ckeditor/__init__.py index <HASH>..<HASH> 100644 --- a/flask_ckeditor/__init__.py +++ b/flask_ckeditor/__init__.py @@ -105,6 +105,7 @@ class _CKEditor(object): return Markup(''' <script type="text/javascript"> + document.getElementById("%s").classList.remov...
Remove "ckeditor" class when ckeditor.config is used
py
diff --git a/tests/test_pybozocrack.py b/tests/test_pybozocrack.py index <HASH>..<HASH> 100644 --- a/tests/test_pybozocrack.py +++ b/tests/test_pybozocrack.py @@ -30,10 +30,10 @@ class TestPybozocrack(unittest.TestCase): self.assertEqual(len(self.cracker.hashes), 2) def test_load_empty_cache(self): - ...
New tests fixed Fixed #8, Fixed #3
py
diff --git a/sergent/ssh.py b/sergent/ssh.py index <HASH>..<HASH> 100644 --- a/sergent/ssh.py +++ b/sergent/ssh.py @@ -48,6 +48,8 @@ class SergentSsh(object): tags_dict = {} for t in tags: splitted_tag = t.split(delimiter) + if len(splitted_tag) != 2: + raise Ser...
adding exception if a tag is not well formatted
py
diff --git a/src/pyrocore/scripts/base.py b/src/pyrocore/scripts/base.py index <HASH>..<HASH> 100644 --- a/src/pyrocore/scripts/base.py +++ b/src/pyrocore/scripts/base.py @@ -185,7 +185,7 @@ class ScriptBase(object): elif self.options.verbose: logging.getLogger().setLevel(logging.DEBUG) - ...
option values debugging sorted by key
py
diff --git a/tweepy/api.py b/tweepy/api.py index <HASH>..<HASH> 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -610,6 +610,7 @@ class API(object): path='/account/update_profile_image.json', method='POST', payload_type='user', + allowed_param=['include_entities', 'ski...
added allowed_param to update_profile_image
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -35,8 +35,6 @@ setup(name='graphenelib', "requests==2.10.0", "websocket-client==0.37.0", "pylibscrypt==1.5.3", - # temporary unt...
[setup] remove non-required dependency
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ setup( author="James Saryerwinnie", author_email='js@jamesls.com', url='https://github.com/aws/chalice', - packages=find_packages(exclude=['tests']), + packages=find_packages(exclude=['tests...
Stop including tests in Python wheels The current Chalice wheel on PyPI contains tests that are installed as a separate "tests" site-package.
py
diff --git a/alot/db.py b/alot/db.py index <HASH>..<HASH> 100644 --- a/alot/db.py +++ b/alot/db.py @@ -149,6 +149,13 @@ class DBManager: except: return None + def get_message(self, mid): + """returns the message with given id as alot.message.Message object""" + mode = Database.M...
add getter for Messages at DBManager
py
diff --git a/src/hamster/overview.py b/src/hamster/overview.py index <HASH>..<HASH> 100755 --- a/src/hamster/overview.py +++ b/src/hamster/overview.py @@ -199,6 +199,8 @@ class HorizontalBarChart(graphics.Sprite): self._label_context = cairo.Context(cairo.ImageSurface(cairo.FORMAT_A1, 0, 0)) self.layo...
Ellipsize labels that don't fit in stats window
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -145,6 +145,7 @@ setup( ## this does not appear to actually put anything into the egg... ('docs/examples/streamcorpus-pipeline/', recursive_glob('examples', '*.py')), ('docs/examples/streamcorpus-pip...
adding a .sc.xz file to the package
py
diff --git a/src/collectors/postfix/postfix.py b/src/collectors/postfix/postfix.py index <HASH>..<HASH> 100644 --- a/src/collectors/postfix/postfix.py +++ b/src/collectors/postfix/postfix.py @@ -52,7 +52,7 @@ class PostfixCollector(diamond.collector.Collector): 'path': 'postfix', '...
Fix include_clients in PostfixCollector
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,12 +3,8 @@ import os import sys from setuptools import setup, find_packages -long_description = open( - os.path.join( - os.path.dirname(__file__), - 'README.rst' - ) -).read() +with open(os.path.join...
Fix ResourceWarning: unclosed file in setup.py
py
diff --git a/glances/exports/glances_kafka.py b/glances/exports/glances_kafka.py index <HASH>..<HASH> 100644 --- a/glances/exports/glances_kafka.py +++ b/glances/exports/glances_kafka.py @@ -27,6 +27,7 @@ from glances.exports.glances_export import GlancesExport from kafka import KafkaProducer import json +import co...
Kafka key name needs to be bytes #<I>
py
diff --git a/mbuild/packing.py b/mbuild/packing.py index <HASH>..<HASH> 100755 --- a/mbuild/packing.py +++ b/mbuild/packing.py @@ -157,6 +157,7 @@ def _validate_box(box): ' 6 (box mins and maxes) or an mbuild.Box object.') return box + def _packmol_error(out, err): """Log packmol...
fixed pep8 issues in packing.py
py
diff --git a/buildozer/__init__.py b/buildozer/__init__.py index <HASH>..<HASH> 100644 --- a/buildozer/__init__.py +++ b/buildozer/__init__.py @@ -10,7 +10,7 @@ Layout directory for buildozer: ''' -__version__ = '0.10' +__version__ = '0.11-dev' import fcntl import os
bump to <I>-dev
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ import multiprocessing from setuptools import setup, find_packages requirements = [] -with open('requirements.txt', 'w') as in_: +with open('requirements.txt', 'r') as in_: requirements = in_.readlines() ...
Fixing a very silly error in my setup.py requirements hack.
py
diff --git a/canmatrix/xlsx.py b/canmatrix/xlsx.py index <HASH>..<HASH> 100644 --- a/canmatrix/xlsx.py +++ b/canmatrix/xlsx.py @@ -484,7 +484,7 @@ def load(filename, **options): # BoardUnits: for x in range(_BUstart, _BUend): - db.boardUnits.add(BoardUnit(sheet[0][letterIndex[x]])) + db.addEcu...
Update xlsx.py max fix (#<I>) boardunits is only a simple list. Add a boardunit must be done by canmatrix.addEcu now.
py
diff --git a/etrago/tools/io.py b/etrago/tools/io.py index <HASH>..<HASH> 100644 --- a/etrago/tools/io.py +++ b/etrago/tools/io.py @@ -453,6 +453,19 @@ def clear_results_db(session): def results_to_oedb(session, network, args, grid='hv', safe_results=False): """Return results obtained from PyPSA to oedb""" + ...
Fix upload to oedb when k means clustering
py
diff --git a/py/ai/h2o/sparkling/ml/H2OStageBase.py b/py/ai/h2o/sparkling/ml/H2OStageBase.py index <HASH>..<HASH> 100644 --- a/py/ai/h2o/sparkling/ml/H2OStageBase.py +++ b/py/ai/h2o/sparkling/ml/H2OStageBase.py @@ -22,13 +22,13 @@ class H2OStageBase(JavaMLReadable, JavaMLWritable): # Set default values directly ...
[SW-<I>][FollowUp] Apply type converters to rest of the PySparkling (#<I>)
py
diff --git a/stimela_misc/stimela-test-ngc417.py b/stimela_misc/stimela-test-ngc417.py index <HASH>..<HASH> 100644 --- a/stimela_misc/stimela-test-ngc417.py +++ b/stimela_misc/stimela-test-ngc417.py @@ -570,7 +570,10 @@ recipe.add("cab/ddfacet", "ddfacet_test", "Beam-Model": "FITS", "B...
Update test: shallower clean on DDF Since life is short make the test run quicker...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,19 +16,15 @@ kwargs = {'name': 'Glymur', 'test_suite': 'glymur.test', 'platforms': ['darwin']} -instllrqrs = ['numpy>1.6.2'] +instllrqrs = ['numpy>=1.4.1'] if sys.hexversion < 0x03030000: inst...
Not going to bother with a test_requires section. Closes #<I>. Numpy causes trouble on the mac with test_requires. Anyway, the only real hard requirement is "mock" with <I> and <I>, and that's hardly worth the extra trouble. matplotlib and pillow are optional requirements.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -145,7 +145,8 @@ setup(name = "uproot", install_requires = ["numpy>=1.13.1", "awkward>=0.12.0,<1.0", "uproot-methods>=0.7.0", "cachetools"], setup_requires = ["pytest-runner"], extras_require = { - ...
Add "decompression" extra to allow all compression libs to be easily installed
py
diff --git a/src/SALib/util/__init__.py b/src/SALib/util/__init__.py index <HASH>..<HASH> 100755 --- a/src/SALib/util/__init__.py +++ b/src/SALib/util/__init__.py @@ -200,7 +200,7 @@ def read_param_file(filename, delimiter=None): num_vars = 0 fieldnames = ['name', 'lower_bound', 'upper_bound', 'group', 'dist'...
Remove deprecated U file open mode
py
diff --git a/src/OpenAccess_EPUB/ops/opsplos.py b/src/OpenAccess_EPUB/ops/opsplos.py index <HASH>..<HASH> 100644 --- a/src/OpenAccess_EPUB/ops/opsplos.py +++ b/src/OpenAccess_EPUB/ops/opsplos.py @@ -146,6 +146,8 @@ class OPSPLoS(OPSMeta): #TODO: List elements #TODO: Definition lists #TODO: Ba...
Committing because I need to take a break...
py
diff --git a/wagtailmenus/models.py b/wagtailmenus/models.py index <HASH>..<HASH> 100644 --- a/wagtailmenus/models.py +++ b/wagtailmenus/models.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from collections import defaultdict
Add utf-8 encoding to models.py
py
diff --git a/LiSE/LiSE/engine.py b/LiSE/LiSE/engine.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/engine.py +++ b/LiSE/LiSE/engine.py @@ -1024,7 +1024,7 @@ class Engine(AbstractEngine, gORM): """ (branch, tick) = self.time - for (typ, character, entity, rulebook, rule) in self._poll_rules():...
Make the poller collect rules in a list before handling any Inelegant but necessary with the way the caches work.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -39,9 +39,15 @@ from distutils.dist import Distribution from distutils.cmd import Command from distutils.command.clean import (clean, log, remove_tree) -# check python version -if sys.version < '2.7': - raise ImportErro...
setup.py: added hard requirement on LAL setup.py will crash if LAL is not present, and will direct the user to the DASWG wiki
py
diff --git a/salt/cli/__init__.py b/salt/cli/__init__.py index <HASH>..<HASH> 100644 --- a/salt/cli/__init__.py +++ b/salt/cli/__init__.py @@ -196,7 +196,7 @@ class SaltKey(parsers.SaltKeyOptionParser): self.setup_logfile_logger() - key = salt.cli.key.Key(self.config) + key = salt.key.KeyCLI(...
Change over to the new salt-key backend
py
diff --git a/src/marcxml2mods/transformators.py b/src/marcxml2mods/transformators.py index <HASH>..<HASH> 100755 --- a/src/marcxml2mods/transformators.py +++ b/src/marcxml2mods/transformators.py @@ -92,7 +92,7 @@ def transform_to_mods_multimono(marc_xml, uuid): return _apply_postprocessing( xml=transfor...
Added correct postprocessor functions to each transformation function.
py
diff --git a/dingo/grid/mv_grid/mv_connect.py b/dingo/grid/mv_grid/mv_connect.py index <HASH>..<HASH> 100644 --- a/dingo/grid/mv_grid/mv_connect.py +++ b/dingo/grid/mv_grid/mv_connect.py @@ -62,6 +62,14 @@ def find_nearest_conn_objects(node_shp, branches, proj, conn_dist_weight, debug, ...
tolerance in mv_connect.py changed Conflicts: dingo/grid/mv_grid/mv_connect.py
py
diff --git a/inginious/frontend/cookieless_app.py b/inginious/frontend/cookieless_app.py index <HASH>..<HASH> 100644 --- a/inginious/frontend/cookieless_app.py +++ b/inginious/frontend/cookieless_app.py @@ -238,16 +238,18 @@ class CookieLessCompatibleSession: - a string which is the session_id to be used. ...
Set the "cookieless" flags AFTER the session is cleaned
py
diff --git a/xclim/indices/_anuclim.py b/xclim/indices/_anuclim.py index <HASH>..<HASH> 100644 --- a/xclim/indices/_anuclim.py +++ b/xclim/indices/_anuclim.py @@ -38,10 +38,8 @@ def isothermality(tasmin: xarray.DataArray, tasmax: xarray.DataArray, freq: str ---------- tasmin : xarray.DataArray average...
Update xclim/indices/_anuclim.py
py
diff --git a/nosedjango/nosedjango.py b/nosedjango/nosedjango.py index <HASH>..<HASH> 100644 --- a/nosedjango/nosedjango.py +++ b/nosedjango/nosedjango.py @@ -530,17 +530,18 @@ class SeleniumPlugin(Plugin): self.ss_dir = os.path.abspath('failure_screenshots') self.x_display_counter = 1 + self.x_...
Changed the DISPLAY that xvfb alternates from to start at 1 and go to 2 by default
py
diff --git a/pvlib/pvl_readtmy3.py b/pvlib/pvl_readtmy3.py index <HASH>..<HASH> 100755 --- a/pvlib/pvl_readtmy3.py +++ b/pvlib/pvl_readtmy3.py @@ -172,7 +172,7 @@ def pvl_readtmy3(FileName): meta['longitude']=float(meta['longitude']) meta['TZ']=float(meta['TZ']) meta['USAF']=int(meta['USAF']) - meta=pvl_to...
changed handling of metatdata to dicts
py
diff --git a/odl/util/testutils.py b/odl/util/testutils.py index <HASH>..<HASH> 100644 --- a/odl/util/testutils.py +++ b/odl/util/testutils.py @@ -22,7 +22,6 @@ from __future__ import print_function, division, absolute_import from future import standard_library standard_library.install_aliases() from builtins import...
BUG: fix all_almost_equal failing on NumPy arrays
py
diff --git a/ipyrad/assemble/cluster_within.py b/ipyrad/assemble/cluster_within.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/cluster_within.py +++ b/ipyrad/assemble/cluster_within.py @@ -95,7 +95,12 @@ def sample_cleanup(data, sample): ## max len is 4 greater than maxlen, to allow for pair separators. ...
Handle sample cleanup if the sample has no hidepth clusters.
py
diff --git a/src/rammbock/Rammbock.py b/src/rammbock/Rammbock.py index <HASH>..<HASH> 100755 --- a/src/rammbock/Rammbock.py +++ b/src/rammbock/Rammbock.py @@ -76,8 +76,10 @@ class Rammbock(object): def create_message(self): self.data = "" - def add_string(self, value): - self.data += str(value...
Added possibility to put padding to strings in add string kw
py
diff --git a/exa/tools.py b/exa/tools.py index <HASH>..<HASH> 100644 --- a/exa/tools.py +++ b/exa/tools.py @@ -79,10 +79,15 @@ def initialize_database(verbose=False): obj = Container(name='test', description='created during install...') # This prevents FlushError for inherited containers... -def finalize_in...
closes #<I>: Implementing that was easier than imagined. Of course this needs testing; for now I have deleted my .exa directory and am always importing live. In the associated issue #<I> I will add my notebook header
py
diff --git a/dedupe/api.py b/dedupe/api.py index <HASH>..<HASH> 100644 --- a/dedupe/api.py +++ b/dedupe/api.py @@ -548,7 +548,15 @@ class StaticMatching(Matching): for predicate in full_predicate: if hasattr(predicate, "index") and predicate.index is None: predicate.in...
unpickle doc_to_id as enumerating defaultdict * load data into defaultdict update loading of _doc_to_id data. * simpler code to find the max * increase the next id by 1 * adding python 2, python 3 compatibility
py
diff --git a/pyqode/python/widgets/code_edit.py b/pyqode/python/widgets/code_edit.py index <HASH>..<HASH> 100644 --- a/pyqode/python/widgets/code_edit.py +++ b/pyqode/python/widgets/code_edit.py @@ -30,8 +30,6 @@ class PyCodeEditBase(api.CodeEdit): color_scheme='qt'): super(PyCodeEditBase, se...
Fix PythonSH install order in order to fix caret line color
py
diff --git a/src/python/dxpy/scripts/dx_build_app.py b/src/python/dxpy/scripts/dx_build_app.py index <HASH>..<HASH> 100755 --- a/src/python/dxpy/scripts/dx_build_app.py +++ b/src/python/dxpy/scripts/dx_build_app.py @@ -239,7 +239,7 @@ def main(**kwargs): print >> sys.stderr, "Created temporary project %s to bu...
dx-build-applet now only throws an error if DX_PROJECT_CONTEXT_ID is not set either
py
diff --git a/pyemu/utils/os_utils.py b/pyemu/utils/os_utils.py index <HASH>..<HASH> 100644 --- a/pyemu/utils/os_utils.py +++ b/pyemu/utils/os_utils.py @@ -15,7 +15,7 @@ def remove_readonly(func, path, excinfo): func(path) def run(cmd_str,cwd='.',verbose=False): - """ an OS agnostic function to execute comman...
added a little more to the run() docstring
py
diff --git a/gpiozero/boards.py b/gpiozero/boards.py index <HASH>..<HASH> 100644 --- a/gpiozero/boards.py +++ b/gpiozero/boards.py @@ -1604,10 +1604,18 @@ class Energenie(SourceMixin, Device): @property def socket(self): + """ + Returns the socket number. + """ return self._soc...
Add additional docstrings for Energenie
py
diff --git a/mbed/mbed.py b/mbed/mbed.py index <HASH>..<HASH> 100644 --- a/mbed/mbed.py +++ b/mbed/mbed.py @@ -587,8 +587,17 @@ class Git(object): def cleanup(): info("Cleaning up Git index") - if os.path.exists(os.path.join('.git', 'logs')): - rmtree_readonly(os.path.join('.git', 'log...
Fixed caching issue where cloned/copied repository has remnants of local branches where it's expected that it's freshly copied, e.g. no local branches
py
diff --git a/openquake/baselib/tests/parallel_test.py b/openquake/baselib/tests/parallel_test.py index <HASH>..<HASH> 100644 --- a/openquake/baselib/tests/parallel_test.py +++ b/openquake/baselib/tests/parallel_test.py @@ -16,6 +16,7 @@ # You should have received a copy of the GNU Affero General Public License # alon...
Skipped parallel_test with celery on Travis [skip CI] Former-commit-id: 3e0bb0be<I>cc<I>bbca<I>e6aad<I>df4b0c [formerly <I>b<I>cfef<I>c<I>e<I>c<I>ee] Former-commit-id: <I>c0c<I>a3ca<I>ff<I>fcdbac<I>
py
diff --git a/src/app/lookups/sqlite/base.py b/src/app/lookups/sqlite/base.py index <HASH>..<HASH> 100644 --- a/src/app/lookups/sqlite/base.py +++ b/src/app/lookups/sqlite/base.py @@ -15,7 +15,6 @@ mslookup_tables = {'biosets': ['set_id INTEGER PRIMARY KEY', 'charge INTEGER', ...
Remove ion inj time column from spectra table, is already in its own table
py
diff --git a/pandas/tests/test_format.py b/pandas/tests/test_format.py index <HASH>..<HASH> 100644 --- a/pandas/tests/test_format.py +++ b/pandas/tests/test_format.py @@ -364,6 +364,13 @@ class TestDataFrameFormatting(unittest.TestCase): check_with_width(df, 30) check_with_width(df, 50) + def tes...
TST: to_html regards empty string labels as repeated labels GH<I>
py
diff --git a/pymatgen/io/vasp/sets.py b/pymatgen/io/vasp/sets.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/vasp/sets.py +++ b/pymatgen/io/vasp/sets.py @@ -584,10 +584,6 @@ class MPStaticSet(MPRelaxSet): self.reciprocal_density kpoints = super(MPStaticSet, self).kpoints - #if lepsilon ...
revert iosets change...
py
diff --git a/sense_hat/sense_hat.py b/sense_hat/sense_hat.py index <HASH>..<HASH> 100644 --- a/sense_hat/sense_hat.py +++ b/sense_hat/sense_hat.py @@ -272,7 +272,7 @@ class SenseHat(object): def set_pixels(self, pixel_list): """ Accepts a list containing 64 smaller lists of [R,G,B] pixels and - ...
Fix typo in sense_hat.py
py
diff --git a/ayrton/__init__.py b/ayrton/__init__.py index <HASH>..<HASH> 100644 --- a/ayrton/__init__.py +++ b/ayrton/__init__.py @@ -102,6 +102,7 @@ class Ayrton (object): def __init__ (self, globals=None, locals=None, **kwargs): self.environ= Environment (globals, locals, **kwargs) self.option...
[+] wait_for_pending_children() does just that. useful for children sent to the bg.
py
diff --git a/pyghmi/ipmi/oem/lenovo/config.py b/pyghmi/ipmi/oem/lenovo/config.py index <HASH>..<HASH> 100644 --- a/pyghmi/ipmi/oem/lenovo/config.py +++ b/pyghmi/ipmi/oem/lenovo/config.py @@ -265,6 +265,9 @@ class LenovoFirmwareConfig(object): sortid = 0 for config in xml.iter("config"): l...
iSCSI settings aren't viable, mask for now The iSCSI attempts require special consideration that is not currently implemented. Mask it out for now. Change-Id: I<I>de1ddce<I>cd<I>d1d9e7ecf0bcbf<I>f
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,21 @@ # File: setup.py # Desc: pyinfra package setup -from setuptools import setup, find_packages +import sys + +try: + from setuptools import setup, find_packages + +except ImportError: + print(''' +Error: p...
Display useful error when `setuptools` isn't present.
py
diff --git a/Lib/fontbakery/profiles/opentype.py b/Lib/fontbakery/profiles/opentype.py index <HASH>..<HASH> 100644 --- a/Lib/fontbakery/profiles/opentype.py +++ b/Lib/fontbakery/profiles/opentype.py @@ -46,6 +46,8 @@ OPENTYPE_PROFILE_CHECKS = [ 'com.google.fonts/check/varfont/regular_opsz_coord', 'com.google....
add new cff checks to the list of expected opentype checks (#<I>)
py
diff --git a/auth0/v3/management/jobs.py b/auth0/v3/management/jobs.py index <HASH>..<HASH> 100644 --- a/auth0/v3/management/jobs.py +++ b/auth0/v3/management/jobs.py @@ -54,7 +54,7 @@ class Jobs(object): # This conversion is necessary because the requests library will convert True to 'True'. # The ...
fixed boolean conversion as requested
py
diff --git a/smappy/smappy.py b/smappy/smappy.py index <HASH>..<HASH> 100644 --- a/smappy/smappy.py +++ b/smappy/smappy.py @@ -684,6 +684,32 @@ class LocalSmappee(object): data = "control,controlId=" + val_id return self._basic_post(url='commandControlPublic', data=data) + def on_command_control(...
Add explicit on /off as per advanced mode working observed
py
diff --git a/pushbaby/__init__.py b/pushbaby/__init__.py index <HASH>..<HASH> 100644 --- a/pushbaby/__init__.py +++ b/pushbaby/__init__.py @@ -52,6 +52,7 @@ class PushBaby: platform: The platform to use ('sandbox' or 'prod') or a tuple of hostname and port. """ + self...
Oops: don't break if you don't supply a feedback address.
py