diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/django_plotly_dash/dash_wrapper.py b/django_plotly_dash/dash_wrapper.py index <HASH>..<HASH> 100644 --- a/django_plotly_dash/dash_wrapper.py +++ b/django_plotly_dash/dash_wrapper.py @@ -76,6 +76,7 @@ class DjangoDash: def __init__(self, name=None, serve_locally=False, expanded_callba...
added 3 lines to DjangoDash to implement this feature
py
diff --git a/formats/folia.py b/formats/folia.py index <HASH>..<HASH> 100644 --- a/formats/folia.py +++ b/formats/folia.py @@ -5605,6 +5605,7 @@ class ForeignData(AbstractElement): self._checknamespace(subnode) self.doc = doc self.id = None + self.auth = True #do not call ...
set a static auth attribute on foreigndata as some methods expect auth to be readable on every element
py
diff --git a/src/infi/projector/helper/utils/__init__.py b/src/infi/projector/helper/utils/__init__.py index <HASH>..<HASH> 100644 --- a/src/infi/projector/helper/utils/__init__.py +++ b/src/infi/projector/helper/utils/__init__.py @@ -96,8 +96,8 @@ def get_python_interpreter(): def get_executable(filename): imp...
HOSTDEV-<I> fixing on Windows
py
diff --git a/hydpy/models/dam/dam_model.py b/hydpy/models/dam/dam_model.py index <HASH>..<HASH> 100644 --- a/hydpy/models/dam/dam_model.py +++ b/hydpy/models/dam/dam_model.py @@ -1180,7 +1180,6 @@ class Model(modeltools.ModelELS): """Dam base model.""" _INLET_METHODS = (pic_inflow_v1, - ...
Fix the dam base model. Method `pic_totalremotedischarge_v1` was defined as a `inlet method` by mistake. Now it is properly defined as a `receiver method`.
py
diff --git a/blended/__main__.py b/blended/__main__.py index <HASH>..<HASH> 100644 --- a/blended/__main__.py +++ b/blended/__main__.py @@ -37,6 +37,7 @@ cwd = os.getcwd() try: app_version = pkg_resources.require("blended")[0].version + app_version = app_version[0] + app_version[1] + app_version[2] except: ...
Fixed the version issue I made it so that the version would only include the major and minor versions and not the micro version
py
diff --git a/wavefront_reader/reading.py b/wavefront_reader/reading.py index <HASH>..<HASH> 100644 --- a/wavefront_reader/reading.py +++ b/wavefront_reader/reading.py @@ -22,9 +22,6 @@ def read_objfile(fname): with open(fname) as f: lines = f.read().splitlines() - if 'OBJ' not in lines[0]: - r...
Don't ignore file if it doesn't have a comment with "OBJ" in the first line (some don't)
py
diff --git a/PySimpleGUI.py b/PySimpleGUI.py index <HASH>..<HASH> 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -version = __version__ = "4.8.0.4 Unreleased - Tab colors! New look and feel to stop gray nagging - DefaultNoMoreNagging" +version = __version__ = "4.8.0.5 Unreleased...
More instructions added to Window init on look and feel settings
py
diff --git a/authy/api/resources.py b/authy/api/resources.py index <HASH>..<HASH> 100644 --- a/authy/api/resources.py +++ b/authy/api/resources.py @@ -1,5 +1,6 @@ import requests import platform + from authy import __version__, AuthyFormatException try: from urllib import quote @@ -36,8 +37,13 @@ class Resourc...
api key in header API KEY is being sent in the headers rather than parameters.
py
diff --git a/junit2htmlreport/tests/test_junit2html.py b/junit2htmlreport/tests/test_junit2html.py index <HASH>..<HASH> 100644 --- a/junit2htmlreport/tests/test_junit2html.py +++ b/junit2htmlreport/tests/test_junit2html.py @@ -2,7 +2,7 @@ Test that does nothing other than import """ import os -from junit2htmlreport....
make travis py.test find our input file helper (even though pycharm moans)
py
diff --git a/slackviewer/reader.py b/slackviewer/reader.py index <HASH>..<HASH> 100644 --- a/slackviewer/reader.py +++ b/slackviewer/reader.py @@ -223,7 +223,7 @@ class Reader(object): if 'reply_count' in message._message or 'replies' in message._message: # Identify and save wher...
Fix KeyError: 'replies' (#<I>)
py
diff --git a/dynaphopy/analysis/fitting/fitting_functions.py b/dynaphopy/analysis/fitting/fitting_functions.py index <HASH>..<HASH> 100644 --- a/dynaphopy/analysis/fitting/fitting_functions.py +++ b/dynaphopy/analysis/fitting/fitting_functions.py @@ -7,7 +7,7 @@ kb_boltzmann = 8.6173324e-5 # eV/K def get_standard...
Modified again the error definition to make it more consistent (error=average(SDE)/sqrt(area))
py
diff --git a/tests/utils.py b/tests/utils.py index <HASH>..<HASH> 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -23,6 +23,7 @@ WISP = "CS2_231" WHELP = "ds1_whelptoken" # Token spells +INNERVATE = "EX1_169" MOONFIRE = "CS2_008" CIRCLE_OF_HEALING = "EX1_621" DREAM = "DREAM_04"
Add an INNERVATE helper in tests
py
diff --git a/astropy_helpers/tests/test_setup_helpers.py b/astropy_helpers/tests/test_setup_helpers.py index <HASH>..<HASH> 100644 --- a/astropy_helpers/tests/test_setup_helpers.py +++ b/astropy_helpers/tests/test_setup_helpers.py @@ -246,7 +246,7 @@ def test_missing_cython_c_files(capsys, pyx_extension_test_package, ...
Added test of --parallel option
py
diff --git a/test/fixtures.py b/test/fixtures.py index <HASH>..<HASH> 100644 --- a/test/fixtures.py +++ b/test/fixtures.py @@ -191,22 +191,8 @@ class KafkaFixture(Fixture): (host, port) = (parse.hostname, parse.port) fixture = ExternalService(host, port) else: - # force IPv...
Change fixture default host to localhost (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -75,6 +75,7 @@ if sys.version < '3': extras_require = { 'rtree': ["Rtree==0.8.2"], 'celery': ["celery >=3.1, <4.0"], + 'plotting': ["matplotlib >=1.5"], } setup(
Add "plotting" extra to setup.py which requires matplotlib Former-commit-id: caf4d<I>a<I>c<I>f4f8a5d1f9cc<I>d0f0f1fe
py
diff --git a/pypot/server/httpserver.py b/pypot/server/httpserver.py index <HASH>..<HASH> 100644 --- a/pypot/server/httpserver.py +++ b/pypot/server/httpserver.py @@ -487,13 +487,8 @@ class RecordMoveHandler(PoppyRequestHandler): try: data = json.loads(self.request.body.decode()) motors = data["motors"] - e...
feat(httpserver): If no motor list is given, the record request starts a record with all motors
py
diff --git a/pvlib/tests/iotools/test_pvgis.py b/pvlib/tests/iotools/test_pvgis.py index <HASH>..<HASH> 100644 --- a/pvlib/tests/iotools/test_pvgis.py +++ b/pvlib/tests/iotools/test_pvgis.py @@ -159,8 +159,9 @@ def _compare_pvgis_tmy_csv(expected, month_year_expected, inputs_expected, for meta_value in meta: ...
Address iotools test failures (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,8 +14,9 @@ setuptools.setup( packages=['flake8_aaa'], py_modules=['flake8_aaa'], install_requires=[ - 'flake8 > 3', - 'py > 1.5', + 'flake8 >= 3', + 'py >= 1.5', + 'six >= ...
Add six to install_requires
py
diff --git a/scriptabit/configuration.py b/scriptabit/configuration.py index <HASH>..<HASH> 100644 --- a/scriptabit/configuration.py +++ b/scriptabit/configuration.py @@ -110,6 +110,13 @@ def __get_configuration(): help='''Name of the authentication file section containing the Habitica credentials''')...
added configuration option for habitica url
py
diff --git a/salt/modules/grains.py b/salt/modules/grains.py index <HASH>..<HASH> 100644 --- a/salt/modules/grains.py +++ b/salt/modules/grains.py @@ -352,7 +352,7 @@ def filter_by(lookup_dict, grain='os_family', merge=None, default='default'): :param default: default lookup_dict's key used if the grain does not e...
Fix versionadded:: for filter_by() "default=" parameter This parameter has been introduced by commit dbfe<I>a, which has not been merged in <I> branch. Only in <I>.
py
diff --git a/ella/newman/forms.py b/ella/newman/forms.py index <HASH>..<HASH> 100644 --- a/ella/newman/forms.py +++ b/ella/newman/forms.py @@ -12,10 +12,13 @@ class SiteFilterForm(forms.Form): self.init_form(user) def init_form(self, user): - category_ids = DenormalizedCategoryUserRole.objects.ro...
Category filter form works for superusers, refs #<I>. Can reset filter, fixes #<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ with open('README.md') as f: long_description = f.read() setup(name='kmapper', - version='1.1.4', + version='1.1.5', description='Python implementation of Mapper algorithm for Topological ...
incremement to get new pypi features working
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,6 +5,7 @@ from __future__ import print_function from setuptools import setup, Extension import sys +from io import open try: import commands @@ -90,10 +91,10 @@ class PkgConfigExtension(Extension): pass...
setup.py: Open text files with utf-8 encoding explicitly With ASCII locale, it blows up otherwise on Python <I> and Python <I> on non-Fedora systems, as we have Czech characters in both README and CHANGES. Fixes <URL>
py
diff --git a/guake/dbusiface.py b/guake/dbusiface.py index <HASH>..<HASH> 100755 --- a/guake/dbusiface.py +++ b/guake/dbusiface.py @@ -145,3 +145,7 @@ class DbusManager(dbus.service.Object): @dbus.service.method(DBUS_NAME) def h_split_current_terminal(self): self.guake.notebook.get_current_terminal()...
New dbus interface method to execute command on focused splitted terminal
py
diff --git a/bcbio/qc/multiqc.py b/bcbio/qc/multiqc.py index <HASH>..<HASH> 100644 --- a/bcbio/qc/multiqc.py +++ b/bcbio/qc/multiqc.py @@ -144,7 +144,8 @@ def _create_config_file(out_dir, samples): out = {"table_columns_visible": {"SnpEff": {"Change_rate": False, "Ts_Tv_ratio": ...
MultiQC: hide samtools cigar-based error rate Confusing table value of mismatched / bases based on CIGAR strings
py
diff --git a/sos/report/plugins/openstack_nova.py b/sos/report/plugins/openstack_nova.py index <HASH>..<HASH> 100644 --- a/sos/report/plugins/openstack_nova.py +++ b/sos/report/plugins/openstack_nova.py @@ -51,6 +51,10 @@ class OpenStackNova(Plugin): "nova-manage " + nova_config + " floating list", ...
[openstack_nova] Add nova-status upgrade check output nova-status upgrade check [1] is a tool that preforms release specific checks ahead of an upgrade. [1] <URL>
py
diff --git a/jujupy.py b/jujupy.py index <HASH>..<HASH> 100644 --- a/jujupy.py +++ b/jujupy.py @@ -120,6 +120,7 @@ class JujuClientDevel: stderr.seek(0) e.stderr = stderr.read() if 'Unable to connect to environment' not in e.stderr: + print('!!! ' + ...
Added better logging to learn more about the errors.
py
diff --git a/tartpy/eventloop.py b/tartpy/eventloop.py index <HASH>..<HASH> 100644 --- a/tartpy/eventloop.py +++ b/tartpy/eventloop.py @@ -61,14 +61,26 @@ class AsyncioEventLoop(object, metaclass=Singleton): def __init__(self): self.loop = asyncio.get_event_loop() + self.do = self.sync_do + + ...
Allow sync and async (thread based) scheduling
py
diff --git a/salt/states/win_servermanager.py b/salt/states/win_servermanager.py index <HASH>..<HASH> 100644 --- a/salt/states/win_servermanager.py +++ b/salt/states/win_servermanager.py @@ -36,15 +36,13 @@ def installed(name, recurse=False, force=False): 'comment': ''} # Determine if the feature...
avoid unusual try-except; use if-else instead ************* Module salt.states.win_servermanager W<I>: <I>,8:installed: Expression "__salt__['win_servermanager.list_installed']()[name]" is assigned to nothing
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -144,7 +144,7 @@ html_theme = 'sphinx_rtd_theme' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a...
DOC: don't define html_static_path to avoid warning
py
diff --git a/ronkyuu/tools.py b/ronkyuu/tools.py index <HASH>..<HASH> 100644 --- a/ronkyuu/tools.py +++ b/ronkyuu/tools.py @@ -88,9 +88,9 @@ def parse_link_header(link): try: rel_url = re.search('<(.+?)>', rel_break[0]).group(1) rel_names = quoted_split(rel_break[1], '=')[-1] + ...
silly mistake, remove quotes outside of the loop
py
diff --git a/glue_vispy_viewers/common/toolbar.py b/glue_vispy_viewers/common/toolbar.py index <HASH>..<HASH> 100644 --- a/glue_vispy_viewers/common/toolbar.py +++ b/glue_vispy_viewers/common/toolbar.py @@ -134,27 +134,6 @@ class RotateTool(CheckableTool): self._vispy_widget.view.camera.azimuth -= 1. # set sp...
Remove PatchedElementSubsetState
py
diff --git a/src/kba/pipeline/test_zookeeper_task_queue.py b/src/kba/pipeline/test_zookeeper_task_queue.py index <HASH>..<HASH> 100644 --- a/src/kba/pipeline/test_zookeeper_task_queue.py +++ b/src/kba/pipeline/test_zookeeper_task_queue.py @@ -1,4 +1,5 @@ import os +import pytest import random from _task_queues imp...
mark.xfail on test_num_available for ZookeerTaskQueue until we fix it. This is not needed for this release, but will be soon.
py
diff --git a/chatterbot/trainers.py b/chatterbot/trainers.py index <HASH>..<HASH> 100644 --- a/chatterbot/trainers.py +++ b/chatterbot/trainers.py @@ -385,11 +385,13 @@ class UbuntuCorpusTrainer(Trainer): '**', '**', '*.tsv' ) - for tsv_file in glob.iglob(extracted_corpus_path): - ...
Allow batch size to be set for ubuntu corpus training
py
diff --git a/diyr/utils/bible.py b/diyr/utils/bible.py index <HASH>..<HASH> 100644 --- a/diyr/utils/bible.py +++ b/diyr/utils/bible.py @@ -239,7 +239,9 @@ class Bible(): def get_book_number(self, book): # Adding one because lists are indexted starting with zero - return self.BIBLE.keys().index(bo...
Force two-digit format for bible book number This two digit format, using leading 0s for single digit book numbers, is the standard for online.recoveryversion.org. This commit adds format specifiers through the string module's Formatter class to force a two digit numeric for each book number. Fixes: <URL>
py
diff --git a/conference_scheduler/tests/test_parameters.py b/conference_scheduler/tests/test_parameters.py index <HASH>..<HASH> 100644 --- a/conference_scheduler/tests/test_parameters.py +++ b/conference_scheduler/tests/test_parameters.py @@ -5,6 +5,12 @@ def test_tag_array(events): tag_array = parameters.tag_arra...
Add test for function to build session array.
py
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -1679,7 +1679,9 @@ def os_data(): grains['lsb_distrib_codename'] = codename if 'CPE_NAME' in os_release: cpe = ...
Prevent possible crash if CPE_NAME is wrongly written in the distro
py
diff --git a/tests/commands/test_install_test.py b/tests/commands/test_install_test.py index <HASH>..<HASH> 100644 --- a/tests/commands/test_install_test.py +++ b/tests/commands/test_install_test.py @@ -9,5 +9,5 @@ class TestTestInstall(AllenNlpTestCase): def test_get_project_root(self): project_root = _g...
edit project root test (#<I>)
py
diff --git a/demo/gptools_mds_ne.py b/demo/gptools_mds_ne.py index <HASH>..<HASH> 100644 --- a/demo/gptools_mds_ne.py +++ b/demo/gptools_mds_ne.py @@ -202,6 +202,8 @@ gp.add_data(0.904, 0, err_y=0.1) gp.add_data(0.904, 0, n=1, err_y=1) gp.add_data(0.91, 0, err_y=0.01) gp.add_data(0.91, 0, n=1, err_y=1) +gp.add_data(...
Add constraint at <I>m to keep profile believeable over fits range.
py
diff --git a/juicer/juicer/Parser.py b/juicer/juicer/Parser.py index <HASH>..<HASH> 100644 --- a/juicer/juicer/Parser.py +++ b/juicer/juicer/Parser.py @@ -223,6 +223,7 @@ class Parser(object): parser_rpm_upload.add_argument('-r', metavar=('reponame', 'item'), \ action='a...
juicer rpm upload required args. Closes #<I>.
py
diff --git a/hedgehog/client/__init__.py b/hedgehog/client/__init__.py index <HASH>..<HASH> 100644 --- a/hedgehog/client/__init__.py +++ b/hedgehog/client/__init__.py @@ -12,6 +12,8 @@ _CLOSE = b'\x02' class ClientData: def __init__(self): self.out_of_band = None + self.motor_cbs = {} + sel...
correctly register motor and process callbacks
py
diff --git a/backtrader/signal.py b/backtrader/signal.py index <HASH>..<HASH> 100644 --- a/backtrader/signal.py +++ b/backtrader/signal.py @@ -36,4 +36,10 @@ import backtrader as bt class Signal(bt.Indicator): + SignalTypes = SignalTypes + lines = ('signal',) + + def __init__(self): + self.lines....
Allow Signal to wrap LineIterators
py
diff --git a/pygal/test/test_graph.py b/pygal/test/test_graph.py index <HASH>..<HASH> 100644 --- a/pygal/test/test_graph.py +++ b/pygal/test/test_graph.py @@ -24,6 +24,7 @@ import pygal import uuid import sys import pytest +import io from pygal.graph.map import BaseMap from pygal.util import cut from pygal._compa...
Open file as utf-8 during tests (copyright symbol) io.open works the same in python2 and in python3
py
diff --git a/police_api/neighbourhoods.py b/police_api/neighbourhoods.py index <HASH>..<HASH> 100644 --- a/police_api/neighbourhoods.py +++ b/police_api/neighbourhoods.py @@ -49,7 +49,8 @@ class Neighbourhood(Resource): return super(Neighbourhood.Priority, self)._hydrate(data) def _hydrate_issue...
Don't call strptime when the issue date is None (in Priority._hydrate_issue_date)
py
diff --git a/spyderlib/widgets/ipython.py b/spyderlib/widgets/ipython.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/ipython.py +++ b/spyderlib/widgets/ipython.py @@ -245,7 +245,10 @@ These commands were executed: """ if self._reading: if programs.is_module_installed('IPython', ...
IPython Console: Fix when sending debugging commands for the upcoming <I> release
py
diff --git a/salt/utils/ssdp.py b/salt/utils/ssdp.py index <HASH>..<HASH> 100644 --- a/salt/utils/ssdp.py +++ b/salt/utils/ssdp.py @@ -67,7 +67,7 @@ class SSDPBase(object): # Default values DEFAULTS = { SIGNATURE: '__salt_master_service', - PORT: 30777, + PORT: 4520, LISTEN_IP:...
Set salt-like port for SSDP
py
diff --git a/dscan/plugins/drupal.py b/dscan/plugins/drupal.py index <HASH>..<HASH> 100644 --- a/dscan/plugins/drupal.py +++ b/dscan/plugins/drupal.py @@ -9,6 +9,7 @@ class Drupal(BasePlugin): plugins_base_url = [ "%ssites/all/modules/%s/", "%ssites/default/modules/%s/", + "%sm...
Adding support for additional modules urls in drupal
py
diff --git a/HARK/ConsumptionSaving/ConsIndShockModel.py b/HARK/ConsumptionSaving/ConsIndShockModel.py index <HASH>..<HASH> 100644 --- a/HARK/ConsumptionSaving/ConsIndShockModel.py +++ b/HARK/ConsumptionSaving/ConsIndShockModel.py @@ -1736,6 +1736,11 @@ class PerfForesightConsumerType(AgentType): DiePrb = DieP...
Set newborn's death probabilities to 0
py
diff --git a/src/parsec/__init__.py b/src/parsec/__init__.py index <HASH>..<HASH> 100644 --- a/src/parsec/__init__.py +++ b/src/parsec/__init__.py @@ -394,6 +394,13 @@ def generate(fn): return endval(text, index) else: return Value.success(index, endval) + except Ru...
Support Python <I> (due to PEP <I>) Python <I> fully implements PEP <I>, which changes the behavior of raising StopIteration inside generator functions. See <URL>
py
diff --git a/celerytask/tasks.py b/celerytask/tasks.py index <HASH>..<HASH> 100755 --- a/celerytask/tasks.py +++ b/celerytask/tasks.py @@ -31,6 +31,7 @@ from eveonline.models import EveAllianceInfo from authentication.managers import AuthServicesInfoManager from services.models import DiscordAuthToken +import time ...
Inceased time run_databaseUpdate to fix stability problems
py
diff --git a/examples/seq2seq/utils.py b/examples/seq2seq/utils.py index <HASH>..<HASH> 100644 --- a/examples/seq2seq/utils.py +++ b/examples/seq2seq/utils.py @@ -82,8 +82,11 @@ def build_compute_metrics_fn(task_name: str, tokenizer: PreTrainedTokenizer) -> return np.count_nonzero(tokens != tokenizer.pad_toke...
[s2s examples] Replace -<I> token ids with the tokenizer pad_id for compute_metrics (#<I>) * replace -<I> token ids with the tokenizer pad_id for compute_metrics * fixed typo for label_ids
py
diff --git a/src/urh/ui/actions/ChangeSignalRange.py b/src/urh/ui/actions/ChangeSignalRange.py index <HASH>..<HASH> 100644 --- a/src/urh/ui/actions/ChangeSignalRange.py +++ b/src/urh/ui/actions/ChangeSignalRange.py @@ -91,4 +91,12 @@ class ChangeSignalRange(QUndoCommand): self.protocol.qt_signals.protocol_upda...
add method for finding block indices
py
diff --git a/tests/test_fetch.py b/tests/test_fetch.py index <HASH>..<HASH> 100644 --- a/tests/test_fetch.py +++ b/tests/test_fetch.py @@ -77,8 +77,8 @@ def get_builds_to_test(): elif os_ == "Windows" and flags.asan and (flags.fuzzing or flags.debug): # windows only has asan-opt ? con...
[tests] Update builds to test list
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -29,9 +29,10 @@ setup( "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 2.5", - "Pr...
Update classifiers to represent tested python versions
py
diff --git a/sonnet/src/batch_norm.py b/sonnet/src/batch_norm.py index <HASH>..<HASH> 100644 --- a/sonnet/src/batch_norm.py +++ b/sonnet/src/batch_norm.py @@ -271,10 +271,14 @@ class BatchNorm(BaseBatchNorm): `channels_last`, `N...C` or `NC...`. By default it is `channels_last`. name: Name of the module...
Ensure that moving average variables in BatchNorm are correctly namescoped PiperOrigin-RevId: <I> Change-Id: Ic2e4a<I>c4ef<I>e<I>e<I>a6a1cc<I>acf<I>a<I>f
py
diff --git a/animation/__init__.py b/animation/__init__.py index <HASH>..<HASH> 100644 --- a/animation/__init__.py +++ b/animation/__init__.py @@ -2,7 +2,7 @@ __author__ = 'Blake Printy' __email__ = 'bprinty@gmail.com' -__version__ = '0.0.1' +__version__ = '0.0.2' from .decorators import wait, simple_wait, Wai...
incremented patch version for new release
py
diff --git a/pysolr.py b/pysolr.py index <HASH>..<HASH> 100644 --- a/pysolr.py +++ b/pysolr.py @@ -416,10 +416,10 @@ class Solr(object): server_type = None server_string = headers.get('server', '') - if 'jetty' in server_string.lower(): + if server_string and 'jetty' in server_...
Fixed a bug where ``server_string`` could come back as ``None``. Thanks to croddy for the report!
py
diff --git a/ci/wait_for_xnat.py b/ci/wait_for_xnat.py index <HASH>..<HASH> 100644 --- a/ci/wait_for_xnat.py +++ b/ci/wait_for_xnat.py @@ -31,11 +31,11 @@ try: "giving up. ".format(server, i * wait_incr, WAIT_TIME)) time.sleep(wait_incr) - logs ...
fixed up encoding of xnat logs in CI scripts
py
diff --git a/djangosaml2idp/views.py b/djangosaml2idp/views.py index <HASH>..<HASH> 100644 --- a/djangosaml2idp/views.py +++ b/djangosaml2idp/views.py @@ -146,7 +146,7 @@ class LoginProcessView(LoginRequiredMixin, IdPHandlerViewMixin, View): try: authn_resp = self.IDP.create_authn_response( ...
Bugfix: use sp_entity_id instead of destination. Fixes #<I>
py
diff --git a/pysc2/env/sc2_env.py b/pysc2/env/sc2_env.py index <HASH>..<HASH> 100644 --- a/pysc2/env/sc2_env.py +++ b/pysc2/env/sc2_env.py @@ -627,9 +627,8 @@ class SC2Env(environment.Base): not any(o.player_result for o in self._obs)): raise ValueError("The game didn't advance to the expected game loop...
Give the diff as well. PiperOrigin-RevId: <I>
py
diff --git a/skosify.py b/skosify.py index <HASH>..<HASH> 100755 --- a/skosify.py +++ b/skosify.py @@ -197,7 +197,7 @@ def find_prop_overlap(rdf, prop1, prop2): if (s,prop2,o) in rdf: yield (s,o) -def read_input(filenames, fmt): +def read_input(filenames, infmt): """Read the given RDF file(s) and retur...
bugfix: support multiple input files that use different syntax (e.g. both rdf/xml and turtle)
py
diff --git a/src/gmaps/client.py b/src/gmaps/client.py index <HASH>..<HASH> 100644 --- a/src/gmaps/client.py +++ b/src/gmaps/client.py @@ -33,7 +33,7 @@ class Client(object): parameters[key] = "|".join(("%s:%s" % (k, v) for k,v in value.iteritems())) return parameters - def _make_request(...
we don't need default arg here
py
diff --git a/cc_core/commons/schemas/cwl.py b/cc_core/commons/schemas/cwl.py index <HASH>..<HASH> 100644 --- a/cc_core/commons/schemas/cwl.py +++ b/cc_core/commons/schemas/cwl.py @@ -6,7 +6,7 @@ URL_SCHEME_IDENTIFIER = 'path' CWL_INPUT_TYPES = ['File', 'Directory', 'string', 'int', 'long', 'float', 'double', 'bool...
added boolean arrays to cwl schema
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,6 +29,7 @@ setup( 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', + 'Programming Language :: Python :: 2.7', 'Progra...
restore python <I> to setup.py, to preserve back compat
py
diff --git a/python_jsonschema_objects/descriptors.py b/python_jsonschema_objects/descriptors.py index <HASH>..<HASH> 100644 --- a/python_jsonschema_objects/descriptors.py +++ b/python_jsonschema_objects/descriptors.py @@ -44,7 +44,7 @@ class AttributeDescriptor(object): type_checks.append(typ) ...
Fix #<I>: We need to consider TypeProxy as possible components of a oneOf
py
diff --git a/cms_lab_carousel/models.py b/cms_lab_carousel/models.py index <HASH>..<HASH> 100644 --- a/cms_lab_carousel/models.py +++ b/cms_lab_carousel/models.py @@ -1,4 +1,5 @@ from cms.models import CMSPlugin +from cms.models.fields import PageField from django.core.validators import MinValueValidator, MaxValueVal...
Replace cms.Page FK with PageField This adds indicators of page hierarchy and doesn't list each page twice. Inspired by: <URL>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup setup( name='py-canary', - version='0.1.0', + version='0.1.1', packages=['canary'], url='https://github.com/snjoetw/py-canary', license='MIT',
Bumped version to <I>
py
diff --git a/master/buildbot/test/unit/test_util_namespace.py b/master/buildbot/test/unit/test_util_namespace.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/unit/test_util_namespace.py +++ b/master/buildbot/test/unit/test_util_namespace.py @@ -65,11 +65,6 @@ class Namespace(unittest.TestCase): for i...
remove the inheritence forbid from the specs Implementing it will impact performance <URL>
py
diff --git a/widgets.py b/widgets.py index <HASH>..<HASH> 100644 --- a/widgets.py +++ b/widgets.py @@ -363,6 +363,9 @@ class WTextEntry(EditorExt): self.adjust_cursor_eol() self.just_started = True + def get_text(self): + return self.get_cur_line() + def handle_cursor_keys(self, key):...
widgets: WTextEntry: Add get_text() method to get widget value.
py
diff --git a/pyes/es.py b/pyes/es.py index <HASH>..<HASH> 100644 --- a/pyes/es.py +++ b/pyes/es.py @@ -365,6 +365,18 @@ class ES(object): alias_obj['alias_for'] = [index] return result + def get_closed_indices(self): + """ + Get all closed indices. + """ + ...
Added get_closed_indices function - to get all closed indices.
py
diff --git a/llvmlite/binding/ffi.py b/llvmlite/binding/ffi.py index <HASH>..<HASH> 100644 --- a/llvmlite/binding/ffi.py +++ b/llvmlite/binding/ffi.py @@ -180,16 +180,19 @@ else: # Try to load from all of the different paths +errors = [] for _lib_path in _lib_paths: try: lib = ctypes.CDLL(_lib_path)...
buffer all errors, and echo them at the end This will avoid printing errors unnecessarily.
py
diff --git a/dependencies/__init__.py b/dependencies/__init__.py index <HASH>..<HASH> 100644 --- a/dependencies/__init__.py +++ b/dependencies/__init__.py @@ -8,7 +8,6 @@ :license: LGPL-3, see LICENSE for more details. """ -import functools import inspect import six @@ -51,11 +50,12 @@ class InjectorBase(ty...
Inject dependencies for classes only during attribute access.
py
diff --git a/fabric_bolt/projects/util.py b/fabric_bolt/projects/util.py index <HASH>..<HASH> 100644 --- a/fabric_bolt/projects/util.py +++ b/fabric_bolt/projects/util.py @@ -15,15 +15,15 @@ fabric_special_options = ['no_agent', 'forward-agent', 'config', 'disable-known- 'command-timeout', 'u...
Add SHELL setting, as it is not always the case the default shell is bash, and some default shells don't support things as 'source'
py
diff --git a/tests/__init__.py b/tests/__init__.py index <HASH>..<HASH> 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -66,8 +66,8 @@ class FunFactoryTests(Plugin): "'PASSWORD': '%s'" % DB_PASS) new_st = new_st.replace("'NAME': ''", ...
Fixes patch to secret key in the test suite
py
diff --git a/examples/glyphs/airports_map.py b/examples/glyphs/airports_map.py index <HASH>..<HASH> 100644 --- a/examples/glyphs/airports_map.py +++ b/examples/glyphs/airports_map.py @@ -17,7 +17,7 @@ from bokeh.models import ColumnDataSource try: import urllib.request as urllib_request except ImportError: - ...
added python 2 compatability for airports example [ci enable examples]
py
diff --git a/qds_sdk/commands.py b/qds_sdk/commands.py index <HASH>..<HASH> 100644 --- a/qds_sdk/commands.py +++ b/qds_sdk/commands.py @@ -703,7 +703,7 @@ class DbImportCommand(Command): class CompositeCommand(Command): @classmethod - def compose(cls, sub_commands, cluster_label=None, notify=False): + def...
Add support for macros in composite-commands
py
diff --git a/tests/testapp/test_registration.py b/tests/testapp/test_registration.py index <HASH>..<HASH> 100644 --- a/tests/testapp/test_registration.py +++ b/tests/testapp/test_registration.py @@ -38,6 +38,18 @@ class RegistrationTest(TestCase): response = client.post("/email/", {"email": "test2@example.com"...
Test what happens when visiting an email registration link belonging to an inactive user
py
diff --git a/datapoint/Forecast.py b/datapoint/Forecast.py index <HASH>..<HASH> 100644 --- a/datapoint/Forecast.py +++ b/datapoint/Forecast.py @@ -77,10 +77,11 @@ class Forecast(object): now = timestep return now # Bodge to get around problems near midnight: - # Previous m...
Update midnight logic If the forecast is not from the current day, check that the difference between the current time and the time of the last timestep of the first day is less than one hour.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,6 +19,22 @@ except ImportError: cmdclass = {} ext_modules = [] +# patch bdist_wheel +try: + from wheel.bdist_wheel import bdist_wheel + + class _bdist_wheel(bdist_wheel): + def get_tag(self): + ...
patch bdist_wheel command
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,12 +17,13 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. # +import gettext import os im...
docs: rtd translation debug 0
py
diff --git a/datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/config.py b/datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/config.py index <HASH>..<HASH> 100644 --- a/datadog_checks_dev/datadog_checks/dev/tooling/commands/validate/config.py +++ b/datadog_checks_dev/datadog_checks/dev/tooli...
Add flink to logs only (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -51,5 +51,6 @@ setup( "slate", "Unidecode==0.4.17", "nltk", + "psycopg2", ], )
Added requirement for Psycopg2 package in Tethne
py
diff --git a/ELiDE/ELiDE/statlist.py b/ELiDE/ELiDE/statlist.py index <HASH>..<HASH> 100644 --- a/ELiDE/ELiDE/statlist.py +++ b/ELiDE/ELiDE/statlist.py @@ -38,9 +38,11 @@ class StatRowListItem(Widget): def on_listen(self, *args): self.listen(self._pull) - self.bind(value=self._push) self....
Only bind to StatRowListItem.value after it's initialized
py
diff --git a/test/__init__.py b/test/__init__.py index <HASH>..<HASH> 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -1,9 +1,11 @@ #!/usr/bin/env python # coding=utf8 +from StringIO import StringIO +import tempfile + from mock import Mock -from StringIO import StringIO class SimpleKVTest(object): ...
Added test for put_file.
py
diff --git a/salt/states/pkg.py b/salt/states/pkg.py index <HASH>..<HASH> 100644 --- a/salt/states/pkg.py +++ b/salt/states/pkg.py @@ -357,7 +357,9 @@ def installed( Skip the GPG verification check for the package to be installed skip_suggestions - Force strict package naming. Disable lookup of p...
Add versionadded RST directive for skip_suggestions
py
diff --git a/examples/buttons.py b/examples/buttons.py index <HASH>..<HASH> 100644 --- a/examples/buttons.py +++ b/examples/buttons.py @@ -150,9 +150,14 @@ try: else: # button is pressed: draw.ellipse((100,20,120,40), outline=255, fill=1) #B button filled - # Display image. - disp....
added cat image to demo :)
py
diff --git a/buildtools.py b/buildtools.py index <HASH>..<HASH> 100644 --- a/buildtools.py +++ b/buildtools.py @@ -518,7 +518,7 @@ def runTests(CTX): out_err = process.stderr.readlines() retval = process.wait() for str in out_err: - if str.find("All ...
add this change to reprodcue the valgrind error
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import find_packages, setup setup( name='politico-civic-geography', - version="0.3.6", + version="0.4.0", description='', url='https://github.com/The-Politico/politico-civic...
<I>: townships
py
diff --git a/src/saml2/metadata.py b/src/saml2/metadata.py index <HASH>..<HASH> 100644 --- a/src/saml2/metadata.py +++ b/src/saml2/metadata.py @@ -27,7 +27,10 @@ from saml2 import samlp, BINDING_HTTP_REDIRECT, BINDING_SOAP from saml2.time_util import str_to_time from saml2.sigver import make_temp, cert_from_key_info,...
Make it work with version < <I>
py
diff --git a/enterprise/api_client/discovery.py b/enterprise/api_client/discovery.py index <HASH>..<HASH> 100644 --- a/enterprise/api_client/discovery.py +++ b/enterprise/api_client/discovery.py @@ -166,7 +166,8 @@ class CourseCatalogApiClient(object): traverse_pagination ) ...
Adding content_filter_query to associated responses from discovery
py
diff --git a/modin/config/envvars.py b/modin/config/envvars.py index <HASH>..<HASH> 100644 --- a/modin/config/envvars.py +++ b/modin/config/envvars.py @@ -196,6 +196,7 @@ class DoUseCalcite(EnvironmentVariable, type=bool): """ varname = "MODIN_USE_CALCITE" + default = True class TestDatasetSize(Envi...
FIX-<I>: Enable Calcite by default in OmniSci backend (#<I>)
py
diff --git a/wpull/factory_test.py b/wpull/factory_test.py index <HASH>..<HASH> 100644 --- a/wpull/factory_test.py +++ b/wpull/factory_test.py @@ -16,3 +16,6 @@ class TestFactory(unittest.TestCase): self.assertIn('dict', factory) self.assertEqual(my_instance, factory['dict']) self.assertTrue(...
factory_test.py: Better coverage on Factory container methods.
py
diff --git a/holoviews/core/layout.py b/holoviews/core/layout.py index <HASH>..<HASH> 100644 --- a/holoviews/core/layout.py +++ b/holoviews/core/layout.py @@ -6,6 +6,7 @@ to act as supplementary elements. """ import uuid from collections import OrderedDict +from functools import reduce from itertools import groupby...
Improved semantics of LayoutTree.group method and added docstring
py
diff --git a/s_tui/Graphs/StuiBarGraph.py b/s_tui/Graphs/StuiBarGraph.py index <HASH>..<HASH> 100644 --- a/s_tui/Graphs/StuiBarGraph.py +++ b/s_tui/Graphs/StuiBarGraph.py @@ -62,7 +62,7 @@ class StuiBarGraph(LabeledBarGraph): current_reading = self.source.get_reading() data_max = self.source.get_max...
Fixed error which prevented the mock graph from being shown
py
diff --git a/deploy-cluster-aws/fabfile.py b/deploy-cluster-aws/fabfile.py index <HASH>..<HASH> 100644 --- a/deploy-cluster-aws/fabfile.py +++ b/deploy-cluster-aws/fabfile.py @@ -141,7 +141,7 @@ def configure_bigchaindb(): @task def send_confile(confile): put('confiles/' + confile, 'tempfile') - sudo('mv temp...
Use run() rather than sudo() to move conf file to ~
py
diff --git a/test/test_dedupe.py b/test/test_dedupe.py index <HASH>..<HASH> 100644 --- a/test/test_dedupe.py +++ b/test/test_dedupe.py @@ -358,7 +358,7 @@ class BlockingTest(unittest.TestCase): coverage_items = coverage.overlapping.items() output = overlap - self.assertEqual(zip(*coverage_items)[1],z...
pull in nikit's tests
py
diff --git a/src/connection.py b/src/connection.py index <HASH>..<HASH> 100644 --- a/src/connection.py +++ b/src/connection.py @@ -52,14 +52,20 @@ class Connection: channel.queue_declare(queue=queue, durable=False) self.channel = channel - def consume(self, queue, callback): + def consume(...
Auto-ack can be disabled for consumed message Add message acknowledge and rejection methods
py
diff --git a/python_modules/dagit/dagit/dagit_tests/test_smoke.py b/python_modules/dagit/dagit/dagit_tests/test_smoke.py index <HASH>..<HASH> 100644 --- a/python_modules/dagit/dagit/dagit_tests/test_smoke.py +++ b/python_modules/dagit/dagit/dagit_tests/test_smoke.py @@ -15,14 +15,8 @@ def test_smoke_app(): data ...
Fix ordering issue in test_smoke_app (#<I>) Unordered dictionaries in py<I> and py<I> cause this test to periodically fail
py
diff --git a/spyder_kernels/utils/misc.py b/spyder_kernels/utils/misc.py index <HASH>..<HASH> 100644 --- a/spyder_kernels/utils/misc.py +++ b/spyder_kernels/utils/misc.py @@ -21,7 +21,7 @@ def fix_reference_name(name, blacklist=None): if not name: name = "data" if blacklist is not None and name in bl...
Misc: Add underscore to variable reference rename
py
diff --git a/uflash.py b/uflash.py index <HASH>..<HASH> 100755 --- a/uflash.py +++ b/uflash.py @@ -448,7 +448,7 @@ def main(argv=None): try: flash(path_to_python=args.source, paths_to_microbits=args.target, path_to_runtime=args.runtime, minify=args.minify, - kee...
Revised call to flash() Removed args.keepname and added False.
py