diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -100,7 +100,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 t...
Comment out unused static_html ref.
py
diff --git a/molo/core/api/importers.py b/molo/core/api/importers.py index <HASH>..<HASH> 100644 --- a/molo/core/api/importers.py +++ b/molo/core/api/importers.py @@ -522,7 +522,8 @@ class SiteImporter(object): # handle the unwanted fields foreign_id = content.pop('id') # ignore when article ...
Avoid KeyError by checking for field
py
diff --git a/tests/integration/zipkin_integration_test.py b/tests/integration/zipkin_integration_test.py index <HASH>..<HASH> 100644 --- a/tests/integration/zipkin_integration_test.py +++ b/tests/integration/zipkin_integration_test.py @@ -93,6 +93,8 @@ def test_service_span(): span = _decode_binary_thrift_obj(mo...
Assert span trace_id and span_id as well in service span integration test
py
diff --git a/jsonrpcserver/dispatcher.py b/jsonrpcserver/dispatcher.py index <HASH>..<HASH> 100644 --- a/jsonrpcserver/dispatcher.py +++ b/jsonrpcserver/dispatcher.py @@ -50,10 +50,10 @@ def dispatch(request, handler): ..versionchanged:: 1.0.12 Sending "'id': null" will be treated as if no response is req...
Code adjustments for pylint.
py
diff --git a/rest_registration/settings.py b/rest_registration/settings.py index <HASH>..<HASH> 100644 --- a/rest_registration/settings.py +++ b/rest_registration/settings.py @@ -71,6 +71,11 @@ class RegistrationSettings(object): if hasattr(self, '_user_settings'): del self._user_settings + d...
resetting attr cache when settings changed
py
diff --git a/billy/models/legislators.py b/billy/models/legislators.py index <HASH>..<HASH> 100644 --- a/billy/models/legislators.py +++ b/billy/models/legislators.py @@ -284,7 +284,7 @@ class Legislator(Document): return '' def all_terms(self): - terms = set(self['old_roles'].keys()) + te...
get old roles in case they don't exist
py
diff --git a/pull_into_place/commands/04_pick_models_to_design.py b/pull_into_place/commands/04_pick_models_to_design.py index <HASH>..<HASH> 100644 --- a/pull_into_place/commands/04_pick_models_to_design.py +++ b/pull_into_place/commands/04_pick_models_to_design.py @@ -91,7 +91,7 @@ def main(): # replaced wit...
Fixed <I>_pick_models_to_design.py to be compatible with new structures.py (which renamed the filter parser command).
py
diff --git a/openpnm/algorithms/GenericTransport.py b/openpnm/algorithms/GenericTransport.py index <HASH>..<HASH> 100644 --- a/openpnm/algorithms/GenericTransport.py +++ b/openpnm/algorithms/GenericTransport.py @@ -525,7 +525,7 @@ class GenericTransport(GenericAlgorithm): B = np.ones((self.A.shape[0], 1)) ...
Fixed a typo in pyamg args.
py
diff --git a/satpy/composites/crefl_utils.py b/satpy/composites/crefl_utils.py index <HASH>..<HASH> 100644 --- a/satpy/composites/crefl_utils.py +++ b/satpy/composites/crefl_utils.py @@ -305,7 +305,7 @@ def get_atm_variables(mus, muv, phi, height, coeffs): sphalb0 = csalbr(tau_step) air_mass = 1.0 / mus + 1...
Bugfix - air mass masking was done wrong after converting from numpy to xarray
py
diff --git a/girder/models/item.py b/girder/models/item.py index <HASH>..<HASH> 100644 --- a/girder/models/item.py +++ b/girder/models/item.py @@ -113,7 +113,7 @@ class Item(acl_mixin.AccessControlMixin, Model): doc = super(Item, self).load( id=id, level=level, user=user, objectId=objectId, force=...
Add empty meta field on new item creation, and direct item load if not present
py
diff --git a/lark/load_grammar.py b/lark/load_grammar.py index <HASH>..<HASH> 100644 --- a/lark/load_grammar.py +++ b/lark/load_grammar.py @@ -511,12 +511,12 @@ class Grammar: simplify_rule = SimplifyRule_Visitor() compiled_rules = [] - for i, rule_content in enumerate(rules): + for ru...
Fix Earley non-determinism Rule.order should be set as the index of each expansion with rules of the same name (e.g: a : b # rule.order 1 | c # rule.order 2).
py
diff --git a/src/livestreamer/stream/http.py b/src/livestreamer/stream/http.py index <HASH>..<HASH> 100644 --- a/src/livestreamer/stream/http.py +++ b/src/livestreamer/stream/http.py @@ -5,6 +5,13 @@ from .wrappers import StreamIOWrapper from ..exceptions import StreamError +def normalize_key(keyval): + key, va...
stream.http: Make sure header keys are strings and not bytes.
py
diff --git a/src/python/dxpy/bindings/dxfile.py b/src/python/dxpy/bindings/dxfile.py index <HASH>..<HASH> 100644 --- a/src/python/dxpy/bindings/dxfile.py +++ b/src/python/dxpy/bindings/dxfile.py @@ -97,7 +97,6 @@ class DXFile(DXDataObject): self._read_buf = StringIO.StringIO() self._write_buf = Stri...
Ignore InvalidState when uploading an empty part for file closing
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 @@ -7485,6 +7485,7 @@ class NDFrame(PandasObject, SelectionMixin, indexing.IndexingMixin): Parameters ---------- freq : DateOffset or str + ...
DOC: Fixed errors in pandas.DataFrame.asfreq PR<I>, RT<I>, RT<I>, SA<I> (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ URL = "https://github.com/pinax/pinax-blog" setup( name=NAME, - version="4.4.3", + version="5.0.0", description=DESCRIPTION, long_description=read("README.rst"), url=URL,
Should have been <I> due to BIC of url namespaces
py
diff --git a/tweepy/models.py b/tweepy/models.py index <HASH>..<HASH> 100644 --- a/tweepy/models.py +++ b/tweepy/models.py @@ -201,6 +201,20 @@ class User(Model): *args, **kargs) + def __eq__(self, other): + if isinstance(other,...
Added the possibility of checking equality between users using the unique `id`s.
py
diff --git a/test/test-occurrences-download_request.py b/test/test-occurrences-download_request.py index <HASH>..<HASH> 100644 --- a/test/test-occurrences-download_request.py +++ b/test/test-occurrences-download_request.py @@ -24,7 +24,7 @@ class TestGbifClass(unittest.TestCase): req = GbifDownload("name", "...
minor tweak to expectations for two tests for downloads predicates
py
diff --git a/gwpy/timeseries/statevector.py b/gwpy/timeseries/statevector.py index <HASH>..<HASH> 100644 --- a/gwpy/timeseries/statevector.py +++ b/gwpy/timeseries/statevector.py @@ -505,7 +505,7 @@ class StateVector(TimeSeriesBase): %(timeseries-fetch2)s """ - new = StateVectorDict.fetch( + ...
StateVector.fetch: use DictClass should allow possible sub-classes to change the internally used DictClass
py
diff --git a/pyspectral/rayleigh.py b/pyspectral/rayleigh.py index <HASH>..<HASH> 100644 --- a/pyspectral/rayleigh.py +++ b/pyspectral/rayleigh.py @@ -163,14 +163,13 @@ class Rayleigh(object): """Get the effective wavelength with Rayleigh scattering in mind""" try: rsr = RelativeSpectralR...
Don't raise an error when the rsr can't be loaded
py
diff --git a/uncommitted/__init__.py b/uncommitted/__init__.py index <HASH>..<HASH> 100644 --- a/uncommitted/__init__.py +++ b/uncommitted/__init__.py @@ -70,7 +70,7 @@ Changelog **2.3** (2020 Apr 9) -- Bugfix: the regular expression that matches the name of a git +- *Bugfix:* the regular expression that matches t...
Tweak docstring italics for consistency
py
diff --git a/post_office/test_settings.py b/post_office/test_settings.py index <HASH>..<HASH> 100644 --- a/post_office/test_settings.py +++ b/post_office/test_settings.py @@ -43,7 +43,4 @@ DEFAULT_FROM_EMAIL = 'webmaster@example.com' MIDDLEWARE_CLASSES = ( 'django.contrib.sessions.middleware.SessionMiddleware', ...
Make tests pass in Django <I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -8,9 +8,12 @@ __version__ = importlib.import_module('zendesk_tickets').__version__ with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() -tests_require = ['flake8'] -if sys....
Fix compatibility with python <I>
py
diff --git a/distributions.py b/distributions.py index <HASH>..<HASH> 100644 --- a/distributions.py +++ b/distributions.py @@ -1750,10 +1750,10 @@ class _NegativeBinomialIntegerRVariant(NegativeBinomialIntegerR): N = data.shape[0] data_sum = data.sum() feasible = self....
made negativebinomialvariant infeasible data a warning
py
diff --git a/bukuserver/views.py b/bukuserver/views.py index <HASH>..<HASH> 100644 --- a/bukuserver/views.py +++ b/bukuserver/views.py @@ -353,9 +353,13 @@ class TagModelView(BaseModelView): def _name_formatter(self, context, model, name): data = getattr(model, name) + if not data: + r...
fix: user: link to bookmark with empty tag
py
diff --git a/openpnm/algorithms/GenericTransport.py b/openpnm/algorithms/GenericTransport.py index <HASH>..<HASH> 100644 --- a/openpnm/algorithms/GenericTransport.py +++ b/openpnm/algorithms/GenericTransport.py @@ -198,6 +198,10 @@ class GenericTransport(GenericAlgorithm): self['pore.bc_rate'] = np.nan ...
added x as a property method
py
diff --git a/pyemma/_base/estimator.py b/pyemma/_base/estimator.py index <HASH>..<HASH> 100644 --- a/pyemma/_base/estimator.py +++ b/pyemma/_base/estimator.py @@ -129,7 +129,8 @@ def _estimate_param_scan_worker(estimator, params, X, evaluate, evaluate_args, # run estimation model = None try: # catch any...
do not return estimator, but the model
py
diff --git a/denonavr/volume.py b/denonavr/volume.py index <HASH>..<HASH> 100644 --- a/denonavr/volume.py +++ b/denonavr/volume.py @@ -140,6 +140,9 @@ class DenonAVRVolume(DenonAVRFoundation): if volume < -80 or volume > 18: raise AvrCommandError("Invalid volume: {}".format(volume)) + # R...
Round volume to a multiple of <I>
py
diff --git a/gin/config.py b/gin/config.py index <HASH>..<HASH> 100644 --- a/gin/config.py +++ b/gin/config.py @@ -762,7 +762,7 @@ def _get_kwarg_defaults(fn): def _get_validated_required_kwargs(fn, fn_descriptor, allowlist, denylist): - """Gets required argument names, and validates against white/denylist.""" + ...
allow/denylist in docstring PiperOrigin-RevId: <I>
py
diff --git a/IPython/html/widgets/widget_selection.py b/IPython/html/widgets/widget_selection.py index <HASH>..<HASH> 100644 --- a/IPython/html/widgets/widget_selection.py +++ b/IPython/html/widgets/widget_selection.py @@ -18,7 +18,9 @@ from collections import OrderedDict from threading import Lock from .widget imp...
Import Tuple traitlet for Selection widget
py
diff --git a/spyderlib/spyder.py b/spyderlib/spyder.py index <HASH>..<HASH> 100644 --- a/spyderlib/spyder.py +++ b/spyderlib/spyder.py @@ -1744,7 +1744,7 @@ class MainWindow(QMainWindow): The Oxygen icon theme</a>. <p>Spyder's community: <ul><li>Bug reports and feature requests:...
Main Window: Remove another reference to Google Code in "About Spyder"
py
diff --git a/vertica_python/tests/test_commons.py b/vertica_python/tests/test_commons.py index <HASH>..<HASH> 100644 --- a/vertica_python/tests/test_commons.py +++ b/vertica_python/tests/test_commons.py @@ -5,8 +5,8 @@ import vertica_python conn_info = {'host': os.getenv('VP_TEST_HOST', '127.0.0.1'), 'po...
Use the correct default credentials When connecting to the database in the tests, use the correct credentials by default according to the `sumitchawla/vertica` Docker image.
py
diff --git a/salt/cloud/cli.py b/salt/cloud/cli.py index <HASH>..<HASH> 100644 --- a/salt/cloud/cli.py +++ b/salt/cloud/cli.py @@ -364,11 +364,8 @@ class SaltCloud(parsers.SaltCloudParser): elif self.options.bootstrap: host = self.options.bootstrap - if len(self.args) > 0: - ...
Optimize if-statement Combine the 'else' branches as they do the same assignment.
py
diff --git a/imagen/__init__.py b/imagen/__init__.py index <HASH>..<HASH> 100644 --- a/imagen/__init__.py +++ b/imagen/__init__.py @@ -734,7 +734,7 @@ class Animation(SheetStack): must be an integer multiple of this timestep value (which may be a float or some other numeric type).""" ) - dimensions...
The dimension name for imagen.Animation updated from 'Time' to 'frames'
py
diff --git a/openquake/commonlib/readinput.py b/openquake/commonlib/readinput.py index <HASH>..<HASH> 100644 --- a/openquake/commonlib/readinput.py +++ b/openquake/commonlib/readinput.py @@ -556,7 +556,7 @@ def get_composite_source_model(oqparam, in_memory=True): if len(set(srcs)) < len(srcs): rai...
Improved the error message for duplicated source IDs [skip hazardlib]
py
diff --git a/tests/test_pylast.py b/tests/test_pylast.py index <HASH>..<HASH> 100755 --- a/tests/test_pylast.py +++ b/tests/test_pylast.py @@ -911,8 +911,7 @@ class TestPyLast(unittest.TestCase): lastfm_user = self.network.get_authenticated_user() # Act/Assert - # Skip the first one because L...
Re-enable test for re-added Last.fm API
py
diff --git a/tests/response_construction_tests.py b/tests/response_construction_tests.py index <HASH>..<HASH> 100644 --- a/tests/response_construction_tests.py +++ b/tests/response_construction_tests.py @@ -7,9 +7,12 @@ from .test_views import TestProxy class ResponseConstructionTest(TestCase, RequestPatchMixin): ...
Add test coverage for <I> CONTENT_LENGTH hack
py
diff --git a/gspread/__init__.py b/gspread/__init__.py index <HASH>..<HASH> 100644 --- a/gspread/__init__.py +++ b/gspread/__init__.py @@ -8,7 +8,7 @@ Google Spreadsheets client library. """ -__version__ = '0.0.12' +__version__ = '0.0.13' __author__ = 'Anton Burnashev' from .client import Client, login
Update gspread/__init__.py bump patch release
py
diff --git a/python/thunder/utils/statcounter.py b/python/thunder/utils/statcounter.py index <HASH>..<HASH> 100644 --- a/python/thunder/utils/statcounter.py +++ b/python/thunder/utils/statcounter.py @@ -48,8 +48,8 @@ class StatCounter(object): self.n = 0L # Running count of our values self.mu = 0.0...
fix for implicit casting to float in stats max/min methods
py
diff --git a/tests/test_fetcher_processor.py b/tests/test_fetcher_processor.py index <HASH>..<HASH> 100644 --- a/tests/test_fetcher_processor.py +++ b/tests/test_fetcher_processor.py @@ -89,9 +89,12 @@ class TestFetcherProcessor(unittest.TestCase): return False return status.get('track', {}).get(t...
tracing "unexpected successes"
py
diff --git a/export.py b/export.py index <HASH>..<HASH> 100644 --- a/export.py +++ b/export.py @@ -27,7 +27,7 @@ name_to_api = {'calories': 'calories', 'fuel': 'fuel', 'distance': 'distance', 'steps': 'steps', - 'start_time': 'startTime', + 'st...
Do not pretty up time string, leave in iso format for others to convert
py
diff --git a/f90nml/namelist.py b/f90nml/namelist.py index <HASH>..<HASH> 100644 --- a/f90nml/namelist.py +++ b/f90nml/namelist.py @@ -143,7 +143,13 @@ class Namelist(OrderedDict): def __contains__(self, key): """Case-insensitive interface to OrderedDict.""" - return super(Namelist, self).__conta...
Check cogroups list for key existence Checking for the existence of a key would fail if the key was a cogroup, since cogroup keys were renamed to the internal format (`_grp_..._###`). This was resolved by searching both the namelist dict keys and the internal cogroup list. This also fixed a bug with removal of eleme...
py
diff --git a/django_extensions/management/commands/dumpscript.py b/django_extensions/management/commands/dumpscript.py index <HASH>..<HASH> 100644 --- a/django_extensions/management/commands/dumpscript.py +++ b/django_extensions/management/commands/dumpscript.py @@ -329,9 +329,12 @@ class InstanceCode(Code): ...
add django <I> check for removal of Collector.batches
py
diff --git a/pymatgen/analysis/phase_diagram.py b/pymatgen/analysis/phase_diagram.py index <HASH>..<HASH> 100644 --- a/pymatgen/analysis/phase_diagram.py +++ b/pymatgen/analysis/phase_diagram.py @@ -780,6 +780,8 @@ class BasePhaseDiagram(MSONable): # and so is not done by default # TODO check that thi...
maybe the memory is due to the inner hull idea?
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 @@ -141,7 +141,7 @@ class CKEditor(object): def init_app(self, app): blueprint = Blueprint('ckeditor', __name__, - ...
Change built-in resource's url path
py
diff --git a/LiSE/LiSE/proxy.py b/LiSE/LiSE/proxy.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/proxy.py +++ b/LiSE/LiSE/proxy.py @@ -2168,6 +2168,7 @@ class EngineProxy(AbstractEngine): do_game_start=False, install_modules=[], submit_func=None, threads=None ): + self.closed = Fa...
Raise RedundantProcessError when trying to use a closed EngineProxy
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -53,10 +53,10 @@ _CLASSIFIERS = ( ) _OPTIONAL = { - 'with-vulture': ('vulture>=0.6',), - 'with-pyroma': ('pyroma>=1.6',), + 'with_vulture': ('vulture>=0.6',), + 'with_pyroma': ('pyroma>=1.6',), } -_OPTIONAL['w...
Optional requirements must use _ instead of -, as when trying to install (pip install prospector[with-everything]) the hyphens get converted to underscores for lookup but do not warn about the optional extra not existing...
py
diff --git a/blockstack/lib/operations/transfer.py b/blockstack/lib/operations/transfer.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/operations/transfer.py +++ b/blockstack/lib/operations/transfer.py @@ -181,11 +181,16 @@ def check( state_engine, nameop, block_id, checked_ops ): log.debug("Name '%s' is ...
don't allow transfer if we're in the renewal grace period
py
diff --git a/cqlengine/connection.py b/cqlengine/connection.py index <HASH>..<HASH> 100644 --- a/cqlengine/connection.py +++ b/cqlengine/connection.py @@ -221,11 +221,11 @@ class ConnectionPool(object): con = self.get() if not con: raise CQLEngineException("Error c...
Log query (DEBUG level) before execute.
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,9 +22,6 @@ html_static_path = ['_static'] ##### Guzzle sphinx theme -# @TODO: Temporary hack while developing the theme. -sys.path.insert(0, '/Users/dowling/projects/guzzle_sphinx_theme') - import guz...
Using docs from pypi
py
diff --git a/pymc3/backends/base.py b/pymc3/backends/base.py index <HASH>..<HASH> 100644 --- a/pymc3/backends/base.py +++ b/pymc3/backends/base.py @@ -109,7 +109,7 @@ class BaseTrace(object): """Slice trace object.""" raise NotImplementedError - def point(self, idx, chain=None): + def point(se...
BaseTrace: Remove chain keyword argument to point This is stale code. The current BaseTrace only deals with a for a chain argument in the point method. The point method signatures in the children classes are already correct.
py
diff --git a/pprofile.py b/pprofile.py index <HASH>..<HASH> 100755 --- a/pprofile.py +++ b/pprofile.py @@ -366,23 +366,16 @@ class ProfileBase(object): def _getFileTiming(self, frame): try: - # Using f_code id as key so same-code objects are not mixed - # together. - ret...
pprofile: Flatten _getFileTiming Individual code objects are taken into account when naming call & hit event containers so this does not change the output and reduces the number of calls to _getFileName. Also, prepare for splitting global_dict per thread, but sharing file_dict.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -186,6 +186,12 @@ def setup_xspec(): # See, maybe we are running in Conda conda_prefix = os.environ.get("CONDA_PREFIX") + + if conda_prefix is None: + + # Maybe this is...
[ci skip] Dealing with "conda build" builds
py
diff --git a/javalang/parser.py b/javalang/parser.py index <HASH>..<HASH> 100644 --- a/javalang/parser.py +++ b/javalang/parser.py @@ -1053,7 +1053,10 @@ class Parser(object): if self.try_accept('throws'): throws = self.parse_qualified_identifier_list() - self.accept(';') + if self...
Allow interfaces to have an optional body, fix #<I>.
py
diff --git a/mmcv/utils/config.py b/mmcv/utils/config.py index <HASH>..<HASH> 100644 --- a/mmcv/utils/config.py +++ b/mmcv/utils/config.py @@ -119,7 +119,7 @@ class Config: filename = osp.abspath(osp.expanduser(filename)) check_file_exist(filename) fileExtname = osp.splitext(filename)[1] - ...
Add dot to yml extension (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -97,10 +97,10 @@ class CythonBuildExt(build_ext): # Automatically append the file extension based on language. # ``cythonize`` does this for us automatically, so it's not necessary if # that was run ...
Always replace .pyx file extension in setup.py
py
diff --git a/pyghmi/ipmi/oem/lenovo/imm.py b/pyghmi/ipmi/oem/lenovo/imm.py index <HASH>..<HASH> 100644 --- a/pyghmi/ipmi/oem/lenovo/imm.py +++ b/pyghmi/ipmi/oem/lenovo/imm.py @@ -787,7 +787,10 @@ class XCCClient(IMMClient): dsc = self.wc.grab_json_response('/DeviceDescription.json') dsc = dsc[0] ...
Workaround 7Y<I> model bug 7Y<I> firmware does not populate u-height. Workaround the bug by embedding the correct value for the model. Change-Id: I<I>b7ec<I>d<I>e<I>d<I>cd7c<I>a<I>
py
diff --git a/centinel/experiments/turkey.py b/centinel/experiments/turkey.py index <HASH>..<HASH> 100644 --- a/centinel/experiments/turkey.py +++ b/centinel/experiments/turkey.py @@ -34,10 +34,13 @@ class TurkeyExperiment(Experiment): "Host" : self.host } - result = http.get_request(ip, s...
don't break if request fails
py
diff --git a/billy/commands/dump.py b/billy/commands/dump.py index <HASH>..<HASH> 100644 --- a/billy/commands/dump.py +++ b/billy/commands/dump.py @@ -19,16 +19,18 @@ import validictory import boto from boto.s3.key import Key - -def upload(abbr, filename, type, s3_prefix='downloads/'): +# TODO: make prefix/use_cnam...
upload dumps to use cname too
py
diff --git a/lizzy_client/lizzy.py b/lizzy_client/lizzy.py index <HASH>..<HASH> 100644 --- a/lizzy_client/lizzy.py +++ b/lizzy_client/lizzy.py @@ -29,7 +29,7 @@ FINAL_STATES = ["CF:CREATE_COMPLETE", "LIZZY:ERROR", "LIZZY:REMOVED"] -TARGET_VERSION = '1.4' +TARGET_VERSION = '1.5' ...
Update target version to <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name='django-page-cms', - test_suite = "example.test_runner.run_tests", + test_suite='example.test_runner.run_tests', version=__import__('pages...
Widget template were not included properly because the directory has been moved.
py
diff --git a/pandas/util/testing.py b/pandas/util/testing.py index <HASH>..<HASH> 100644 --- a/pandas/util/testing.py +++ b/pandas/util/testing.py @@ -163,10 +163,6 @@ def makeFloatIndex(k): values = sorted(np.random.random_sample(k)) - np.random.random_sample(1) return Index(values * (10 ** np.random.randint...
Removed old duplicated makeDateIndex definition
py
diff --git a/recsql/rest_table.py b/recsql/rest_table.py index <HASH>..<HASH> 100644 --- a/recsql/rest_table.py +++ b/recsql/rest_table.py @@ -63,9 +63,10 @@ Module content import re import numpy -# search expression -re_FLAGS = re.VERBOSE | re.DOTALL | re.MULTILINE -#: find a single table in the string +# search e...
comments & made re flags explicit git-svn-id: svn+ssh://gonzo.med.jhmi.edu/scratch/svn/woolf_repository/users/oliver/Library/RecSQL@<I> df5ba8eb-4b0b-<I>-8c<I>-c<I>f<I>b<I>c
py
diff --git a/dwave/cloud/cli.py b/dwave/cloud/cli.py index <HASH>..<HASH> 100644 --- a/dwave/cloud/cli.py +++ b/dwave/cloud/cli.py @@ -235,8 +235,8 @@ def _ping(config_file, profile, solver_def, request_timeout, polling_timeout, ou raise CLIError("Unexpected error while fetching solver: {!r}".format(e), 5) ...
Ping: select min-node vs any (for consistency)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -48,5 +48,6 @@ setup( 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', ...
Add the latest supported Python version to 'classifiers'
py
diff --git a/ansible_runner/__main__.py b/ansible_runner/__main__.py index <HASH>..<HASH> 100644 --- a/ansible_runner/__main__.py +++ b/ansible_runner/__main__.py @@ -157,19 +157,19 @@ def role_manager(args): def print_common_usage(): print(textwrap.dedent(""" - These are common Ansible Runner subcommand...
fixes the output from print_common_usage() The print_common_usage() function was introduced in d9abe9f with some sample albeit inaccurate text. This commit fixes the text to provide meaningful examples that actually work. There are no other code changes besides the print_common_usage() text in this change.
py
diff --git a/pmxbot/slack.py b/pmxbot/slack.py index <HASH>..<HASH> 100644 --- a/pmxbot/slack.py +++ b/pmxbot/slack.py @@ -65,11 +65,11 @@ class Bot(pmxbot.core.Bot): self.slack.server.channels.find(channel) or self._find_user_channel(username=channel) ) - message = self._expand_slack_references(message) + ...
We're all Slack here
py
diff --git a/jinja2cli/cli.py b/jinja2cli/cli.py index <HASH>..<HASH> 100644 --- a/jinja2cli/cli.py +++ b/jinja2cli/cli.py @@ -306,6 +306,11 @@ def cli(opts, args): else: out = open(opts.outfile, "w") + if not PY3: + import codecs + + out = codecs.getwriter("utf8")(out) + out.write...
Fix more unicode stuff for python2
py
diff --git a/zinnia_tinymce/__init__.py b/zinnia_tinymce/__init__.py index <HASH>..<HASH> 100644 --- a/zinnia_tinymce/__init__.py +++ b/zinnia_tinymce/__init__.py @@ -1,5 +1,5 @@ """TinyMCE for Django-blog-zinnia""" -__version__ = '1.2' +__version__ = '1.2.1' __license__ = 'BSD License' __author__ = 'Fantomas42'
Bumping to version <I>
py
diff --git a/examples/python/Forest_portability_example.py b/examples/python/Forest_portability_example.py index <HASH>..<HASH> 100644 --- a/examples/python/Forest_portability_example.py +++ b/examples/python/Forest_portability_example.py @@ -27,7 +27,7 @@ from qiskit.opflow.primitive_ops import PauliSumOp from qiskit...
Use real coefficients in PauliSumOp.
py
diff --git a/annotypes/_serializable.py b/annotypes/_serializable.py index <HASH>..<HASH> 100644 --- a/annotypes/_serializable.py +++ b/annotypes/_serializable.py @@ -40,7 +40,7 @@ def serialize_object(o, dict_cls=FrozenOrderedDict): if o.__class__ is Array: # Work out if we need to serialize the objects ...
Fix serialize_object to work on platforms without enum package
py
diff --git a/py/nupic/support/exceptions.py b/py/nupic/support/exceptions.py index <HASH>..<HASH> 100644 --- a/py/nupic/support/exceptions.py +++ b/py/nupic/support/exceptions.py @@ -29,11 +29,6 @@ class TimeoutError(Exception): pass -##############################################################################...
Removes StreamDisappearedError I went ahead and removed this, as it's not being raised anywhere, and I removed the check for it in my previous commit
py
diff --git a/scripts/run_gce_system_tests.py b/scripts/run_gce_system_tests.py index <HASH>..<HASH> 100644 --- a/scripts/run_gce_system_tests.py +++ b/scripts/run_gce_system_tests.py @@ -48,8 +48,6 @@ class TestComputeEngine(unittest.TestCase): content = content.decode('utf-8') payload = json.loads(...
Fix GCE system tests tokeninfo will not tell you the email address for a GCE account. It's sufficient to verify that the token is valid and unexpired.
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 @@ -1462,6 +1462,8 @@ class Engine(AbstractEngine, gORM): res = action(entity) if res: actres.append(res) + if not ...
Don't keep running actions if an entity has deleted itself
py
diff --git a/coreGenome/core.py b/coreGenome/core.py index <HASH>..<HASH> 100755 --- a/coreGenome/core.py +++ b/coreGenome/core.py @@ -74,8 +74,14 @@ class CoreGenome(GeneSeekr): closestref = list(sample[self.analysistype].blastresults.items())[0][0] coregenes = list(sa...
Best hits with dashes in file name are replaced with underscores during blast - updated to revert to dashes
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -47,7 +47,7 @@ install_requires = [ 'bravado>=10.2,<10.4', 'checksumdir>=1.1.4,<1.2', 'click>=7.0', - 'jsonschema[format]>=2.6.0', + 'jsonschema>=3.0.1', 'kombu>=4.6,<4.7', 'Werkzeug>=0.14.1', ]
installation: upgrade jsonschema version * Addresses reanahub/reana-client#<I>.
py
diff --git a/perceval/backends/core/mbox.py b/perceval/backends/core/mbox.py index <HASH>..<HASH> 100644 --- a/perceval/backends/core/mbox.py +++ b/perceval/backends/core/mbox.py @@ -61,7 +61,7 @@ class MBox(Backend): :param cache: cache object to store raw data :param archive: archive to read/store data fetc...
[mbox] Handle end-of-stream marker was reached This patch allows to handle EOFError exceptions raisen when a compressed file ends before the end-of-stream marker. The files affected by this exception are filtered out.
py
diff --git a/pymc3/distributions/continuous.py b/pymc3/distributions/continuous.py index <HASH>..<HASH> 100644 --- a/pymc3/distributions/continuous.py +++ b/pymc3/distributions/continuous.py @@ -912,8 +912,8 @@ class StudentT(Continuous): Parameters ---------- - nu : int - Degrees of freedom (nu >...
small fix: docstring Student t, nu is float (#<I>)
py
diff --git a/pyxley/utils/npm.py b/pyxley/utils/npm.py index <HASH>..<HASH> 100644 --- a/pyxley/utils/npm.py +++ b/pyxley/utils/npm.py @@ -49,7 +49,8 @@ class NPM(object): "sass-loader": "^3.1.2", "style-loader": "^0.13.0", "webpack": "^1.12.13", - "webpack-dev-server": "^1.14.1" + ...
added pyxley to the list of default packages
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -1,3 +1,6 @@ +#!/usr/bin/python +# + import pathlib import setuptools
setup.py: add the shebang line: this is EXECUTABLE!
py
diff --git a/src/quart/testing/client.py b/src/quart/testing/client.py index <HASH>..<HASH> 100644 --- a/src/quart/testing/client.py +++ b/src/quart/testing/client.py @@ -148,6 +148,9 @@ class QuartClient: headers, path, query_string_bytes = make_test_headers_path_and_query_string( self.app, path,...
Bugfix cookie jar handling in test client This was missing in the request and websocket methods.
py
diff --git a/airflow/operators/hive_stats_operator.py b/airflow/operators/hive_stats_operator.py index <HASH>..<HASH> 100644 --- a/airflow/operators/hive_stats_operator.py +++ b/airflow/operators/hive_stats_operator.py @@ -136,13 +136,22 @@ class HiveStatsCollectionOperator(BaseOperator): logging.info("Deletin...
HiveStatsCollectionOperator was throwing deadlocks, this should address it
py
diff --git a/gui/tools/designer.py b/gui/tools/designer.py index <HASH>..<HASH> 100644 --- a/gui/tools/designer.py +++ b/gui/tools/designer.py @@ -159,12 +159,20 @@ class BasicDesigner: wx_obj = self.current sx, sy = self.start x, y = wx.GetMousePosition() - # update gu...
allow moving group object using mouse (designer)
py
diff --git a/indra/databases/biogrid_client.py b/indra/databases/biogrid_client.py index <HASH>..<HASH> 100644 --- a/indra/databases/biogrid_client.py +++ b/indra/databases/biogrid_client.py @@ -16,15 +16,26 @@ logger = logging.getLogger('biogrid') # For more information see http://wiki.thebiogrid.org/doku.php/biogrid...
Check for biogrid api key in environment variable
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -74,7 +74,12 @@ if on_rtd: def __getattr__(cls, name): return MagicMock() - MOCK_MODULES = ['pikepdf', 'ocrmypdf.leptonica'] + MOCK_MODULES = [ + 'pikepdf', + 'pikepd...
docs: try to fix readthedocs [ci skip]
py
diff --git a/pyramid_authsanity/__init__.py b/pyramid_authsanity/__init__.py index <HASH>..<HASH> 100644 --- a/pyramid_authsanity/__init__.py +++ b/pyramid_authsanity/__init__.py @@ -1,12 +1,8 @@ import logging log = logging.getLogger(__name__) -import string -import hashlib - -from os import urandom - -from zope.i...
Instead of hexdigest from sha<I> use base<I> stripped
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ __author__ = 'Robert Cope', 'Pushrod Technology' __author_email__ = 'robert.cope@pushrodtechnology.com' -__version__ = '0.0.1rc2' +__version__ = '0.0.1rc3' import ez_setup ez_setup.use_setuptools()
Bump to <I>rc3 to try to fix setup.py issue.
py
diff --git a/astropy_helpers/sphinx/ext/tests/__init__.py b/astropy_helpers/sphinx/ext/tests/__init__.py index <HASH>..<HASH> 100644 --- a/astropy_helpers/sphinx/ext/tests/__init__.py +++ b/astropy_helpers/sphinx/ext/tests/__init__.py @@ -1,3 +1,4 @@ +import os import subprocess as sp import sys @@ -21,7 +22,13 @@ ...
Oops, need to provide a path to astropy_helpers for the subprocess...
py
diff --git a/abilian/testing/__init__.py b/abilian/testing/__init__.py index <HASH>..<HASH> 100644 --- a/abilian/testing/__init__.py +++ b/abilian/testing/__init__.py @@ -4,7 +4,8 @@ import os import subprocess import requests - +import tempfile +import shutil assert not 'twill' in subprocess.__file__ @@ -28,6...
setup and clean app instance work directory in setUpClass/teardownClass
py
diff --git a/yarn_api_client/hadoop_conf.py b/yarn_api_client/hadoop_conf.py index <HASH>..<HASH> 100644 --- a/yarn_api_client/hadoop_conf.py +++ b/yarn_api_client/hadoop_conf.py @@ -6,7 +6,7 @@ try: except ImportError: from http.client import HTTPConnection, OK -CONF_DIR = '/etc/hadoop/conf' +CONF_DIR = os.get...
Check for HADOOP_CONF_DIR env var When setting CONF_DIR in yarn_api_client/hadoop_conf.py it would be nice to check for conf dir overrides defined via the HADOOP_CONF_DIR env var. This comes in handy when working with hadoop clients defined in non standard paths. Closes #<I>
py
diff --git a/django_afip/admin.py b/django_afip/admin.py index <HASH>..<HASH> 100644 --- a/django_afip/admin.py +++ b/django_afip/admin.py @@ -77,6 +77,17 @@ class TaxInline(admin.TabularInline): extra = 1 +class ReceiptEntryInline(admin.TabularInline): + model = models.ReceiptEntry + fields = ( + ...
Show receipt entries in the receipts admin
py
diff --git a/neutronclient/v2_0/client.py b/neutronclient/v2_0/client.py index <HASH>..<HASH> 100644 --- a/neutronclient/v2_0/client.py +++ b/neutronclient/v2_0/client.py @@ -1712,14 +1712,14 @@ class Client(ClientBase): super(Client, self).__init__(**kwargs) self._register_extensions(self.version) ...
Fix extend_show parameter name show operation is an operation to a single object. The parameter name 'resource_plural' is confusing. Change-Id: I<I>e<I>b3e<I>e<I>fc<I>ad<I>bd<I>a1fb<I>d7
py
diff --git a/fontaine/cmap.py b/fontaine/cmap.py index <HASH>..<HASH> 100644 --- a/fontaine/cmap.py +++ b/fontaine/cmap.py @@ -27,12 +27,13 @@ library = Library() from fontaine.charmaps import * from fontaine.ext.extensis import Extensis - for ext in Extensis.get_codepoints(): - class Charmap: - common...
Rewrite creating class by using type()
py
diff --git a/mpop/scene.py b/mpop/scene.py index <HASH>..<HASH> 100644 --- a/mpop/scene.py +++ b/mpop/scene.py @@ -584,6 +584,20 @@ class SatelliteInstrumentScene(SatelliteScene): return res + def append(self, scene): + """Append data from another *scene* to this one + """ + ...
added append function to scene.py
py
diff --git a/pgpy/keys.py b/pgpy/keys.py index <HASH>..<HASH> 100644 --- a/pgpy/keys.py +++ b/pgpy/keys.py @@ -49,6 +49,38 @@ class PGPKeyring(object): def keys(self): return self.publickeys + self.privatekeys + @property + def pubkeyids(self): + return list(self.pubkeys.keys()) + + @pro...
added more property methods to PGPKeyring
py
diff --git a/build/build.py b/build/build.py index <HASH>..<HASH> 100755 --- a/build/build.py +++ b/build/build.py @@ -171,7 +171,7 @@ build:opt --host_copt=-march=native def write_bazelrc(**kwargs): - f = open(".bazelrc", "w") + f = open("../.bazelrc", "w") f.write(BAZELRC_TEMPLATE.format(**kwargs)) f.clo...
Update build.py to write its .bazelrc in the root directory of the repository, next to the workspace. Fixes build breakage caused by workspace move.
py
diff --git a/src/setuptools_scm/git.py b/src/setuptools_scm/git.py index <HASH>..<HASH> 100644 --- a/src/setuptools_scm/git.py +++ b/src/setuptools_scm/git.py @@ -13,7 +13,10 @@ from .utils import require_command from .utils import trace from .version import meta -DEFAULT_DESCRIBE = "git describe --dirty --tags --l...
Warn for shell expansion of DEFAULT_DESCRIBE.
py
diff --git a/openquake/engine/calculators/risk/scenario_risk/core.py b/openquake/engine/calculators/risk/scenario_risk/core.py index <HASH>..<HASH> 100644 --- a/openquake/engine/calculators/risk/scenario_risk/core.py +++ b/openquake/engine/calculators/risk/scenario_risk/core.py @@ -45,7 +45,6 @@ def scenario(workflow, ...
Moved the mask for arrays with missing costs in the engine
py
diff --git a/test/test_collection.py b/test/test_collection.py index <HASH>..<HASH> 100644 --- a/test/test_collection.py +++ b/test/test_collection.py @@ -1564,8 +1564,15 @@ class TestCollection(unittest.TestCase): self.assertEqual(None, c.find_and_modify({'_id': 1}, {'$inc': {'i': ...
Fix test failure due to <I> behaviour change. See SERVER-<I> for more information.
py
diff --git a/vivarium/framework/state_machine.py b/vivarium/framework/state_machine.py index <HASH>..<HASH> 100644 --- a/vivarium/framework/state_machine.py +++ b/vivarium/framework/state_machine.py @@ -5,7 +5,7 @@ import pandas as pd import numpy as np -def _next_state(index, time, transition_set, population_view...
Update time variable name to event_time for consistency
py
diff --git a/instabot/bot/bot_like.py b/instabot/bot/bot_like.py index <HASH>..<HASH> 100755 --- a/instabot/bot/bot_like.py +++ b/instabot/bot/bot_like.py @@ -26,16 +26,20 @@ def like( self.delay("like") if check_media and not self.check_media(media_id): return False - if container...
Commented out open link simulation commented out simulation of "open link in app"
py