diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ setup( packages=['jsonrpcclient'], package_data={'jsonrpcclient': ['response-schema.json']}, install_requires=['requests', 'jsonschema'], - version='1.0.10', + version='1.0.11', descrip...
Bumped to version <I>
py
diff --git a/udata/search/fields.py b/udata/search/fields.py index <HASH>..<HASH> 100644 --- a/udata/search/fields.py +++ b/udata/search/fields.py @@ -4,6 +4,7 @@ from __future__ import unicode_literals import logging from bson.objectid import ObjectId +from elasticsearch_dsl import Q from elasticsearch_dsl.facete...
Fix Range facet value filtering until upstream PR is merged
py
diff --git a/Lib/fontmake/font_project.py b/Lib/fontmake/font_project.py index <HASH>..<HASH> 100644 --- a/Lib/fontmake/font_project.py +++ b/Lib/fontmake/font_project.py @@ -95,15 +95,20 @@ class FontProject: @timer() def remove_overlaps(self, ufos): """Remove overlaps in UFOs' glyphs' contours.""" ...
font_project.py: print the font and glyph names when booleanOperations fails; call `union` function directly When fontmake removes overlaps, sometimes booleanOperations may fail because the input contours are invalid for clipping. E.g. see <URL>
py
diff --git a/urwid_datatable/datatable.py b/urwid_datatable/datatable.py index <HASH>..<HASH> 100644 --- a/urwid_datatable/datatable.py +++ b/urwid_datatable/datatable.py @@ -1241,13 +1241,9 @@ class DataTable(urwid.WidgetWrap, MutableSequence): self.requery() def _remove_column(self, name): - fo...
Don't delete columns in case they're referenced elsewhere.
py
diff --git a/mtools/util/logevent.py b/mtools/util/logevent.py index <HASH>..<HASH> 100644 --- a/mtools/util/logevent.py +++ b/mtools/util/logevent.py @@ -360,7 +360,7 @@ class LogEvent(object): if not self._sort_pattern: # trigger evaluation of operation - if self.operation in ['quer...
removed debug prints, and sort_pattern only makes sense for queries / getmores. not updates / removes.
py
diff --git a/tools/run_tests/python_utils/upload_rbe_results.py b/tools/run_tests/python_utils/upload_rbe_results.py index <HASH>..<HASH> 100644 --- a/tools/run_tests/python_utils/upload_rbe_results.py +++ b/tools/run_tests/python_utils/upload_rbe_results.py @@ -146,7 +146,15 @@ if __name__ == "__main__": ...
Handle timeouts when uploading ResultStore results
py
diff --git a/ca/django_ca/utils.py b/ca/django_ca/utils.py index <HASH>..<HASH> 100644 --- a/ca/django_ca/utils.py +++ b/ca/django_ca/utils.py @@ -45,7 +45,7 @@ EXTENDED_KEY_USAGE_DESC = _('Purposes for which the certificate public key can b KEY_USAGE_DESC = _('Permitted key usages.') #: Regular expression to match...
only match fieldnames if they are at the beginning of a string or after a slash
py
diff --git a/vcf_parser/vcf_parser.py b/vcf_parser/vcf_parser.py index <HASH>..<HASH> 100755 --- a/vcf_parser/vcf_parser.py +++ b/vcf_parser/vcf_parser.py @@ -271,14 +271,23 @@ class VCFParser(object): else: info_dict = {} vep_dict = {} + ind_dict = {} for info...
Added ind dict and info dict
py
diff --git a/ambry/library/search_backends/base.py b/ambry/library/search_backends/base.py index <HASH>..<HASH> 100644 --- a/ambry/library/search_backends/base.py +++ b/ambry/library/search_backends/base.py @@ -482,16 +482,16 @@ class BasePartitionIndex(BaseIndex): doc_field = u('{} {} {}').format( ...
2to3 for search_backends/base.py. #<I>.
py
diff --git a/regions/core/pixcoord.py b/regions/core/pixcoord.py index <HASH>..<HASH> 100644 --- a/regions/core/pixcoord.py +++ b/regions/core/pixcoord.py @@ -109,6 +109,13 @@ class PixCoord(object): y = self.y[key] return PixCoord(x=x, y=y) + def __eq__(self, other): + + if isinstance(oth...
added __eq__ for pixcoord
py
diff --git a/command/install_data.py b/command/install_data.py index <HASH>..<HASH> 100644 --- a/command/install_data.py +++ b/command/install_data.py @@ -63,10 +63,18 @@ class install_data (Command): elif self.root: dir = change_root(self.root, dir) self.mkpath(di...
[Bug #<I>] Record empty directories in the install_data command Slightly modified version of patch from Jon Nelson (jnelson).
py
diff --git a/furious/tests/test_job_utils.py b/furious/tests/test_job_utils.py index <HASH>..<HASH> 100644 --- a/furious/tests/test_job_utils.py +++ b/furious/tests/test_job_utils.py @@ -117,6 +117,21 @@ class TestGetFunctionPathAndOptions(unittest.TestCase): self.assertEqual('this.is.a.test.function', path) ...
Add test to ensure "callable" class instances raise. Add unit test to ensure someone passing a callable-class-instance raises an exception.
py
diff --git a/grip/app.py b/grip/app.py index <HASH>..<HASH> 100644 --- a/grip/app.py +++ b/grip/app.py @@ -176,6 +176,15 @@ class Grip(Flask): if ex.response.status_code == 403: abort(403) raise + except requests.exceptions.SSLError as ex: + if 'TLSV1_ALERT_P...
Show more helpful error message on TLSV1_ALERT_PROTOCOL_VERSION to help people through #<I>
py
diff --git a/miniutils/progress_bar.py b/miniutils/progress_bar.py index <HASH>..<HASH> 100644 --- a/miniutils/progress_bar.py +++ b/miniutils/progress_bar.py @@ -1,6 +1,9 @@ import itertools import multiprocessing as mp -from nose.plugins.multiprocess import TimedOutException +try: + from nose.plugins.multiproces...
Fix bug since nose isn't in setup.py dependencies
py
diff --git a/salt/minion.py b/salt/minion.py index <HASH>..<HASH> 100644 --- a/salt/minion.py +++ b/salt/minion.py @@ -895,29 +895,6 @@ class Minion(MinionBase): log.info('fire_master failed: {0}'.format(traceback.format_exc())) return False - # TODO: kill this off - def _handle_payloa...
Remove some noe-deprecated and unused functions
py
diff --git a/openquake/kvs/tokens.py b/openquake/kvs/tokens.py index <HASH>..<HASH> 100644 --- a/openquake/kvs/tokens.py +++ b/openquake/kvs/tokens.py @@ -44,6 +44,7 @@ GMF_KEY_TOKEN = 'GMF' LOSS_RATIO_CURVE_KEY_TOKEN = 'LOSS_RATIO_CURVE' LOSS_CURVE_KEY_TOKEN = 'LOSS_CURVE' VULNERABILITY_CURVE_KEY_TOKEN = 'VULNERABI...
kvs/tokens.py: added a key generator for BCR block result Former-commit-id: 6ee<I>f<I>e0ae<I>e<I>ae9ea<I>bcd
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ readme = open("README.rst").read() setup( name = "emili", - version = "1.0", + version = "1.1", description = "Mail sending Python/CLI interface using markdown or ANSI codes based content", author = "Davi...
boosting to <I>, because of pypi
py
diff --git a/stanza/models/constituency/trainer.py b/stanza/models/constituency/trainer.py index <HASH>..<HASH> 100644 --- a/stanza/models/constituency/trainer.py +++ b/stanza/models/constituency/trainer.py @@ -286,6 +286,7 @@ def build_trainer(args, train_trees, dev_trees, pt, forward_charlm, backward_cha dev_seq...
Log the unique transitions when creating a model at training time
py
diff --git a/linode/linode_client.py b/linode/linode_client.py index <HASH>..<HASH> 100644 --- a/linode/linode_client.py +++ b/linode/linode_client.py @@ -283,6 +283,19 @@ class NetworkingGroup(Group): ips.append(i) return ips + + def allocate_ip(self, linode): + result = self.clie...
Add support for POST /networking/ipv4
py
diff --git a/quail/plot.py b/quail/plot.py index <HASH>..<HASH> 100644 --- a/quail/plot.py +++ b/quail/plot.py @@ -124,7 +124,7 @@ def plot(data, subjgroup=None, subjname='Subject Group', listgroup=None, ax = sns.tsplot(data = tidy_data, time="Position", value="Proportion Recalled", unit="Subject", con...
fixed bug where last position was being cut off in some plots
py
diff --git a/sherlock/__version__.py b/sherlock/__version__.py index <HASH>..<HASH> 100644 --- a/sherlock/__version__.py +++ b/sherlock/__version__.py @@ -1 +1 @@ -__version__ = '1.6.3' +__version__ = '1.6.4'
fixing annotation code to not consume so much memory
py
diff --git a/serenata_toolbox/datasets.py b/serenata_toolbox/datasets.py index <HASH>..<HASH> 100644 --- a/serenata_toolbox/datasets.py +++ b/serenata_toolbox/datasets.py @@ -15,7 +15,8 @@ def fetch_latest_backup(destination_path, '2016-11-19-last-year.xz', '2016-11-19-previous-years.xz', ...
Add Yelp companies dataset Collected by @filipelinhares with the code from <URL>
py
diff --git a/src/astral/sun.py b/src/astral/sun.py index <HASH>..<HASH> 100644 --- a/src/astral/sun.py +++ b/src/astral/sun.py @@ -343,8 +343,8 @@ def time_of_transit( latitude = observer.latitude adjustment_for_elevation = 0.0 - if observer.elevation > 0: - adjustment_for_elevation = depressi...
Current test dates and times do not take elevation into account.
py
diff --git a/torchvision/datasets/folder.py b/torchvision/datasets/folder.py index <HASH>..<HASH> 100644 --- a/torchvision/datasets/folder.py +++ b/torchvision/datasets/folder.py @@ -4,14 +4,20 @@ from PIL import Image import os import os.path -IMG_EXTENSIONS = [ - '.jpg', '.JPG', '.jpeg', '.JPEG', - '.png', ...
Improved image extension robustness (#<I>) is_image_file is now case insensitive Added docstring to is_image_file is_image_file now returns true for pgm files
py
diff --git a/cumulusci/cli/plan.py b/cumulusci/cli/plan.py index <HASH>..<HASH> 100644 --- a/cumulusci/cli/plan.py +++ b/cumulusci/cli/plan.py @@ -150,7 +150,7 @@ def plan_info(runtime, plan_name, messages_only): ] raw_data["steps_preflight_checks"] = [ [ - step_n, + step_n + 1,...
Fixed bug in step preflight check numbering I love it when tests catch bugs! Hate the bug, love the test.
py
diff --git a/steenzout/sphinx/metadata.py b/steenzout/sphinx/metadata.py index <HASH>..<HASH> 100644 --- a/steenzout/sphinx/metadata.py +++ b/steenzout/sphinx/metadata.py @@ -44,4 +44,4 @@ __maintainer_email__ = u'steenzout@ymail.com' __url__ = u'https://github.com/steenzout/python-sphinx/' -__version__ = u'1.0.6'...
version increment: <I>.
py
diff --git a/flowcraft/generator/inspect.py b/flowcraft/generator/inspect.py index <HASH>..<HASH> 100644 --- a/flowcraft/generator/inspect.py +++ b/flowcraft/generator/inspect.py @@ -469,7 +469,7 @@ class NextflowInspector: first_line = next(fh) time_str = " ".join(first_line.split()[:2]) - ...
time stamp is no longer converted as part of the inspect routine
py
diff --git a/cacheback/utils.py b/cacheback/utils.py index <HASH>..<HASH> 100644 --- a/cacheback/utils.py +++ b/cacheback/utils.py @@ -1,4 +1,5 @@ import logging +import warnings from django.conf import settings from django.core import signals @@ -24,6 +25,14 @@ except ImportError as exc: logger = logging.getLogg...
Add helper to easy raise warnings for deprecated imports/calls.
py
diff --git a/telethon/tl/session.py b/telethon/tl/session.py index <HASH>..<HASH> 100644 --- a/telethon/tl/session.py +++ b/telethon/tl/session.py @@ -355,12 +355,13 @@ class Session: Raises ValueError if it cannot be found. """ - c = self._conn.cursor() if isinstance(key, TLObjec...
Cast to input peer early on get input entity and close cursor
py
diff --git a/promise/promise.py b/promise/promise.py index <HASH>..<HASH> 100644 --- a/promise/promise.py +++ b/promise/promise.py @@ -818,7 +818,7 @@ class Promise(Generic[T]): ) -_type_done_callbacks = WeakKeyDictionary() # type: Dict[type, bool] +_type_done_callbacks = WeakKeyDictionary() def is_f...
Remove incorrect type annotation mypy complained that WeakKeyDictionary is not a Dict[type, bool].
py
diff --git a/starlette/staticfiles.py b/starlette/staticfiles.py index <HASH>..<HASH> 100644 --- a/starlette/staticfiles.py +++ b/starlette/staticfiles.py @@ -70,11 +70,11 @@ class StaticFiles: assert spec is not None, f"Package {package!r} could not be found." assert ( spec.o...
Update staticfiles.py Add the f for the f strings. Noticed while investigating #<I>
py
diff --git a/salt/modules/solarisips.py b/salt/modules/solarisips.py index <HASH>..<HASH> 100644 --- a/salt/modules/solarisips.py +++ b/salt/modules/solarisips.py @@ -314,8 +314,8 @@ def version(*names, **kwargs): ret.update(zip(unmatched, [ '' ] * len(unmatched))) # Return a string if only one package name...
Fix case when there is only one element in the result.
py
diff --git a/py3status/modules/mpd_status.py b/py3status/modules/mpd_status.py index <HASH>..<HASH> 100644 --- a/py3status/modules/mpd_status.py +++ b/py3status/modules/mpd_status.py @@ -237,7 +237,7 @@ class Py3status: if isinstance(text, Composite): text = text.text() -...
mpd_status: fix color output (#<I>)
py
diff --git a/test_project/test_project/settings.py b/test_project/test_project/settings.py index <HASH>..<HASH> 100644 --- a/test_project/test_project/settings.py +++ b/test_project/test_project/settings.py @@ -60,3 +60,13 @@ INSTALLED_APPS = ( BROKER_BACKEND = 'memory' CELERY_ALWAYS_EAGER = True + +from datetime i...
Add celerybeat tasks to test_project settings
py
diff --git a/tests/integration/modules/cmdmod.py b/tests/integration/modules/cmdmod.py index <HASH>..<HASH> 100644 --- a/tests/integration/modules/cmdmod.py +++ b/tests/integration/modules/cmdmod.py @@ -12,11 +12,12 @@ class CMDModuleTest(integration.ModuleCase): ''' cmd.run ''' + shel...
make cmd tests use always available shells
py
diff --git a/master/buildbot/db/migrate_utils.py b/master/buildbot/db/migrate_utils.py index <HASH>..<HASH> 100644 --- a/master/buildbot/db/migrate_utils.py +++ b/master/buildbot/db/migrate_utils.py @@ -38,7 +38,7 @@ def test_unicode(migrate_engine): # insert a unicode value in there u = u"Frosty the \N{SNO...
Make sure we are dealing with bytes for 'b' on Python 2 and 3. This fixes a test on Python 3
py
diff --git a/pavement.py b/pavement.py index <HASH>..<HASH> 100644 --- a/pavement.py +++ b/pavement.py @@ -23,7 +23,7 @@ setup(name='wheeler.dmf-control-board-firmware', packages=['dmf_control_board_firmware'], include_package_data=True, install_requires=['arduino_helpers>=0.3.post4', 'decorator', ...
Bump the base_node version requirement
py
diff --git a/bootstrap3_datetime/widgets.py b/bootstrap3_datetime/widgets.py index <HASH>..<HASH> 100644 --- a/bootstrap3_datetime/widgets.py +++ b/bootstrap3_datetime/widgets.py @@ -49,9 +49,16 @@ class DateTimePicker(DateTimeInput): js_template = """ <script> - $(function(){ - $("#%(picker_id)...
Allowing jQuery to be loaded later in the page
py
diff --git a/vlcp/protocol/openflow/openflow.py b/vlcp/protocol/openflow/openflow.py index <HASH>..<HASH> 100644 --- a/vlcp/protocol/openflow/openflow.py +++ b/vlcp/protocol/openflow/openflow.py @@ -312,7 +312,6 @@ class Openflow(Protocol): if connection.openflow_datapathid is not None: for m in c...
do not reset openflow_datapathid after disconnection
py
diff --git a/monty/tempfile.py b/monty/tempfile.py index <HASH>..<HASH> 100644 --- a/monty/tempfile.py +++ b/monty/tempfile.py @@ -126,5 +126,5 @@ class ScratchDir: os.chdir(self.cwd) remove(self.tempdir) - if self.remove_symlink_on_exit and os.path.islink(ScratchDir.SCR_LINK): + ...
Fix symlink removal for real
py
diff --git a/condoor/device.py b/condoor/device.py index <HASH>..<HASH> 100644 --- a/condoor/device.py +++ b/condoor/device.py @@ -295,6 +295,9 @@ class Device(object): @driver_name.setter def driver_name(self, driver_name): + if driver_name is None: + logger.error("New driver cannot be No...
Ignoring the driver change when not able to determine the proper driver based on the string captured as a prompt
py
diff --git a/jf_agent/jira_download.py b/jf_agent/jira_download.py index <HASH>..<HASH> 100644 --- a/jf_agent/jira_download.py +++ b/jf_agent/jira_download.py @@ -270,17 +270,7 @@ def download_worklogs(jira_connection, issue_ids): print('✓') - print(f'Finding old worklogs that have been deleted... ', end=''...
don't pull deleted worklogs (#<I>)
py
diff --git a/lib/termineter/modules/brute_force_login.py b/lib/termineter/modules/brute_force_login.py index <HASH>..<HASH> 100644 --- a/lib/termineter/modules/brute_force_login.py +++ b/lib/termineter/modules/brute_force_login.py @@ -62,7 +62,7 @@ class Module(TermineterModuleOptical): self.description = 'Brute For...
Fixed the default directory for the brute_force_login.py. It was missing a '/'
py
diff --git a/mythril/laser/ethereum/transaction/concolic.py b/mythril/laser/ethereum/transaction/concolic.py index <HASH>..<HASH> 100644 --- a/mythril/laser/ethereum/transaction/concolic.py +++ b/mythril/laser/ethereum/transaction/concolic.py @@ -88,7 +88,7 @@ def _setup_global_state_for_execution(laser_evm, transactio...
Append transaction in concolic.py
py
diff --git a/airtable/airtable.py b/airtable/airtable.py index <HASH>..<HASH> 100644 --- a/airtable/airtable.py +++ b/airtable/airtable.py @@ -203,6 +203,9 @@ class Airtable(object): return self._request("delete", url) def _delete_batch(self, record_ids): + if len(record_ids) == 1: + ...
Call normal delete for batch deletion of 1 record
py
diff --git a/sos/plugins/openstack_nova.py b/sos/plugins/openstack_nova.py index <HASH>..<HASH> 100644 --- a/sos/plugins/openstack_nova.py +++ b/sos/plugins/openstack_nova.py @@ -145,7 +145,7 @@ class OpenStackNova(Plugin): "xenapi_connection_password", "password", "host_password", "vnc_passwo...
[openstack_nova] Add fixed_key to the list of protected keys Resolves: #<I>
py
diff --git a/lark/tree.py b/lark/tree.py index <HASH>..<HASH> 100644 --- a/lark/tree.py +++ b/lark/tree.py @@ -108,6 +108,13 @@ class Tree(object): self.children[i:i+1] = kid.children def scan_values(self, pred): + """Return all values in the tree that evaluate pred(value) as true. + + ...
Docs: Added docstring to Tree.scan_values()
py
diff --git a/project_generator_definitions/definitions.py b/project_generator_definitions/definitions.py index <HASH>..<HASH> 100644 --- a/project_generator_definitions/definitions.py +++ b/project_generator_definitions/definitions.py @@ -59,7 +59,7 @@ class ProGenDef(ProGenTargets): } def __init__(self, to...
Logging debug if target is not found
py
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index <HASH>..<HASH> 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -7309,7 +7309,7 @@ class NDFrame(PandasObject, SelectionMixin, indexing.IndexingMixin): ------- {klass} Mask of bool values for each elemen...
fix doc isna (#<I>)
py
diff --git a/grappa/reporters/code.py b/grappa/reporters/code.py index <HASH>..<HASH> 100644 --- a/grappa/reporters/code.py +++ b/grappa/reporters/code.py @@ -87,11 +87,11 @@ class CodeReporter(BaseReporter): if line == trace.lineno: if config.use_colors: - head += For...
refactor(reporter): add additional separator space in code reporter
py
diff --git a/imtools/image_manipulation.py b/imtools/image_manipulation.py index <HASH>..<HASH> 100644 --- a/imtools/image_manipulation.py +++ b/imtools/image_manipulation.py @@ -32,8 +32,9 @@ def select_labels(segmentation, labels, slab=None): if slab is not None: labels = get_nlabels(slab, labels) - ...
use also ndarray as labels
py
diff --git a/src/scs_core/__init__.py b/src/scs_core/__init__.py index <HASH>..<HASH> 100644 --- a/src/scs_core/__init__.py +++ b/src/scs_core/__init__.py @@ -6,4 +6,4 @@ Created on 3 May 2021 https://packaging.python.org/guides/single-sourcing-package-version/ """ -__version__ = '1.3.7' +__version__ = '1.3.8'
Upgraded sample_stats.py CLU
py
diff --git a/pam.py b/pam.py index <HASH>..<HASH> 100644 --- a/pam.py +++ b/pam.py @@ -134,7 +134,7 @@ class pam(): for i in range(n_messages): if messages[i].contents.msg_style == PAM_PROMPT_ECHO_OFF: cs = c_char_p(password) - dst = calloc(sizeof(c...
Don't over-allocate calloc()'ed buffer for password response
py
diff --git a/fault/verilog_target.py b/fault/verilog_target.py index <HASH>..<HASH> 100644 --- a/fault/verilog_target.py +++ b/fault/verilog_target.py @@ -40,12 +40,12 @@ class VerilogTarget(Target): self.magma_output = magma_output - self.verilog_file = self.directory / Path(f"{self.circuit_name}.v...
Fix verilog_file logic for simulator commands
py
diff --git a/src/rez/utils/platform_.py b/src/rez/utils/platform_.py index <HASH>..<HASH> 100644 --- a/src/rez/utils/platform_.py +++ b/src/rez/utils/platform_.py @@ -238,6 +238,22 @@ class LinuxPlatform(_UnixPlatform): if result: return result + # try to read the /etc/os-release file + ...
Added /etc/os-release Linux OS detection
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ setup( 'attrs>=18.1', 'isodate', 'python-dateutil', - 'rfc3986', + 'rfc3986<2', # version 2.0.0 dropped python 3.6 support. 'uritemplate>=3.0.0', ], e...
pin rfc<I>, due to incompatible changes upstream
py
diff --git a/src/aks-preview/azext_aks_preview/_format.py b/src/aks-preview/azext_aks_preview/_format.py index <HASH>..<HASH> 100644 --- a/src/aks-preview/azext_aks_preview/_format.py +++ b/src/aks-preview/azext_aks_preview/_format.py @@ -69,14 +69,12 @@ def aks_upgrades_table_format(result): if upgrade.ge...
fix format table for upgrade profile because agentPoolProfiles is nil (#<I>)
py
diff --git a/programs/polemap_magic.py b/programs/polemap_magic.py index <HASH>..<HASH> 100755 --- a/programs/polemap_magic.py +++ b/programs/polemap_magic.py @@ -219,6 +219,7 @@ def main(): location = loc_list[ind] FIG["map_{}".format(ind)] = ind+2 pmagplotlib.plot_init(FIG['map_...
polemap_magic include north pole in all plots for server, #<I>
py
diff --git a/submit/models.py b/submit/models.py index <HASH>..<HASH> 100644 --- a/submit/models.py +++ b/submit/models.py @@ -271,8 +271,10 @@ def inform_student(submission, state): subject = "[%s] %s"%(submission.assignment.course, subject) from_email = submission.assignment.course.owner.email recipients = subm...
Disable course owner email for the moment
py
diff --git a/spyderlib/utils/vcs.py b/spyderlib/utils/vcs.py index <HASH>..<HASH> 100644 --- a/spyderlib/utils/vcs.py +++ b/spyderlib/utils/vcs.py @@ -69,8 +69,11 @@ def run_vcs_tool(path, tool): programs.run_program(name, args, cwd=path) return else: - raise RuntimeError(_("Ple...
vcs.py: Mention all alternative tools when no one is installed.
py
diff --git a/src/livestreamer/plugins/rtlxl.py b/src/livestreamer/plugins/rtlxl.py index <HASH>..<HASH> 100644 --- a/src/livestreamer/plugins/rtlxl.py +++ b/src/livestreamer/plugins/rtlxl.py @@ -10,14 +10,13 @@ class rtlxl(Plugin): @classmethod def can_handle_url(cls, url): return _url_re.match(url...
Remove spurious print statement that made the plugin incompatible with python 3.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ except ImportError: setup( name='eventsourcing', - version='1.0.7', + version='1.0.8', description='Event sourcing in Python', author='John Bywater', author_email='john.bywater@appropr...
Increased version to <I>.
py
diff --git a/facebook.py b/facebook.py index <HASH>..<HASH> 100755 --- a/facebook.py +++ b/facebook.py @@ -336,29 +336,19 @@ class GraphAPI(object): args["access_token"] = self.access_token post_data = None if post_args is None else urllib.urlencode(post_args) - """Check if query is a...
Fixing FQL method It seems that FQL API changed in the last year but facebook-sdk doesn't track these changes. FQL queries work for regular accounts with current code but using the current endpoint yields an error for pages: GraphAPIError: Impersonated access tokens can only be used with the Graph API I fixed t...
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -61,6 +61,7 @@ setup( author_email='info@blockcerts.org', description='Issues blockchain certificates using the Bitcoin blockchain', long_description=long_description, + long_description_content_type='text/ma...
Adding long description content type to package
py
diff --git a/autopep8.py b/autopep8.py index <HASH>..<HASH> 100755 --- a/autopep8.py +++ b/autopep8.py @@ -2880,7 +2880,7 @@ def refactor_with_2to3(source_text, fixer_names, filename=''): def check_syntax(code): """Return True if syntax is okay.""" try: - return compile(code, '<string>', 'exec') + ...
change: use compile() with dont_inherit=True
py
diff --git a/core/dbt/tracking.py b/core/dbt/tracking.py index <HASH>..<HASH> 100644 --- a/core/dbt/tracking.py +++ b/core/dbt/tracking.py @@ -44,7 +44,7 @@ class TimeoutEmitter(Emitter): def http_get(self, payload): sp_logger.info("Sending GET request to %s..." % self.endpoint) sp_logger.debug("...
Update core/dbt/tracking.py
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ class PyTest(TestCommand): setup( name='graphene', - version='0.7.2', + version='0.7.3', description='GraphQL Framework for Python', long_description=open('README.rst').read(),
Updated version to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,5 +34,6 @@ setup( 'Programming Language :: Python', 'Topic :: Software Development', ], + scripts=['doc2md.py', ], )
let setuptools link doc2md.py into bin directory
py
diff --git a/blimpy/filterbank.py b/blimpy/filterbank.py index <HASH>..<HASH> 100755 --- a/blimpy/filterbank.py +++ b/blimpy/filterbank.py @@ -242,7 +242,7 @@ class Filterbank(object): print("points or manually increase MAX_DATA_ARRAY_SIZE.") exit() - self.data = np.zeros(...
Change dtype behavior in read_filterbank Was loading int8 data into a float<I> array, which was unnecesary / bug
py
diff --git a/tests/unit/utils/test_thin.py b/tests/unit/utils/test_thin.py index <HASH>..<HASH> 100644 --- a/tests/unit/utils/test_thin.py +++ b/tests/unit/utils/test_thin.py @@ -335,3 +335,16 @@ class SSHThinTestCase(TestCase): assert path == '/path/to/thin/min.tgz' assert form == 'sha256' + @pa...
Add unit test for gen_thin verify for <I> Python version is a minimum requirement
py
diff --git a/quart/serving/__init__.py b/quart/serving/__init__.py index <HASH>..<HASH> 100644 --- a/quart/serving/__init__.py +++ b/quart/serving/__init__.py @@ -109,7 +109,7 @@ def run_app( server = loop.run_until_complete(create_server) scheme = 'http' if ssl is None else 'https' - print("Running on {...
Add noqa to print statement This one is actually intentional and not left by mistake.
py
diff --git a/mintapi/signIn.py b/mintapi/signIn.py index <HASH>..<HASH> 100644 --- a/mintapi/signIn.py +++ b/mintapi/signIn.py @@ -392,6 +392,7 @@ def bypass_verified_user_page(driver): NoSuchElementException, StaleElementReferenceException, ElementNotVisibleException, + ElementNotInte...
Improve error handling for verified user bypass (#<I>)
py
diff --git a/sphinxcontrib/needs/filter_common.py b/sphinxcontrib/needs/filter_common.py index <HASH>..<HASH> 100644 --- a/sphinxcontrib/needs/filter_common.py +++ b/sphinxcontrib/needs/filter_common.py @@ -176,7 +176,7 @@ def prepare_need_list(need_list): all_needs_incl_parts = list(need_list)[:] f...
don't bother iterating over dict keys
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 @@ -432,7 +432,10 @@ class Workpool(object): Stop the workpool with SIGTERM """ for p in self.procs: - p.send_s...
Do not exit on exception if a worker dies before we can kill it
py
diff --git a/pinax/teams/models.py b/pinax/teams/models.py index <HASH>..<HASH> 100644 --- a/pinax/teams/models.py +++ b/pinax/teams/models.py @@ -48,8 +48,6 @@ class Base(models.Model): member_access = models.CharField(max_length=20, choices=MEMBER_ACCESS_CHOICES, verbose_name=_("member access")) manager_a...
moved creator/created to team the 'creator' of a Role doesn't make as much sense
py
diff --git a/more_itertools/more.py b/more_itertools/more.py index <HASH>..<HASH> 100644 --- a/more_itertools/more.py +++ b/more_itertools/more.py @@ -1,13 +1,13 @@ from __future__ import print_function -from collections import defaultdict, deque +from collections import Counter, defaultdict, deque from functools i...
Simplified and optimized unique_to_each.
py
diff --git a/umis/umis.py b/umis/umis.py index <HASH>..<HASH> 100644 --- a/umis/umis.py +++ b/umis/umis.py @@ -949,8 +949,8 @@ def sparse(csv, sparse): ''' import pandas as pd df = pd.read_csv(csv, index_col=0, header=0) - pd.Series(df.index).to_csv(sparse + ".rownames", index=False) - pd.Series(df...
Ensure header is not written for a Series. In pandas <I> the default for header was changed from False to True so we have to set it explictly now.
py
diff --git a/astroid/objects.py b/astroid/objects.py index <HASH>..<HASH> 100644 --- a/astroid/objects.py +++ b/astroid/objects.py @@ -25,7 +25,7 @@ leads to an inferred FrozenSet: import sys from typing import TYPE_CHECKING -from astroid import bases, util +from astroid import bases, decorators, util from astroid...
Deprecate passing ``doc`` to ``PartialFunction`` (#<I>)
py
diff --git a/tsfresh/feature_selection/benjamini_hochberg_test.py b/tsfresh/feature_selection/benjamini_hochberg_test.py index <HASH>..<HASH> 100644 --- a/tsfresh/feature_selection/benjamini_hochberg_test.py +++ b/tsfresh/feature_selection/benjamini_hochberg_test.py @@ -52,7 +52,7 @@ def benjamini_hochberg_test(df_pval...
switch to scalar sum when features are not all independent, in line with referenced paper (fixes issue #<I>) (#<I>)
py
diff --git a/tests/test_cli.py b/tests/test_cli.py index <HASH>..<HASH> 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -178,6 +178,7 @@ class TestCli(unittest.TestCase): def test_ping(self): config_file = 'dwave.conf' profile = 'profile' + params = dict(num_reads=10) ...
Test custom sampling params in ping
py
diff --git a/openquake/calculators/views.py b/openquake/calculators/views.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/views.py +++ b/openquake/calculators/views.py @@ -16,7 +16,6 @@ # You should have received a copy of the GNU Affero General Public License # along with OpenQuake. If not, see <http://ww...
Added a view gmv_by_rup [skip CI]
py
diff --git a/src/python/ttfautohint/options.py b/src/python/ttfautohint/options.py index <HASH>..<HASH> 100644 --- a/src/python/ttfautohint/options.py +++ b/src/python/ttfautohint/options.py @@ -133,10 +133,10 @@ def validate_options(kwargs): except AttributeError: with open(reference_file, "rb") ...
fix reference_name logic in validate_options I got it completely wrong. It should set it if it's not already passed
py
diff --git a/combine/cli.py b/combine/cli.py index <HASH>..<HASH> 100644 --- a/combine/cli.py +++ b/combine/cli.py @@ -33,6 +33,7 @@ def cli(ctx): include_env=["NETLIFY", "CIRCLECI", "TRAVIS", "GITLAB_CI", "GITHUB_ACTIONS", "CI"], ) def build(ctx, check, env, var): + """Build the site (typically during deploy...
Add docstrings to cli commands
py
diff --git a/glances/outputs/glances_curses.py b/glances/outputs/glances_curses.py index <HASH>..<HASH> 100644 --- a/glances/outputs/glances_curses.py +++ b/glances/outputs/glances_curses.py @@ -66,7 +66,6 @@ class _GlancesCurses(object): 'D': {'switch': 'disable_docker'}, 'e': {'switch': 'enable_proc...
Correct issue with hotkey 'g'
py
diff --git a/openquake/calculators/tests/__init__.py b/openquake/calculators/tests/__init__.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/tests/__init__.py +++ b/openquake/calculators/tests/__init__.py @@ -99,14 +99,14 @@ class CalculatorTestCase(unittest.TestCase): duration = {inis[0]: self.calc....
Cleanup [skip CI]
py
diff --git a/python/ccxt/base/exchange.py b/python/ccxt/base/exchange.py index <HASH>..<HASH> 100644 --- a/python/ccxt/base/exchange.py +++ b/python/ccxt/base/exchange.py @@ -1531,7 +1531,7 @@ class Exchange(object): ms = Exchange.parse_timeframe(timeframe) * 1000 # Get offset based on timeframe in mi...
exchange.py round_timeframe minor edits
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,10 +2,12 @@ from distutils.core import setup +README = open('README.rst', 'rt').read() + setup( name='vncdotool', version='0.1.0dev', - description='Send keyboard and mouse events to a VNC server from the...
setup: improved description for pypi
py
diff --git a/src/infi/projector/plugins/builtins/repository/__init__.py b/src/infi/projector/plugins/builtins/repository/__init__.py index <HASH>..<HASH> 100644 --- a/src/infi/projector/plugins/builtins/repository/__init__.py +++ b/src/infi/projector/plugins/builtins/repository/__init__.py @@ -194,7 +194,7 @@ class Rep...
TRIVIAL RepositoryPluginremove_deprecated_files: buildout.in is also deprecated
py
diff --git a/lib/devpipeline_core/toolsupport.py b/lib/devpipeline_core/toolsupport.py index <HASH>..<HASH> 100644 --- a/lib/devpipeline_core/toolsupport.py +++ b/lib/devpipeline_core/toolsupport.py @@ -41,6 +41,35 @@ class MissingToolKey(Exception): return "'{}' unspecified in {}".format(self._key, self._comp...
Add helper function when dealing with migrating key names
py
diff --git a/lltk/nl/nl.py b/lltk/nl/nl.py index <HASH>..<HASH> 100755 --- a/lltk/nl/nl.py +++ b/lltk/nl/nl.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- coding: UTF-8 -*- -__all__ = ['scrapers', 'scrape', 'pos', 'articles', 'plural', 'ipa', 'conjugate', 'miniaturize'] +__all__ = ['scrapers', 'scrape', 'pos', 'article...
Update __all__ (add gender) in nl.py
py
diff --git a/lib/datetools.py b/lib/datetools.py index <HASH>..<HASH> 100644 --- a/lib/datetools.py +++ b/lib/datetools.py @@ -5,7 +5,8 @@ "Date time utilities not available in stock python" -import datetime, time +import datetime +import time #TODO: replace this with dateutil.parser.parse() class Pars...
Added a couple of useful date ranges.
py
diff --git a/mbstrdecoder/_mbstrdecoder.py b/mbstrdecoder/_mbstrdecoder.py index <HASH>..<HASH> 100644 --- a/mbstrdecoder/_mbstrdecoder.py +++ b/mbstrdecoder/_mbstrdecoder.py @@ -118,13 +118,7 @@ class MultiByteStrDecoder(object): return self.__encoded_str - def __to_unicode(self): - encoded_str ...
Extract a method for further enhancements
py
diff --git a/pysat/tests/test_instruments.py b/pysat/tests/test_instruments.py index <HASH>..<HASH> 100644 --- a/pysat/tests/test_instruments.py +++ b/pysat/tests/test_instruments.py @@ -179,3 +179,12 @@ class TestDeprecation(object): self.warn_msgs[i]) return + + def test_old_pytest_mark...
TST: add tests for backwards compat
py
diff --git a/salt/__init__.py b/salt/__init__.py index <HASH>..<HASH> 100644 --- a/salt/__init__.py +++ b/salt/__init__.py @@ -40,6 +40,7 @@ import salt.log.setup # cause the build to fail from salt.version import __version__ from salt.utils import migrations +from salt.utils import kinds try: from salt.util...
Added support for caller kind opts['__role'] for raet salt caller
py
diff --git a/raiden/blockchain/events.py b/raiden/blockchain/events.py index <HASH>..<HASH> 100644 --- a/raiden/blockchain/events.py +++ b/raiden/blockchain/events.py @@ -336,6 +336,10 @@ class BlockchainEvents: for event in self.poll_all_event_listeners(from_block): yield event_to_state_change(ev...
BlockchainEvents, added poll_blockchain_events
py
diff --git a/starbound/__init__.py b/starbound/__init__.py index <HASH>..<HASH> 100644 --- a/starbound/__init__.py +++ b/starbound/__init__.py @@ -7,9 +7,12 @@ from . import sbon from .helpers import ( open as open_file, read_stream, + CelestialChunks, FailedWorld, KeyStore, + KeyStoreCompres...
Expose all classes in helpers
py
diff --git a/rocker/restclient.py b/rocker/restclient.py index <HASH>..<HASH> 100644 --- a/rocker/restclient.py +++ b/rocker/restclient.py @@ -92,6 +92,11 @@ class Request: def close(self): self._sock.close() + def doDelete(self, url): + self._method = "DELETE" + self._url = url + return self + # Specifies ...
added restclient.doDelete()
py
diff --git a/netpyne/cell/cell.py b/netpyne/cell/cell.py index <HASH>..<HASH> 100644 --- a/netpyne/cell/cell.py +++ b/netpyne/cell/cell.py @@ -101,7 +101,7 @@ class Cell (object): currenttime = currenttime+isi+variation*(rand()-0.5) # Create single pulse - npts = pulselength*width...
Fixed bug in using _shapeStim in connParams
py
diff --git a/osbs/http.py b/osbs/http.py index <HASH>..<HASH> 100644 --- a/osbs/http.py +++ b/osbs/http.py @@ -184,7 +184,7 @@ class HttpStream(object): yield line except (requests.exceptions.ChunkedEncodingError, http_client.IncompleteRead): - raise StopIteration +...
Comply to PEP <I> to support Python <I> Python <I> enables PEP <I>, meaning that direct calls to StopIterator in generators will raise RuntimeError exceptions. We deprecate the usage of such calls in favor of calls to return, keeping the desired behavior and complying to PEP <I>. * <URL>
py
diff --git a/util/index_database/txt_file_based.py b/util/index_database/txt_file_based.py index <HASH>..<HASH> 100644 --- a/util/index_database/txt_file_based.py +++ b/util/index_database/txt_file_based.py @@ -12,7 +12,11 @@ class Database(util.index_database.fs_based.Database): ## load and save def _l...
BUG: util.index_database.txt_file_based-_load_file: now returnes always an one dimensional array (even if length of value is 1)
py