in_source_id
stringlengths
13
58
issue
stringlengths
3
241k
before_files
listlengths
0
3
after_files
listlengths
0
3
pr_diff
stringlengths
109
107M
Cloud-CV__EvalAI-1233
Change the font everywhere to Roboto We are planning to switch the font to Roboto for the whole web application. Please let me know if there are concerns/issues.
[]
[]
diff --git a/frontend/src/css/modules/base.scss b/frontend/src/css/modules/base.scss index bda19c41e4..5918f25e84 100644 --- a/frontend/src/css/modules/base.scss +++ b/frontend/src/css/modules/base.scss @@ -9,44 +9,6 @@ display: none !important; } -/*needed fonts*/ - -@font-face { - font-family: "geo"; - ...
python__python-docs-es-1269
Translate 'whatsnew/2.3.po' This needs to reach 100% translated. The rendered version of this file will be available at https://docs.python.org/es/3.8/whatsnew/2.3.html once translated. Meanwhile, the English version is shown. Current stats for `whatsnew/2.3.po`: * Fuzzy: 0 * Percent translated: 0.0% * Entries: 0 / ...
[]
[]
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0ec9648d0f..f970c8bc1b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/JulienPalard/powrap - rev: main + rev: v0.4.0 hooks: - id: powrap - repo: local @@ -11...
django-cms__django-filer-1383
Field verbose_name should use gettext_lazy Hi, model field verbose_names should use gettext_lazy, because it creates migrations based on user language settings. https://github.com/django-cms/django-filer/blob/master/filer/models/foldermodels.py#L9 This is migration generated after upgrade to django-filer 3.0 ...
[]
[]
diff --git a/MANIFEST.in b/MANIFEST.in index 046cfc193..5748b57fe 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,5 @@ include LICENSE include README.rst -exclude mptt/__init__.py recursive-include filer/locale * recursive-include filer/static * recursive-include filer/templates * diff --git a/filer/static/f...
acl-org__acl-anthology-1701
Correction to Anthology ID 2021.naacl-main.477 ## Revision or erratum - [X] I have attached the revised PDF or erratum to this issue - [X] I have written a brief description of the changes below **Description of changes** From Bushra Sabir: I want to bring to your notice that my paper ID: 1271, "ReinforceBug...
[]
[]
diff --git a/bin/add_attachment.py b/bin/add_attachment.py old mode 100644 new mode 100755 diff --git a/data/xml/2020.inlg.xml b/data/xml/2020.inlg.xml index f75776537e..fbf0663fb7 100644 --- a/data/xml/2020.inlg.xml +++ b/data/xml/2020.inlg.xml @@ -483,6 +483,7 @@ <abstract>Generating multi-sentence image descr...
flask-admin__flask-admin-1735
"examples" package erroneously installed Because there's an `examples/__init__.py` file in the repo, [this line of setup.py](https://github.com/flask-admin/flask-admin/blob/08bdcdea27fed6dcef7627bf7d2ac0625c4c2a9c/setup.py#L54) is erroneously deciding to install two packages, `flask-admin` and `examples`. I suspect oth...
[]
[]
diff --git a/examples/__init__.py b/examples/__init__.py deleted file mode 100644 index e69de29bb..000000000
akvo__akvo-rsr-4670
Split web service for local environment Currently, the `web` docker-compose service uses [`start-django.sh`](https://github.com/akvo/akvo-rsr/blob/master/scripts/docker/dev/start-django.sh) which starts 3 different processes in the background. This introduces these problems: - restarting other processes when only one...
[]
[]
diff --git a/.dockerignore b/.dockerignore index 7d57f4dfaa..9c9e49f953 100644 --- a/.dockerignore +++ b/.dockerignore @@ -3,6 +3,8 @@ vagrant data scripts/data/*.gz scripts/data/*.lzo +scripts/data/config +scripts/data/dumps akvo/rsr/front-end/node_modules/ akvo/rsr/front-end/static/webpack-stats.json akvo/rsr/f...
OpenEnergyPlatform__oeplatform-1353
Version in CITATION.cff is out of date ## Description of the issue We have introduced the citation.cff file, which also contains a version. This should be updated every time a release is made. It would be great if the version could be imported automatically from the VERSION file so we don't have to maintain multiple...
[ { "content": "", "path": "oeplatform/__init__.py" } ]
[ { "content": "__version__ = \"0.14.1\"\n", "path": "oeplatform/__init__.py" } ]
diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 000000000..6e9ce9e69 --- /dev/null +++ b/.bumpversion.cfg @@ -0,0 +1,8 @@ +[bumpversion] +current_version = 0.14.1 + +[bumpversion:file:VERSION] + +[bumpversion:file:CITATION.cff] + +[bumpversion:file:oeplatform/__init__.py] diff --git ...
kartoza__prj.app-866
Only one organisation can be created per account It seems that only one organisation can be created from a login account. The folks at Camptocamp have two separate organisations (companies) and are unable to create the second organisation from their login.
[ { "content": "", "path": "django_project/core/settings/__init__.py" } ]
[ { "content": "# coding=utf-8\n", "path": "django_project/core/settings/__init__.py" } ]
diff --git a/django_project/base/tests/__init__.py b/django_project/base/tests/__init__.py index b979ed160..22d4b6542 100644 --- a/django_project/base/tests/__init__.py +++ b/django_project/base/tests/__init__.py @@ -1 +1,3 @@ +# coding=utf-8 +"""Test for base App.""" __author__ = 'timlinux' diff --git a/django_projec...
CTFd__CTFd-598
Docker startup getting stuck on mysqladmin ping **Environment**: - CTFd Version/Commit: ctfd/ctfd:latest from Docker hub (17 days old) - Operating System: Amazon Linux AMI 2017.09.j x86_64 ECS HVM GP2 - Web Browser and Version: N/A **What happened?** Trying to setup CTFd with AWS ECS and RDS Aurora. I...
[ { "content": "from CTFd import create_app\n\napp = create_app()\n", "path": "wsgi.py" } ]
[ { "content": null, "path": "wsgi.py" } ]
diff --git a/ctfd.ini b/ctfd.ini deleted file mode 100644 index 951cae856..000000000 --- a/ctfd.ini +++ /dev/null @@ -1,46 +0,0 @@ -# UWSGI Configuration File -# Install uwsgi (sudo apt-get install uwsgi), copy this file to -# /etc/uwsgi/apps-available and then link it in /etc/uwsgi/apps-enabled -# Only two lines below...
plotly__dash-2553
[BUG] Flask 2.2.3 dependency has HIGH security vulnerability (fixed in 2.2.5) Issue #2538 pinned the upper bound of the Flask dependency to 2.2.3. However Flask 2.2.3 is affected by a HIGH security vulnerability that is fixed in Flask 2.2.5. See https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-30861 Debian 11...
[ { "content": "__version__ = \"2.10.1\"\n", "path": "dash/version.py" } ]
[ { "content": "__version__ = \"2.10.2\"\n", "path": "dash/version.py" } ]
diff --git a/CHANGELOG.md b/CHANGELOG.md index 90844ed6ca..54c5b0714e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to `dash` will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/). +## [2.10.2] - 2023-05-31 + +## Changed + +- Set Flas...
horovod__horovod-1139
Replace .step(synchronize=False) with optimizer.skip_synchronize() NVIDIA AMP does not support passing additional flags to `optimizer.step()`, such as `optimizer.step(synchronize=False)`. This PR switches API to use context manager: ```python optimizer.synchronize() with optimizer.skip_synchronize(): optimiz...
[ { "content": "__version__ = '0.16.3'\n", "path": "horovod/__init__.py" } ]
[ { "content": "__version__ = '0.16.4'\n", "path": "horovod/__init__.py" } ]
diff --git a/horovod/__init__.py b/horovod/__init__.py index 66e314a006..538eb5d865 100644 --- a/horovod/__init__.py +++ b/horovod/__init__.py @@ -1 +1 @@ -__version__ = '0.16.3' +__version__ = '0.16.4'
freedomofpress__securedrop-1117
Update kernel module blacklist During an installation last week, we encountered an issue with the kernel module blacklist. The install was using the new generation of Intel NUCs ([NUC5i5RYK](http://www.amazon.com/dp/B00SD9ISIQ) and [NUC5i5RYH](http://www.amazon.com/dp/B00SD9IS1S/)). Unlike the previous generation of NU...
[ { "content": "__version__ = '0.3.4'\n", "path": "securedrop/version.py" } ]
[ { "content": "__version__ = '0.3.5'\n", "path": "securedrop/version.py" } ]
diff --git a/changelog.md b/changelog.md index 067f5d8e02..cbfd4c1003 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,16 @@ # Changelog +## 0.3.5 + +The issues for this release were tracked with the 0.3.5 milestone on Github: https://github.com/freedomofpress/securedrop/milestones/0.3.5 + +* Use certificate ...
django-wiki__django-wiki-1287
Release final 0.10 with Django 4.2 support Issue title kind of says it :) Would be nice to do this soon :+1:
[ { "content": "__version__ = \"0.10b1\"\n", "path": "src/wiki/__about__.py" } ]
[ { "content": "__version__ = \"0.10\"\n", "path": "src/wiki/__about__.py" } ]
diff --git a/docs/release_notes.rst b/docs/release_notes.rst index 53e73236b..9acb60979 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -5,14 +5,49 @@ Release notes Release plan ------------ - -- **0.3.x** series suppors Django 1.11. As with the upstream Django release, 0.3 was be the last serie...
django-wiki__django-wiki-1337
Django 5 support Pending other dependencies * https://github.com/django-wiki/django-nyt/issues/126
[ { "content": "__version__ = \"0.10\"\n", "path": "src/wiki/__about__.py" } ]
[ { "content": "__version__ = \"0.11rc1\"\n", "path": "src/wiki/__about__.py" } ]
diff --git a/.circleci/config.yml b/.circleci/config.yml index 0099e91cb..5d2abab6c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,36 +34,58 @@ jobs: workflows: - main: + test: jobs: - hatch: + name: "Python 3.9, Django 3.2" hatch_env: "py3.9-dj3.2" ...
cookiecutter__cookiecutter-1273
PEP257 docstrings for file "./docs/__init__.py" Cover `./docs/__init__.py` file with docstrings and follow [PEP257](https://www.python.org/dev/peps/pep-0257/). We use [pydocstyle](https://pypi.org/project/pydocstyle/) for validation. Current validation log: ``` ./docs/__init__.py:1 at module level: D104...
[ { "content": "", "path": "docs/__init__.py" } ]
[ { "content": "# -*- coding: utf-8 -*-\n\n\"\"\"Main package for docs.\"\"\"\n", "path": "docs/__init__.py" } ]
diff --git a/docs/__init__.py b/docs/__init__.py index e69de29bb..e7eaad7bd 100644 --- a/docs/__init__.py +++ b/docs/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +"""Main package for docs."""
microsoft__Qcodes-4248
Filename collision due to case-sensitivity in Keysight folder When pulling the qcodes repository on Windows, there is a filename collision between the uppercase and lowercase Keysight folders. The error message is as follows: ```bash $ git clone https://github.com/QCoDeS/Qcodes.git Cloning into 'Qcodes'... remot...
[ { "content": "", "path": "qcodes/instrument_drivers/Keysight/__init__.py" } ]
[ { "content": "# Intentionally left blank\n", "path": "qcodes/instrument_drivers/Keysight/__init__.py" } ]
diff --git a/qcodes/instrument_drivers/Keysight/__init__.py b/qcodes/instrument_drivers/Keysight/__init__.py index e69de29bb2d..e484f8b84cd 100644 --- a/qcodes/instrument_drivers/Keysight/__init__.py +++ b/qcodes/instrument_drivers/Keysight/__init__.py @@ -0,0 +1 @@ +# Intentionally left blank diff --git a/qcodes/instr...
kivy__python-for-android-2797
Python exception when using colorlog due to incomplete IO implementation in sys.stderr I am attempting to run a program which uses `TTYColoredFormatter` from [colorlog](https://pypi.org/project/colorlog/). This class formats log messages, adding ANSI escape codes _only_ if the stream it is writing to returns `True` for...
[ { "content": "__version__ = '2023.02.10'\n", "path": "pythonforandroid/__init__.py" } ]
[ { "content": "__version__ = '2023.05.21'\n", "path": "pythonforandroid/__init__.py" } ]
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3724af62ab..98288f265d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,45 @@ # Changelog +## [v2023.05.21](https://github.com/kivy/python-for-android/tree/v2023.05.21) + +[Full Changelog](https://github.com/kivy/python-for-android/compare/v2023.02.10...v2023.05....
OCHA-DAP__hdx-ckan-1038
Update the version number on the logo and footer. For sprint 25, we will increment to 0.3.2
[ { "content": "hdx_version='v0.3.1'", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
[ { "content": "hdx_version='v0.3.2'", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/version.py b/ckanext-hdx_theme/ckanext/hdx_theme/version.py index 13e6c49927..a1e294d081 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/version.py +++ b/ckanext-hdx_theme/ckanext/hdx_theme/version.py @@ -1 +1 @@ -hdx_version='v0.3.1' \ No newline at end of file +hdx_ve...
OCHA-DAP__hdx-ckan-770
remove text from home page Please remove this text from homepage 'This is an early version of the HDX Repository. Initially, you will be able to find global datasets relevant to humanitarian work as well as local datasets from our three pilot locations - Colombia, Kenya and Yemen. You can also create an account and ad...
[ { "content": "hdx_version='v0.2.6'", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
[ { "content": "hdx_version='v0.3.0'", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/public/hdx_theme.css b/ckanext-hdx_theme/ckanext/hdx_theme/public/hdx_theme.css index 3561f27e3b..428a547358 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/public/hdx_theme.css +++ b/ckanext-hdx_theme/ckanext/hdx_theme/public/hdx_theme.css @@ -1014,6 +1014,7 @@ for exa...
OCHA-DAP__hdx-ckan-1082
Update version number Sprint 26 will be 0.3.3
[ { "content": "hdx_version='v0.3.2'", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
[ { "content": "hdx_version='v0.3.3'", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/version.py b/ckanext-hdx_theme/ckanext/hdx_theme/version.py index a1e294d081..a55927af9a 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/version.py +++ b/ckanext-hdx_theme/ckanext/hdx_theme/version.py @@ -1 +1 @@ -hdx_version='v0.3.2' \ No newline at end of file +hdx_ve...
OCHA-DAP__hdx-ckan-1737
Shrink the map and related divs ![image](https://cloud.githubusercontent.com/assets/1654485/4994413/0a14a7e0-69b9-11e4-8329-f12ef8957fa6.png)
[ { "content": "hdx_version = 'v0.4.8'\n", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
[ { "content": "hdx_version = 'v0.4.9'\n", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/crisis-page.js b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/crisis-page.js index 46f21c5eda..0a2fa32894 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/crisis-page.js +++ b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/crisis-page.js @@ -1,8 +1,7 ...
OCHA-DAP__hdx-ckan-1779
Ebola Page>Map: disable scroll wheel zoom CJ - The specific property is here: https://github.com/OCHA-DAP/hdx-design/blob/gh-pages/js/country.js line 111: map.scrollWheelZoom.disable();
[ { "content": "hdx_version = 'v0.5.1'\n", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
[ { "content": "hdx_version = 'v0.5.2'\n", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/crisis_page/crisis-page.js b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/crisis_page/crisis-page.js index 561fb9369a..908fe8a3f0 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/crisis_page/crisis-page.js +++ b/ckanext-hdx_theme/ckanext/hdx_theme/fa...
OCHA-DAP__hdx-ckan-2135
Browse Page Map: opening a country link has different behaviors From the map: open in new tab From the list: open in same tab We should make it the same: open in same tab (unless there was some specification that it should be a new tab that I'm not remembering. Graphic in Colombia page: instead of line (time-serie...
[ { "content": "hdx_version = 'v0.6.1'\n", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
[ { "content": "hdx_version = 'v0.6.2'\n", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/browse/browse.js b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/browse/browse.js index f911871a34..db2258503f 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/browse/browse.js +++ b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/browse/browse.js @@ -5...
OCHA-DAP__hdx-ckan-1748
Shrink the spacing on the top line numbers Proposed spacings shown here: ![image](https://cloud.githubusercontent.com/assets/1654485/5008984/58c2d9f8-6a62-11e4-9827-75750791e7f9.png) modified css: .item-info { border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; padding: 20px 0; margin-top: -1px; color: ...
[ { "content": "hdx_version = 'v0.4.9'\n", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
[ { "content": "hdx_version = 'v0.4.10'\n", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/css/crisis-page.css b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/css/crisis-page.css index 7f4c17f9df..dcc221eba9 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/css/crisis-page.css +++ b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/css/crisis-pa...
OCHA-DAP__hdx-ckan-1401
The MailChimp subscribe field could use a little bit more padding-left Right now the input text is too close to the left border. It would be nice to add some padding there. ![screen shot 2014-10-01 at 10 23 58 am](https://cloud.githubusercontent.com/assets/953118/4476520/c03a50be-4976-11e4-9ea2-05e0d2a872f9.png)
[ { "content": "hdx_version = 'v0.3.9'\n", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
[ { "content": "hdx_version = 'v0.3.10'\n", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/public/mailchimp.js b/ckanext-hdx_theme/ckanext/hdx_theme/public/mailchimp.js index 2375baeb2d..e6e0374755 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/public/mailchimp.js +++ b/ckanext-hdx_theme/ckanext/hdx_theme/public/mailchimp.js @@ -44,7 +44,7 @@ function mce_in...
OCHA-DAP__hdx-ckan-2071
Update data on the Ebola map
[ { "content": "hdx_version = 'v0.5.13'\n", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
[ { "content": "hdx_version = 'v0.5.14'\n", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/crisis-ebola/crisis-ebola.js b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/crisis-ebola/crisis-ebola.js index 2d59b49d31..e6b87b6d36 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/crisis-ebola/crisis-ebola.js +++ b/ckanext-hdx_theme/ckanext/hdx_th...
OCHA-DAP__hdx-ckan-2012
Title of the Colombia page should be "Colombia Country Page" or alike Right now the title of the [Colombia country page](https://data.hdx.rwlabs.org/group/col) is "Colombia crisis page". I think it should read "Colombia Country Page" or similar. Any ideas? ![screen shot 2014-12-11 at 12 39 13 pm](https://cloud.github...
[ { "content": "hdx_version = 'v0.5.10'\n", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
[ { "content": "hdx_version = 'v0.5.11'\n", "path": "ckanext-hdx_theme/ckanext/hdx_theme/version.py" } ]
diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/css/indicator.css b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/css/indicator.css index ebd7d5e178..82efcaf264 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/css/indicator.css +++ b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/css/indicator.css @...
pwndbg__pwndbg-381
Broken `entry` command ### Description The `entry` command pass arguments differently then the `run` command. ### Steps to reproduce ``` [dc@dc:pwndbg|dev *$%]$ gdb python Loaded 113 commands. Type pwndbg [filter] for a list. Reading symbols from python...(no debugging symbols found)...done. pwndbg> set ex...
[ { "content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nfrom __future__ import absolute_import\nfrom __future__ import division\nfrom __future__ import print_function\nfrom __future__ import unicode_literals\n\nimport gdb\n\nimport pwndbg.color as C\nimport pwndbg.events\nimport pwndbg.gdbutils\nimport pw...
[ { "content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nfrom __future__ import absolute_import\nfrom __future__ import division\nfrom __future__ import print_function\nfrom __future__ import unicode_literals\n\nimport gdb\n\nimport pwndbg.color as C\nimport pwndbg.events\nimport pwndbg.gdbutils\nimport pw...
diff --git a/pwndbg/prompt.py b/pwndbg/prompt.py index 79ff5c41925..b19e22cd3bd 100644 --- a/pwndbg/prompt.py +++ b/pwndbg/prompt.py @@ -43,4 +43,5 @@ def prompt_hook_on_stop(*a): + gdb.prompt_hook = prompt_hook
google__pytype-251
Add test_data to MANIFEST.in This PR also needs to be imported and re-exported rather than merged directly. I'm planning to use this one to test the import process fix I sent you. Fixes https://github.com/google/pytype/issues/245.
[ { "content": "# pylint: skip-file\n__version__ = '2019.02.13'\n", "path": "pytype/__version__.py" } ]
[ { "content": "# pylint: skip-file\n__version__ = '2019.03.01'\n", "path": "pytype/__version__.py" } ]
diff --git a/CHANGELOG b/CHANGELOG index ea9c93ba0..6fd775fcc 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,4 @@ -Version (upcoming) +Version 2019.03.01 * Make pytype's type stubs loadable in Python 3.4. Version 2019.02.13 diff --git a/MANIFEST.in b/MANIFEST.in index dc42ced06..b300bb485 100644 --- a/MANIFEST.i...
sbi-dev__sbi-31
Move tests to top folder
[ { "content": "# content of test_compute.py\n\n\ndef test_compute(param1):\n assert param1 < 4", "path": "sbi/dummytests/whateverstuff.py" } ]
[ { "content": null, "path": "sbi/dummytests/whateverstuff.py" } ]
diff --git a/lfi/tests/linearGaussian_test.py b/lfi/tests/linearGaussian_test.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/sbi/dummytests/conftest.py b/sbi/dummytests/conftest.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/sbi/dummytests/whateverstuff.py b/sbi/dummytests/what...
django__channels-1548
Version 3.0 TODOs: - [x] v3 Consumers need as_view() equivalent. (Issue: #1531 PR: #1532) - [x] Update documentation. - [x] Deprecate `AsgiHandler` & not specifying `"http"` key to `ProtocolTypeHandler` #1541 - [x] Simplify BaseMiddleware #1535 - [x] Daphe https://github.com/django/daphne/pull/275 ? - [x] cha...
[ { "content": "__version__ = \"2.4.0\"\n\ntry:\n import django\n\n if django.VERSION < (3, 2):\n default_app_config = \"channels.apps.ChannelsConfig\"\nexcept ModuleNotFoundError:\n pass\n\nDEFAULT_CHANNEL_LAYER = \"default\"\n", "path": "channels/__init__.py" } ]
[ { "content": "__version__ = \"3.0.0\"\n\ntry:\n import django\n\n if django.VERSION < (3, 2):\n default_app_config = \"channels.apps.ChannelsConfig\"\nexcept ModuleNotFoundError:\n pass\n\nDEFAULT_CHANNEL_LAYER = \"default\"\n", "path": "channels/__init__.py" } ]
diff --git a/CHANGELOG.txt b/CHANGELOG.txt index e15a783b7..01dd716ec 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,13 +1,14 @@ Full release notes, with more details and upgrade information, are available at: https://channels.readthedocs.io/en/latest/releases -3.0.0 (UNRELEASED) +3.0.0 (2020-10-30) --------...
django__channels-1560
type in deploying.rst I believe there is a typo in deploying.rst after "http": get_asgi_application() there should be a comma ``` import os from channels.auth import AuthMiddlewareStack from channels.routing import ProtocolTypeRouter, URLRouter from django.conf.urls import url from django.core.asgi i...
[ { "content": "__version__ = \"3.0.0\"\n\ntry:\n import django\n\n if django.VERSION < (3, 2):\n default_app_config = \"channels.apps.ChannelsConfig\"\nexcept ModuleNotFoundError:\n pass\n\nDEFAULT_CHANNEL_LAYER = \"default\"\n", "path": "channels/__init__.py" } ]
[ { "content": "__version__ = \"3.0.1\"\n\ntry:\n import django\n\n if django.VERSION < (3, 2):\n default_app_config = \"channels.apps.ChannelsConfig\"\nexcept ModuleNotFoundError:\n pass\n\nDEFAULT_CHANNEL_LAYER = \"default\"\n", "path": "channels/__init__.py" } ]
diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 01dd716ec..1f983942b 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,6 +1,13 @@ Full release notes, with more details and upgrade information, are available at: https://channels.readthedocs.io/en/latest/releases +3.0.1 (2020-11-4) +----------------- + +* Fixes a...
RedHatInsights__insights-core-3114
Futures python module is included in Python3 Insights-core currently installs the [futures module](https://pypi.org/project/futures/) in all cases for the [development] target in [setup.py](https://github.com/RedHatInsights/insights-core/blob/7dc392df90a2535014cc1ec7f5df9c03a9d3d95d/setup.py#L64). This module is only ...
[ { "content": "import os\nimport sys\nfrom setuptools import setup, find_packages\n\n__here__ = os.path.dirname(os.path.abspath(__file__))\n\npackage_info = dict.fromkeys([\"RELEASE\", \"COMMIT\", \"VERSION\", \"NAME\"])\n\nfor name in package_info:\n with open(os.path.join(__here__, \"insights\", name)) as f...
[ { "content": "import os\nimport sys\nfrom setuptools import setup, find_packages\n\n__here__ = os.path.dirname(os.path.abspath(__file__))\n\npackage_info = dict.fromkeys([\"RELEASE\", \"COMMIT\", \"VERSION\", \"NAME\"])\n\nfor name in package_info:\n with open(os.path.join(__here__, \"insights\", name)) as f...
diff --git a/setup.py b/setup.py index 3f99b04179..22227bd564 100644 --- a/setup.py +++ b/setup.py @@ -61,7 +61,6 @@ def maybe_require(pkg): ]) develop = set([ - 'futures==3.0.5', 'wheel', ])
horovod__horovod-3745
No module named 'packaging' when install horovod It seems that the horovod v0.26.0 has some dependency problems. How long does it take for a new patch version to be released or should I pin the horovod version? ^_^ ![image](https://user-images.githubusercontent.com/32220263/195746141-2a0050f5-1eaf-4f7b-9a62-50fd6...
[ { "content": "from horovod.runner import run\n\n__version__ = '0.26.0'\n", "path": "horovod/__init__.py" } ]
[ { "content": "from horovod.runner import run\n\n__version__ = '0.26.1'\n", "path": "horovod/__init__.py" } ]
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ddb15c327..ef684bee93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,8 +16,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Fixed -- Fixed packaging import during install to occur after install_requires. ([#3741](https:/...
hpcaitech__ColossalAI-2007
[BUG]: ModuleNotFoundError: No module named 'colossalai.nn.optimizer.zero_optimizer' ### 🐛 Describe the bug I install colossalAI with the command `pip install colossalai==0.1.11rc3+torch1.12cu11.3 -f https://release.colossalai.org` But I get an error when follow https://github.com/hpcaitech/ColossalAI/tree/main/ex...
[ { "content": "from .initialize import (\n get_default_parser,\n initialize,\n launch,\n launch_from_openmpi,\n launch_from_slurm,\n launch_from_torch,\n)\n\n__version__ = '0.1.11rc2'\n", "path": "colossalai/__init__.py" } ]
[ { "content": "from .initialize import (\n get_default_parser,\n initialize,\n launch,\n launch_from_openmpi,\n launch_from_slurm,\n launch_from_torch,\n)\n\n__version__ = '0.1.11rc4'\n", "path": "colossalai/__init__.py" } ]
diff --git a/colossalai/__init__.py b/colossalai/__init__.py index 91df73fa97f3..ff65f0f9c5ed 100644 --- a/colossalai/__init__.py +++ b/colossalai/__init__.py @@ -7,4 +7,4 @@ launch_from_torch, ) -__version__ = '0.1.11rc2' +__version__ = '0.1.11rc4' diff --git a/version.txt b/version.txt index 30e1f7f599a0..bea...
Zeroto521__my-data-toolkit-543
PERF: `to_set` speeds up especial for large data <!-- Thanks for contributing a pull request! Please follow these standard acronyms to start the commit message: - ENH: enhancement - BUG: bug fix - DOC: documentation - TYP: type annotations - TST: addition or modification of tests - MAINT: maintenance commit...
[ { "content": "import pandas as pd\n\nfrom dtoolkit.accessor.register import register_index_method\n\n\n@register_index_method\ndef to_set(index: pd.Index) -> set:\n \"\"\"\n Return a :keyword:`set` of the values.\n\n A sugary syntax wraps :keyword:`set`::\n\n set(index)\n\n Different to :meth...
[ { "content": "import pandas as pd\n\nfrom dtoolkit.accessor.register import register_index_method\n\n\n@register_index_method\ndef to_set(index: pd.Index) -> set:\n \"\"\"\n Return a :keyword:`set` of the values.\n\n A sugary syntax wraps :keyword:`set`::\n\n set(index)\n\n Different to :meth...
diff --git a/dtoolkit/accessor/index/to_set.py b/dtoolkit/accessor/index/to_set.py index eac96e5d6..4c990fe2a 100644 --- a/dtoolkit/accessor/index/to_set.py +++ b/dtoolkit/accessor/index/to_set.py @@ -33,4 +33,4 @@ def to_set(index: pd.Index) -> set: {1, 2} """ - return set(index) + return set(index.u...
nautobot__nautobot-3317
Remove legacy `manage.py` <!-- NOTE: This template is for use by maintainers only. Please do not submit an issue using this template unless you have been specifically asked to do so. --> ### Proposed Changes Simply remove `manage.py` from the project root. <!-- Provide justification for the prop...
[ { "content": "#!/usr/bin/env python3\n\nimport sys\n\nfrom nautobot.core.cli import main\n\n\nif __name__ == \"__main__\":\n main()\n", "path": "manage.py" } ]
[ { "content": null, "path": "manage.py" } ]
diff --git a/changes/1634.removed b/changes/1634.removed new file mode 100644 index 00000000000..65b8eff5805 --- /dev/null +++ b/changes/1634.removed @@ -0,0 +1 @@ +Removed unnecessary legacy `manage.py` file from Nautobot repository. diff --git a/manage.py b/manage.py deleted file mode 100755 index 9a4e2b483b3..000000...
netket__netket-214
module 'netket' has no attribute 'MPI' With the merge #193 we have lost the MPI module
[ { "content": "# Copyright 2019 The Simons Foundation, Inc. - All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE...
[ { "content": "# Copyright 2019 The Simons Foundation, Inc. - All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e13776db7..d640c75c9f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -222,7 +222,8 @@ add_library(netket MODULE Sources/pynetket.cc Sources/Dynamics/py_dynamics.cpp Sources/Machine/rbm_multival.cc Sources/Machine/rbm_spin_phase.cc Sources/Machine/rbm_sp...
pennersr__django-allauth-106
Make it easier for people to set config variables when running the example application It could be easier to configure the example without needing to touch repo code.
[ { "content": "# Django settings for example project.\nimport os\n\nPROJECT_ROOT = os.path.normpath(os.path.dirname(os.path.abspath(__file__)))\n\nDEBUG = True\nTEMPLATE_DEBUG = DEBUG\n\nADMINS = (\n # ('Your Name', 'your_email@example.com'),\n)\n\nMANAGERS = ADMINS\n\nDATABASES = {\n 'default': {\n ...
[ { "content": "# Django settings for example project.\nimport os\n\nPROJECT_ROOT = os.path.normpath(os.path.dirname(os.path.abspath(__file__)))\n\nDEBUG = True\nTEMPLATE_DEBUG = DEBUG\n\nADMINS = (\n # ('Your Name', 'your_email@example.com'),\n)\n\nMANAGERS = ADMINS\n\nDATABASES = {\n 'default': {\n ...
diff --git a/.gitignore b/.gitignore index 75c5d55afc..959cf43aae 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ docs/_build build dist django_allauth.egg-info +example/local_settings.py diff --git a/example/local_settings.example b/example/local_settings.example new file mode 100644 index 0000000000..072f...
open-telemetry__opentelemetry-python-1889
Run tests on Windows in CI
[ { "content": "# Copyright The OpenTelemetry Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by...
[ { "content": "# Copyright The OpenTelemetry Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by...
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f66ad7dbbb4..de0c43cd8c3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ env: # Otherwise, set variable to the commit of your branch on # opentelemetry-python-contrib which is compatible with thes...
MongoEngine__mongoengine-2424
When will be new release? When are you planning a new release? Some features has been added since last one in May. Thanks!
[ { "content": "# Import submodules so that we can expose their __all__\nfrom mongoengine import connection\nfrom mongoengine import document\nfrom mongoengine import errors\nfrom mongoengine import fields\nfrom mongoengine import queryset\nfrom mongoengine import signals\n\n# Import everything from each submodul...
[ { "content": "# Import submodules so that we can expose their __all__\nfrom mongoengine import connection\nfrom mongoengine import document\nfrom mongoengine import errors\nfrom mongoengine import fields\nfrom mongoengine import queryset\nfrom mongoengine import signals\n\n# Import everything from each submodul...
diff --git a/docs/changelog.rst b/docs/changelog.rst index 1ef42232a..247bd8ef2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -6,18 +6,23 @@ Changelog Development =========== - (Fill this out as you fix issues and develop your features). + +Changes in 0.21.0 +================= - Bug fix in DynamicDocu...
aws-cloudformation__cfn-lint-2249
E3002 Invalid Property Lambda/Properties/EphemeralStorage *cfn-lint version: (`cfn-lint --version`)* `cfn-lint 0.58.4` *Description of issue.* Looks like it does not yet recognize `EphemeralStorage` as a valid property for lambdas ```yml Lambda: Type: AWS::Lambda::Function Properties: Role: !G...
[ { "content": "\"\"\"\nCopyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\nSPDX-License-Identifier: MIT-0\n\"\"\"\n\n__version__ = '0.58.4'\n", "path": "src/cfnlint/version.py" } ]
[ { "content": "\"\"\"\nCopyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\nSPDX-License-Identifier: MIT-0\n\"\"\"\n\n__version__ = '0.59.0'\n", "path": "src/cfnlint/version.py" } ]
diff --git a/CHANGELOG.md b/CHANGELOG.md index a48a7a412c..2e2d92c56c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +### v0.59.0 +###### Features +- Update `aws-sam-translator` to `1.45.0` (pull #[2245](https://github.com/aws-cloudformation/cfn-lint/pull/2245)) +- Remove dependency on `six` (pull #[2204...
aws-cloudformation__cfn-lint-1456
AWS::AutoScaling::AutoScalingGroup MaxInstanceLifetime Validation *cfn-lint version: 0.29.2* *Description of issue.* When using the parameter `MaxInstanceLifetime` for `AWS::AutoScaling::AutoScalingGroup` we are hit with the following lint error: ``` $ cfn-lint templates/proj/rgs/rgs_autoscale_stretch_elb.yml...
[ { "content": "\"\"\"\nCopyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.\nSPDX-License-Identifier: MIT-0\n\"\"\"\n\n__version__ = '0.29.3'\n", "path": "src/cfnlint/version.py" } ]
[ { "content": "\"\"\"\nCopyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.\nSPDX-License-Identifier: MIT-0\n\"\"\"\n\n__version__ = '0.29.4'\n", "path": "src/cfnlint/version.py" } ]
diff --git a/CHANGELOG.md b/CHANGELOG.md index 63c3b1db44..ebb0c692b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +### v0.29.4 +###### Features +- Add `--build-graph` parameter to create a graph of dependencies (pull #[1411](https://github.com/aws-cloudformation/cfn-python-lint/pull/1411)) +###### Clo...
mlflow__mlflow-2797
[SETUP-BUG] ResolvePackageNotFound - python=3.5.2 Thank you for submitting an issue. Please refer to our [issue policy](https://www.github.com/mlflow/mlflow/blob/master/ISSUE_POLICY.md) for information on what types of issues we address. Please fill in this template and do not delete it unless you are sure your i...
[ { "content": "import yaml\n\nfrom mlflow.utils import PYTHON_VERSION\n\n_conda_header = \"\"\"\\\nname: mlflow-env\nchannels:\n - defaults\n\"\"\"\n\n\ndef _mlflow_conda_env(path=None, additional_conda_deps=None, additional_pip_deps=None,\n additional_conda_channels=None, install_mlflow=Tr...
[ { "content": "import yaml\n\nfrom mlflow.utils import PYTHON_VERSION\n\n_conda_header = \"\"\"\\\nname: mlflow-env\nchannels:\n - defaults\n - conda-forge\n\"\"\"\n\n\ndef _mlflow_conda_env(path=None, additional_conda_deps=None, additional_pip_deps=None,\n additional_conda_channels=None, ...
diff --git a/mlflow/utils/environment.py b/mlflow/utils/environment.py index ea67cf5ae1622..439c728201901 100644 --- a/mlflow/utils/environment.py +++ b/mlflow/utils/environment.py @@ -6,6 +6,7 @@ name: mlflow-env channels: - defaults + - conda-forge """
googleapis__google-api-python-client-1864
Stop using external 'mock' dependency As of Python 3.4, 'mock' is included in the standard library under the unittest module, and since the lowest supported version of Python is greater than that, we can remove the external dependency.
[ { "content": "# Copyright 2020 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicab...
[ { "content": "# Copyright 2020 Google LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicab...
diff --git a/noxfile.py b/noxfile.py index 2e2e03abc3a..fda6416526f 100644 --- a/noxfile.py +++ b/noxfile.py @@ -42,7 +42,6 @@ "pytest-cov", "webtest", "coverage", - "mock", ] diff --git a/tests/test__auth.py b/tests/test__auth.py index 6809647b785..8b6b5624032 100644 --- a/tests/test__auth.py ++...
airctic__icevision-995
Fix installation in documentation • Improve Installation Guide We need to improve the installation guide for IceVision. Too many people are getting stuck installing the library. We need clear instructions for: * Colab * MacOS * Windows (WSL2) * Ubuntu
[ { "content": "from setuptools import setup\n\nif __name__ == \"__main__\":\n setup()\n", "path": "setup.py" } ]
[ { "content": "from setuptools import setup\n\n\nif __name__ == \"__main__\":\n setup()\n", "path": "setup.py" } ]
diff --git a/.github/workflows/build-pkg.yml b/.github/workflows/build-pkg.yml index c7b712657..e0a50562c 100644 --- a/.github/workflows/build-pkg.yml +++ b/.github/workflows/build-pkg.yml @@ -23,6 +23,6 @@ jobs: - name: Install package run: | - pip install numpy +# pip install numpy...
StackStorm__st2-5104
Add version string to st2tests to make it installable Prior to this change, this will fail: cd st2tests/st2tests pip install . After this change that command successfully installs the `st2tests` package. This will also work for installing via GitHub as in: pip install -e git+https://github.com/Sta...
[ { "content": "# Copyright 2020 The StackStorm Authors.\n# Copyright 2019 Extreme Networks, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/l...
[ { "content": "# Copyright 2020 The StackStorm Authors.\n# Copyright 2019 Extreme Networks, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/l...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2c28d8551e..1edeb2b090 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -29,6 +29,9 @@ Changed Fixed ~~~~~~~~~ +* Fixed issue were st2tests was not getting installed using pip because no version was specified. + Contributed by @anirudhbagri + * Added monkey patc...
sonic-net__sonic-utilities-2090
sonic-installer install fails in armhf <!-- If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue inste...
[ { "content": "\"\"\"\nBootloader implementation for uboot based platforms\n\"\"\"\n\nimport platform\nimport subprocess\n\nimport click\n\nfrom ..common import (\n HOST_PATH,\n IMAGE_DIR_PREFIX,\n IMAGE_PREFIX,\n run_command,\n)\nfrom .onie import OnieInstallerBootloader\n\nclass UbootBootloader(OnieIns...
[ { "content": "\"\"\"\nBootloader implementation for uboot based platforms\n\"\"\"\n\nimport platform\nimport subprocess\nimport os\n\nimport click\n\nfrom ..common import (\n HOST_PATH,\n IMAGE_DIR_PREFIX,\n IMAGE_PREFIX,\n run_command,\n)\nfrom .onie import OnieInstallerBootloader\n\nclass UbootBootloa...
diff --git a/sonic_installer/bootloader/uboot.py b/sonic_installer/bootloader/uboot.py index cb6c756091..bc4b98daeb 100644 --- a/sonic_installer/bootloader/uboot.py +++ b/sonic_installer/bootloader/uboot.py @@ -4,6 +4,7 @@ import platform import subprocess +import os import click
nextcloud__appstore-67
After clicking confirm button I got a 404 - click the confirm link in the email - click the button on that page - getting redirected to https://.../accounts/login/ instead of https://.../login/ which is not available cc @BernhardPosselt @adsworth
[ { "content": "\"\"\"\nDjango settings for nextcloudappstore project.\n\nGenerated by 'django-admin startproject' using Django 1.9.6.\n\nFor more information on this file, see\nhttps://docs.djangoproject.com/en/1.9/topics/settings/\n\nFor the full list of settings and their values, see\nhttps://docs.djangoprojec...
[ { "content": "\"\"\"\nDjango settings for nextcloudappstore project.\n\nGenerated by 'django-admin startproject' using Django 1.9.6.\n\nFor more information on this file, see\nhttps://docs.djangoproject.com/en/1.9/topics/settings/\n\nFor the full list of settings and their values, see\nhttps://docs.djangoprojec...
diff --git a/nextcloudappstore/settings/base.py b/nextcloudappstore/settings/base.py index e46c163dd2c..07b5c6b412b 100644 --- a/nextcloudappstore/settings/base.py +++ b/nextcloudappstore/settings/base.py @@ -188,3 +188,4 @@ NOCAPTCHA = True LOGIN_REDIRECT_URL = 'home' +LOGIN_URL = 'account_login'
ipython__ipython-5701
Move ssh out of external and into lib This module does not belong in external - it cannot be replaced by an external system module.
[ { "content": "", "path": "IPython/external/ssh/__init__.py" } ]
[ { "content": "\"\"\"This is a copy of zmq.ssh\"\"\"\n\ntry:\n from zmq.ssh import *\nexcept ImportError:\n from . import tunnel\n from .tunnel import *\n", "path": "IPython/external/ssh/__init__.py" } ]
diff --git a/IPython/external/ssh/__init__.py b/IPython/external/ssh/__init__.py index e69de29bb2d..9e5e8b9c070 100644 --- a/IPython/external/ssh/__init__.py +++ b/IPython/external/ssh/__init__.py @@ -0,0 +1,7 @@ +"""This is a copy of zmq.ssh""" + +try: + from zmq.ssh import * +except ImportError: + from . import...
Project-MONAI__MONAI-2568
Missing `return` in `__call__` of transforms: `SaveImage`, `NiftiSaver` and `PNGSaver` **To Reproduce** Steps to reproduce the behavior: ``` from monai.transforms import SaveImage, Compose saver = Compose([SaveImage(output_dir="./output", output_ext=".png", output_postfix="seg")]) img = torch.randn([3, 32, 32]) ...
[ { "content": "# Copyright 2020 - 2021 MONAI Consortium\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# http://www.apache.org/licenses/LICENSE-2.0\n# Unless required by appli...
[ { "content": "# Copyright 2020 - 2021 MONAI Consortium\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# http://www.apache.org/licenses/LICENSE-2.0\n# Unless required by appli...
diff --git a/monai/transforms/io/array.py b/monai/transforms/io/array.py index d902300ecb..2b87b76a48 100644 --- a/monai/transforms/io/array.py +++ b/monai/transforms/io/array.py @@ -289,3 +289,5 @@ def __call__(self, img: Union[torch.Tensor, np.ndarray], meta_data: Optional[Dic """ self.saver.save(...
kartoza__prj.app-1156
Sign up link for certification is broken when not logged in IF a user visits https://changelog.qgis.org/en/qgis/create-certifyingorganisation/ and they are not logged in, they get redirected to the front page. They should instead get shown a page asking them to log / create an account first and then get redirected back...
[ { "content": "# coding=utf-8\n\n\"\"\"Project level settings.\n\nAdjust these values as needed but don't commit passwords etc. to any public\nrepository!\n\"\"\"\n\nimport os # noqa\nfrom django.utils.translation import ugettext_lazy as _\nfrom .utils import absolute_path\nfrom .contrib import * # noqa\n\n# P...
[ { "content": "# coding=utf-8\n\n\"\"\"Project level settings.\n\nAdjust these values as needed but don't commit passwords etc. to any public\nrepository!\n\"\"\"\n\nimport os # noqa\nfrom django.utils.translation import ugettext_lazy as _\nfrom .utils import absolute_path\nfrom .contrib import * # noqa\n\n# P...
diff --git a/django_project/core/settings/project.py b/django_project/core/settings/project.py index 64fc1cd4e..696ea42b8 100644 --- a/django_project/core/settings/project.py +++ b/django_project/core/settings/project.py @@ -84,3 +84,4 @@ ] EMAIL_HOST_USER = 'noreply@kartoza.com' +LOGIN_URL = '/en/accounts/login/'
streamlit__streamlit-3038
Dark theme does not properly adjust markdown tables ### Summary When I load the latest streamlit in darkmode I cannot see anything in my markdown tables because the text color is changed but not the background color. ### Steps to reproduce Code snippet: ``` md = """ | Label | Info | | --------...
[ { "content": "# Copyright 2018-2021 Streamlit Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by a...
[ { "content": "# Copyright 2018-2021 Streamlit Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by a...
diff --git a/e2e/scripts/st_markdown.py b/e2e/scripts/st_markdown.py index 9e938f15efb5..e17c08001458 100644 --- a/e2e/scripts/st_markdown.py +++ b/e2e/scripts/st_markdown.py @@ -35,3 +35,11 @@ $$ """ ) + +st.markdown( + """ +| Col1 | Col2 | +| --------- | ----------- | +| Some | Data | +"...
wright-group__WrightTools-221
make setup.py an executable script Change file permissions and reformat the shebang line
[ { "content": "# !/usr/bin/env python\n\nimport os\nfrom setuptools import setup, find_packages\n\n\ndef package_files(directory):\n paths = []\n for (path, directories, filenames) in os.walk(directory):\n for filename in filenames:\n paths.append(os.path.join('..', path, filename))\n ...
[ { "content": "#! /usr/bin/env python\n\nimport os\nfrom setuptools import setup, find_packages\n\n\ndef package_files(directory):\n paths = []\n for (path, directories, filenames) in os.walk(directory):\n for filename in filenames:\n paths.append(os.path.join('..', path, filename))\n ...
diff --git a/setup.py b/setup.py old mode 100644 new mode 100755 index 99df28160..94dceb8dd --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# !/usr/bin/env python +#! /usr/bin/env python import os from setuptools import setup, find_packages
python-discord__site-268
Ugly prefix on all ID links. Currently, all the headers that are created by the wiki will have id's that are prefixed with `wiki-toc`. As such, when you want to link a header, the link will look something like https://pythondiscord.com/pages/contributing/site/#wiki-toc-development-environment. It would be better if ...
[ { "content": "", "path": "pydis_site/__init__.py" } ]
[ { "content": "from wiki.plugins.macros.mdx import toc\n\n# Remove the toc header prefix. There's no option for this, so we gotta monkey patch it.\ntoc.HEADER_ID_PREFIX = ''\n", "path": "pydis_site/__init__.py" } ]
diff --git a/pydis_site/__init__.py b/pydis_site/__init__.py index e69de29bb..c6146450c 100644 --- a/pydis_site/__init__.py +++ b/pydis_site/__init__.py @@ -0,0 +1,4 @@ +from wiki.plugins.macros.mdx import toc + +# Remove the toc header prefix. There's no option for this, so we gotta monkey patch it. +toc.HEADER_ID_PRE...
zestedesavoir__zds-site-6179
Retirer les dernier restes de Travis **Description du bug** J'ai l'impression qu'il reste quelques miettes de Travis : * https://github.com/zestedesavoir/zds-site/blob/dev/zds/settings/travis_fixture.py * https://github.com/zestedesavoir/zds-site/blob/fe854d9b006e5ca500a911c48e3b25b11154d926/scripts/define_funct...
[ { "content": "from .ci_test import *\n\nLOGGING[\"loggers\"][\"zds.utils.templatetags.emarkdown\"] = {\n \"level\": \"INFO\",\n \"handlers\": [\"console\"],\n}\n", "path": "zds/settings/travis_fixture.py" } ]
[ { "content": null, "path": "zds/settings/travis_fixture.py" } ]
diff --git a/scripts/define_function.sh b/scripts/define_function.sh index 9a1a02ae68..4de1ad6f0f 100755 --- a/scripts/define_function.sh +++ b/scripts/define_function.sh @@ -10,125 +10,6 @@ function _in { } -## travis code -# https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/bash/travis_fold....
conda-forge__conda-smithy-1140
Not compatible with ruamel.yaml 0.16 Fails with, ``` Traceback (most recent call last): File "/home/travis/miniconda/bin/conda-smithy", line 10, in <module> sys.exit(main()) File "/home/travis/miniconda/lib/python3.7/site-packages/conda_smithy/cli.py", line 470, in main args.subcommand_func(...
[ { "content": "import shutil\nimport tempfile\nimport jinja2\nimport datetime\nimport time\nimport os\nimport sys\nfrom collections import defaultdict\nfrom contextlib import contextmanager\n\nimport ruamel.yaml\n\n\n# define global yaml API\n# roundrip-loader and allowing duplicate keys\n# for handling # [filte...
[ { "content": "import shutil\nimport tempfile\nimport jinja2\nimport datetime\nimport time\nimport os\nimport sys\nfrom collections import defaultdict\nfrom contextlib import contextmanager\n\nimport ruamel.yaml\n\n\n# define global yaml API\n# roundrip-loader and allowing duplicate keys\n# for handling # [filte...
diff --git a/conda_smithy/utils.py b/conda_smithy/utils.py index 0d115daac..5036798db 100644 --- a/conda_smithy/utils.py +++ b/conda_smithy/utils.py @@ -88,5 +88,4 @@ def update_conda_forge_config(feedstock_directory): yield code - with open(forge_yaml, "w") as fh: - fh.write(yaml.dump(code)) + ya...
archlinux__archinstall-1300
Archinstall discover shop non-functional. Hello, I have installed Arch with archinstall twice now, selected the desktop option then KDE but I noticed that by default the "Discover" shop does not want to function I have to download the packagekit-qt5 package then it functions. Just wanted to let you know. Archins...
[ { "content": "# A desktop environment using \"KDE\".\n\nimport archinstall\n\nis_top_level_profile = False\n\n__packages__ = [\n\t\"plasma-meta\",\n\t\"konsole\",\n\t\"kwrite\",\n\t\"dolphin\",\n\t\"ark\",\n\t\"sddm\",\n\t\"plasma-wayland-session\",\n\t\"egl-wayland\",\n]\n\n\n# TODO: Remove hard dependency of ...
[ { "content": "# A desktop environment using \"KDE\".\n\nimport archinstall\n\nis_top_level_profile = False\n\n__packages__ = [\n\t\"plasma-meta\",\n\t\"konsole\",\n\t\"kwrite\",\n\t\"dolphin\",\n\t\"ark\",\n\t\"sddm\",\n\t\"plasma-wayland-session\",\n\t\"egl-wayland\",\n\t\"packagekit-qt5\",\n]\n\n\n# TODO: Rem...
diff --git a/profiles/kde.py b/profiles/kde.py index 9edbe32561..3de2dbad77 100644 --- a/profiles/kde.py +++ b/profiles/kde.py @@ -13,6 +13,7 @@ "sddm", "plasma-wayland-session", "egl-wayland", + "packagekit-qt5", ]
bokeh__bokeh-8537
Docs tweak to add note about BOKEH_DEV and apps Make clearer need to change BOKEH_RESOURCES too.
[ { "content": "#-----------------------------------------------------------------------------\n# Copyright (c) 2012 - 2018, Anaconda, Inc. All rights reserved.\n#\n# Powered by the Bokeh Development Team.\n#\n# The full license is in the file LICENSE.txt, distributed with this software.\n#-----------------------...
[ { "content": "#-----------------------------------------------------------------------------\n# Copyright (c) 2012 - 2018, Anaconda, Inc. All rights reserved.\n#\n# Powered by the Bokeh Development Team.\n#\n# The full license is in the file LICENSE.txt, distributed with this software.\n#-----------------------...
diff --git a/bokeh/resources.py b/bokeh/resources.py index 0058906919b..ae55cbc80ac 100644 --- a/bokeh/resources.py +++ b/bokeh/resources.py @@ -516,5 +516,8 @@ def mk_url(comp, kind): __all__ = ( 'CDN', - 'INLINE' + 'INLINE', + 'Resources', + 'JSResources', + 'CSSResources', ) diff --git a/sphi...
feast-dev__feast-3755
Redis version in setup.py contains fixable vulnerabilities ## Expected Behaviour ## Current Behaviour: trivvy scanning of our feature server container is failing due to the fixed version of redis in setup.py (4.2.2) - it looks this version hasn't been updated in a year. ![Screenshot 2023-08-31 at 10 41 11](htt...
[ { "content": "# Copyright 2019 The Feast Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by a...
[ { "content": "# Copyright 2019 The Feast Authors\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by a...
diff --git a/sdk/python/requirements/py3.10-ci-requirements.txt b/sdk/python/requirements/py3.10-ci-requirements.txt index cb72fdaa350..a59553b4ac8 100644 --- a/sdk/python/requirements/py3.10-ci-requirements.txt +++ b/sdk/python/requirements/py3.10-ci-requirements.txt @@ -180,8 +180,6 @@ decorator==5.1.1 # ipyth...
cookiecutter__cookiecutter-1712
CI/CD: Verify .pre-commit-config.yaml use latest hooks versions
[ { "content": "#!/usr/bin/env python\n\"\"\"cookiecutter distutils configuration.\"\"\"\nfrom setuptools import setup\n\nversion = \"2.1.2.dev0\"\n\nwith open('README.md', encoding='utf-8') as readme_file:\n readme = readme_file.read()\n\nrequirements = [\n 'binaryornot>=0.4.4',\n 'Jinja2>=2.7,<4.0.0',\...
[ { "content": "\"\"\"cookiecutter distutils configuration.\"\"\"\nfrom setuptools import setup\n\nversion = \"2.1.2.dev0\"\n\nwith open('README.md', encoding='utf-8') as readme_file:\n readme = readme_file.read()\n\nrequirements = [\n 'binaryornot>=0.4.4',\n 'Jinja2>=2.7,<4.0.0',\n 'click>=7.0,<9.0.0...
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7be7e3bb8..96d89ad9a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- repos: - repo: https://github.com/PyCQA/doc8 - rev: 0.8.1 + rev: 0.11.2 hooks: - id: doc8 name: doc8 @@ -17,17 ...
scrapy__scrapy-4563
Extend hoverxref_roles @humitos [suggested](https://github.com/scrapy/scrapy/issues/4475#issuecomment-613350667) extending the `hoverxref_roles` setting of the corresponding Sphinx extension so that the display-on-hover behavior of the documentations works for things like signal or setting references.
[ { "content": "# Scrapy documentation build configuration file, created by\n# sphinx-quickstart on Mon Nov 24 12:02:52 2008.\n#\n# This file is execfile()d with the current directory set to its containing dir.\n#\n# The contents of this file are pickled, so don't put values in the namespace\n# that aren't pickle...
[ { "content": "# Scrapy documentation build configuration file, created by\n# sphinx-quickstart on Mon Nov 24 12:02:52 2008.\n#\n# This file is execfile()d with the current directory set to its containing dir.\n#\n# The contents of this file are pickled, so don't put values in the namespace\n# that aren't pickle...
diff --git a/docs/README.rst b/docs/README.rst index 0a343cd1966..0b7afa5486b 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -57,3 +57,12 @@ There is a way to recreate the doc automatically when you make changes, you need to install watchdog (``pip install watchdog``) and then use:: make watch + +Alterna...
magenta__magenta-1254
Pip installation fails due to librosa dependency Hi, I'm trying to install the magenta-gpu but when I did a pip install magenta-gpu: **librosa 0.6.2 has requirement joblib>=0.12, but you'll have joblib 0.11 which is incompatible.**
[ { "content": "# Copyright 2016 Google Inc. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless ...
[ { "content": "# Copyright 2016 Google Inc. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless ...
diff --git a/magenta/version.py b/magenta/version.py index f8a8ff848a..ad2e7a2c4c 100644 --- a/magenta/version.py +++ b/magenta/version.py @@ -17,4 +17,4 @@ pulling in all the dependencies in __init__.py. """ -__version__ = '0.3.10' +__version__ = '0.3.11'
typeddjango__django-stubs-1391
Bump mypy from 1.0.1 to 1.1.1 Bumps [mypy](https://github.com/python/mypy) from 1.0.1 to 1.1.1. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python/mypy/commit/9b777a36315b1ba24ab840f9f905cfb6c82e35a9"><code>9b777a3</code></a> bump version to 1.1.1 for wheels build</li> <li><a href="https:/...
[ { "content": "import os\nfrom typing import List\n\nfrom setuptools import find_packages, setup\n\n\ndef find_stub_files(name: str) -> List[str]:\n result = []\n for root, _dirs, files in os.walk(name):\n for file in files:\n if file.endswith(\".pyi\"):\n if os.path.sep in...
[ { "content": "import os\nfrom typing import List\n\nfrom setuptools import find_packages, setup\n\n\ndef find_stub_files(name: str) -> List[str]:\n result = []\n for root, _dirs, files in os.walk(name):\n for file in files:\n if file.endswith(\".pyi\"):\n if os.path.sep in...
diff --git a/django-stubs/utils/datastructures.pyi b/django-stubs/utils/datastructures.pyi index 4c7fd669e..c518c7268 100644 --- a/django-stubs/utils/datastructures.pyi +++ b/django-stubs/utils/datastructures.pyi @@ -65,7 +65,10 @@ class MultiValueDict(dict[_K, _V]): def get(self, key: _K, default: _Z = ...) -> _V...
Anselmoo__spectrafit-655
[Docs]: Using builtin release drafter ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Missing Information in the Docs https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes ### Anything else? _No response_ ### Code ...
[ { "content": "\"\"\"SpectraFit, fast command line tool for fitting data.\"\"\"\n__version__ = \"0.16.4\"\n", "path": "spectrafit/__init__.py" } ]
[ { "content": "\"\"\"SpectraFit, fast command line tool for fitting data.\"\"\"\n__version__ = \"1.0.0a0\"\n", "path": "spectrafit/__init__.py" } ]
diff --git a/.github/labeler.yml b/.github/labeler.yml index 27adb937f..2edf7aae6 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -37,9 +37,10 @@ maintenance: - LICENSE - CHANGELOG.md - CODE_OF_CONDUCT.md - - CONTRIBUTING.md - "SECURITY.md" - .pre-commit-config.yaml - .prettierignore ...
ManimCommunity__manim-1597
Dont import `hilite_me` and `insert_line_numbers_in_html` with `from manim import *` https://github.com/ManimCommunity/manim/blob/199424d713c77fca6f59de58ba0f8eb3955bfab1/manim/mobject/svg/code_mobject.py#L6 The functions `hilite_me` and `insert_line_numbers_in_html` are currently imported with `from manim import *`...
[ { "content": "\"\"\"Mobject representing highlighted source code listings.\"\"\"\n\n__all__ = [\n \"Code\",\n \"hilite_me\",\n \"insert_line_numbers_in_html\",\n]\n\nimport html\nimport os\nimport re\n\nimport numpy as np\nfrom pygments import highlight\nfrom pygments.formatters.html import HtmlFormatt...
[ { "content": "\"\"\"Mobject representing highlighted source code listings.\"\"\"\n\n__all__ = [\n \"Code\",\n]\n\nimport html\nimport os\nimport re\n\nimport numpy as np\nfrom pygments import highlight\nfrom pygments.formatters.html import HtmlFormatter\nfrom pygments.lexers import get_lexer_by_name, guess_l...
diff --git a/manim/mobject/svg/code_mobject.py b/manim/mobject/svg/code_mobject.py index c9646e0948..3d02f0a92c 100644 --- a/manim/mobject/svg/code_mobject.py +++ b/manim/mobject/svg/code_mobject.py @@ -2,8 +2,6 @@ __all__ = [ "Code", - "hilite_me", - "insert_line_numbers_in_html", ] import html
strawberry-graphql__strawberry-585
v0.43.0 requires pydantic, but is marked optional Attempting to start a very simple server results in: ``` $ strawberry server app Traceback (most recent call last): File "/home/ossareh/.local/share/virtualenvs/vega-IIh8dIOy/bin/strawberry", line 5, in <module> from strawberry.cli import run File "/home...
[ { "content": "from . import pydantic\n\n\n__all__ = [\"pydantic\"]\n", "path": "strawberry/experimental/__init__.py" } ]
[ { "content": "try:\n from . import pydantic\nexcept ImportError:\n pass\nelse:\n __all__ = [\"pydantic\"]\n", "path": "strawberry/experimental/__init__.py" } ]
diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 0000000000..b322fcf4e9 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,3 @@ +Release type: patch + +This releases fixes an issue with Strawberry requiring Pydantic even when not used. diff --git a/strawberry/experimental/__init__.py b/strawberry/experimental/__i...
emissary-ingress__emissary-23
Users need statsd support Ambassador needs to be able to send stats off to statsd, whatever statsd the user wants to use.
[ { "content": "# Don't change this line without also changing .bumpversion.cfg\nVersion = \"0.5.0\"\n", "path": "ambassador/VERSION.py" } ]
[ { "content": "# Don't change this line without also changing .bumpversion.cfg\nVersion = \"0.5.1\"\n", "path": "ambassador/VERSION.py" } ]
diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 68cfaafe0d..bc0421fb93 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.5.0 +current_version = 0.5.1 commit = True tag = True tag_name = v{new_version} @@ -13,9 +13,20 @@ search = 'image: .*:{current_versio...
Anselmoo__spectrafit-660
[Docs]: Update release drafter ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Missing Information in the Docs - Link to the complete changes of the latest release. - Exclude auto commits in the contributor list ### Anything else? _No response_ ### Code of Conduct ...
[ { "content": "\"\"\"SpectraFit, fast command line tool for fitting data.\"\"\"\n__version__ = \"1.0.0a0\"\n", "path": "spectrafit/__init__.py" } ]
[ { "content": "\"\"\"SpectraFit, fast command line tool for fitting data.\"\"\"\n__version__ = \"1.0.0a1\"\n", "path": "spectrafit/__init__.py" } ]
diff --git a/.github/workflows/update-changelog.yaml b/.github/workflows/update-changelog.yaml index be5bbb6b0..e98b14df0 100644 --- a/.github/workflows/update-changelog.yaml +++ b/.github/workflows/update-changelog.yaml @@ -3,7 +3,12 @@ name: "Update Changelog" on: release: - types: [released] + types: + ...
Anselmoo__spectrafit-695
[Docs]: Update labeled criteria for CHANGELOG ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Missing Information in the Docs Update the labeler criteria for avoiding double labels in `CHANGELOG.md` ### Anything else? _No response_ ### Code of Conduct - [X] I agree ...
[ { "content": "\"\"\"SpectraFit, fast command line tool for fitting data.\"\"\"\n__version__ = \"1.0.0a7\"\n", "path": "spectrafit/__init__.py" } ]
[ { "content": "\"\"\"SpectraFit, fast command line tool for fitting data.\"\"\"\n__version__ = \"1.0.0a8\"\n", "path": "spectrafit/__init__.py" } ]
diff --git a/.github/labeler.yml b/.github/labeler.yml index c311d724b..765ad286e 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,21 +1,26 @@ +codeowners: + - .github/CODEOWNERS codespaces: - .devcontainer/** dependencies: - poetry.lock + - github/dependabot.yml documentation: - docs/** -...
Anselmoo__spectrafit-701
[Bug]: ASCII Char in creating branch ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior Is crashing ### Expected Behavior Is realising a change in changeling ### Steps To Reproduce _No response_ ### ⚙️ Environment ```markdown - OS: - Python: - spectrafit: ...
[ { "content": "\"\"\"SpectraFit, fast command line tool for fitting data.\"\"\"\n__version__ = \"1.0.0b1\"\n", "path": "spectrafit/__init__.py" } ]
[ { "content": "\"\"\"SpectraFit, fast command line tool for fitting data.\"\"\"\n__version__ = \"1.0.0b2\"\n", "path": "spectrafit/__init__.py" } ]
diff --git a/.github/labeler.yml b/.github/labeler.yml index d33d238b4..ca2898265 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -20,15 +20,15 @@ pre-commit: - .pre-commit-config.yaml - .pre-commit-hooks.yaml python: - - all: ["spectrafit/**/*.py", "!spectrafit/**/test_*.py"] + - all: ["./spectr...
Anselmoo__spectrafit-662
[Docs]: Using mike for versioning docs ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Missing Information in the Docs https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/ ### Anything else? _No response_ ### Code of Conduct - [X] I agree to foll...
[ { "content": "\"\"\"SpectraFit, fast command line tool for fitting data.\"\"\"\n__version__ = \"1.0.0a2\"\n", "path": "spectrafit/__init__.py" } ]
[ { "content": "\"\"\"SpectraFit, fast command line tool for fitting data.\"\"\"\n__version__ = \"1.0.0a3\"\n", "path": "spectrafit/__init__.py" } ]
diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index 639f4dd2e..ce13e12c6 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -107,7 +107,7 @@ jobs: run: poetry run mkdocs build --clean - name: Deploy documentation develops if: c...
cupy__cupy-1795
Complex scalar is not correctly casted ``` >>> cupy.arange(3, dtype='e') + 1j array([0.+1.j, 1.+1.j, 2.+1.j]) >>> numpy.arange(3, dtype='e') + 1j array([0.+1.j, 1.+1.j, 2.+1.j], dtype=complex64) ``` No problem with floats: ``` >>> cupy.arange(3, dtype='e') + 1e30 array([1.e+30, 1.e+30, 1.e+30], dtype=float32...
[ { "content": "import functools\nimport six\nfrom six.moves import builtins\nimport string\nimport threading\nimport warnings\n\nimport numpy\n\nimport cupy\nfrom cupy.core._dtype import get_dtype\nfrom cupy.core import core\n\n\n_thread_local = threading.local()\n\n_kind_score = {\n 'b': 0,\n 'u': 1,\n ...
[ { "content": "import functools\nimport six\nfrom six.moves import builtins\nimport string\nimport threading\nimport warnings\n\nimport numpy\n\nimport cupy\nfrom cupy.core._dtype import get_dtype\nfrom cupy.core import core\n\n\n_thread_local = threading.local()\n\n_kind_score = {\n 'b': 0,\n 'u': 1,\n ...
diff --git a/cupy/core/_kernel.pyx b/cupy/core/_kernel.pyx index 643c8ca6b6a..5965a9db5f8 100644 --- a/cupy/core/_kernel.pyx +++ b/cupy/core/_kernel.pyx @@ -57,7 +57,7 @@ cdef dict _kind_score = { 'u': 1, 'i': 1, 'f': 2, - 'c': 3, + 'c': 2, } diff --git a/cupy/core/fusion.py b/cupy/core/fusion...
holoviz__panel-5919
Plotting styling guides are gone As discussed on Discourse the styling gallery notebooks for Plotly, Altair, Seaborn and Matplotlib have gone missing with Panel 1.0 release. Please re-add. Thx.
[ { "content": "\"\"\"\nDefines custom bokeh model to render ECharts plots.\n\"\"\"\nfrom bokeh.core.properties import (\n Any, Dict, Enum, List, Nullable, String,\n)\nfrom bokeh.events import ModelEvent\nfrom bokeh.models import LayoutDOM\n\nfrom ..config import config\nfrom ..io.resources import bundled_file...
[ { "content": "\"\"\"\nDefines custom bokeh model to render ECharts plots.\n\"\"\"\nfrom bokeh.core.properties import (\n Any, Dict, Enum, List, Nullable, String,\n)\nfrom bokeh.events import ModelEvent\nfrom bokeh.models import LayoutDOM\n\nfrom ..config import config\nfrom ..io.resources import bundled_file...
diff --git a/doc/_static/logos/altair-logo.png b/doc/_static/logos/altair-logo.png new file mode 100644 index 0000000000..8dd96d6b23 Binary files /dev/null and b/doc/_static/logos/altair-logo.png differ diff --git a/doc/_static/logos/echarts-logo.png b/doc/_static/logos/echarts-logo.png new file mode 100644 index 00000...
edgedb__edgedb-2139
Better syntax errors for substitution tokens Currently as of 1.0-alpha.8+dev.5341.g66ec73494 it fails with InternalServerError: ``` edgedb> SELECT \(x); ERROR: InternalServerError: (<class 'edb.edgeql.parser.grammar.tokens.TokenMeta'>, 'SUBSTITUTION') Hint: This is most likely a bug in EdgeDB. Please consider ope...
[ { "content": "#\n# This source file is part of the EdgeDB open source project.\n#\n# Copyright 2008-present MagicStack Inc. and the EdgeDB authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy...
[ { "content": "#\n# This source file is part of the EdgeDB open source project.\n#\n# Copyright 2008-present MagicStack Inc. and the EdgeDB authors.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy...
diff --git a/edb/edgeql/parser/grammar/tokens.py b/edb/edgeql/parser/grammar/tokens.py index e7dc0f4e248..69a24c24daa 100644 --- a/edb/edgeql/parser/grammar/tokens.py +++ b/edb/edgeql/parser/grammar/tokens.py @@ -219,6 +219,10 @@ class T_OP(Token): pass +class T_SUBSTITUTION(Token): + pass + + class T_EOF(...
strawberry-graphql__strawberry-378
Cannot create type with multiple Unions ```python from typing import Union import strawberry @strawberry.type class CoolType: @strawberry.type class UnionA1: value: int @strawberry.type class UnionA2: value: int @strawberry.type class UnionB1: value...
[ { "content": "import copy\nimport dataclasses\nfrom functools import partial\nfrom typing import Optional\n\nfrom graphql import GraphQLInputObjectType, GraphQLInterfaceType, GraphQLObjectType\n\nfrom .constants import IS_STRAWBERRY_FIELD, IS_STRAWBERRY_INPUT, IS_STRAWBERRY_INTERFACE\nfrom .field import field, ...
[ { "content": "import copy\nimport dataclasses\nfrom functools import partial\nfrom typing import Optional\n\nfrom graphql import GraphQLInputObjectType, GraphQLInterfaceType, GraphQLObjectType\n\nfrom .constants import IS_STRAWBERRY_FIELD, IS_STRAWBERRY_INPUT, IS_STRAWBERRY_INTERFACE\nfrom .field import field, ...
diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 0000000000..45888264a9 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,3 @@ +Release type: patch + +This PR fixes a bug when declaring multiple non-named union types diff --git a/strawberry/type.py b/strawberry/type.py index deccac2815..9871b5fb02 100644 --- a/s...
cython__cython-5647
[BUG] Unable to run `Cythonize.py` ### Describe the bug I tried to run `Cythonize.py` but it failed because of relative imports in file: ``` Traceback (most recent call last): File "/tmp/cython/Cython/Build/Cythonize.py", line 10, in <module> from .Dependencies import cythonize, extended_iglob ImportError: ...
[ { "content": "#!/usr/bin/env python\n\nfrom __future__ import absolute_import, print_function\n\nimport os\nimport shutil\nimport tempfile\nfrom distutils.core import setup\n\nfrom .Dependencies import cythonize, extended_iglob\nfrom ..Utils import is_package_dir\nfrom ..Compiler import Options\n\ntry:\n imp...
[ { "content": "from __future__ import absolute_import, print_function\n\nimport os\nimport shutil\nimport tempfile\nfrom distutils.core import setup\n\nfrom .Dependencies import cythonize, extended_iglob\nfrom ..Utils import is_package_dir\nfrom ..Compiler import Options\n\ntry:\n import multiprocessing\n ...
diff --git a/Cython/Build/Cythonize.py b/Cython/Build/Cythonize.py index 179c0406025..4acc7f05aac 100644 --- a/Cython/Build/Cythonize.py +++ b/Cython/Build/Cythonize.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - from __future__ import absolute_import, print_function import os
optuna__optuna-3342
Mention each tutorial page in API pages at least once <!-- Please write a clear and concise description of what content in https://optuna.readthedocs.io/ is an issue. --> [Optuna's tutorial](https://optuna.readthedocs.io/en/stable/tutorial/index.html) is a good source to understand Optuna's functionality with concre...
[ { "content": "\"\"\"\n.. _sampler:\n\nUser-Defined Sampler\n====================\n\nThanks to user-defined samplers, you can:\n\n- experiment your own sampling algorithms,\n- implement task-specific algorithms to refine the optimization performance, or\n- wrap other optimization libraries to integrate them into...
[ { "content": "\"\"\"\n.. _user_defined_sampler:\n\nUser-Defined Sampler\n====================\n\nThanks to user-defined samplers, you can:\n\n- experiment your own sampling algorithms,\n- implement task-specific algorithms to refine the optimization performance, or\n- wrap other optimization libraries to integr...
diff --git a/docs/source/reference/pruners.rst b/docs/source/reference/pruners.rst index 70ad0f58c2..225c41d6c9 100644 --- a/docs/source/reference/pruners.rst +++ b/docs/source/reference/pruners.rst @@ -8,6 +8,9 @@ The :mod:`~optuna.pruners` module defines a :class:`~optuna.pruners.BasePruner` .. seealso:: :ref:`...
streamlit__streamlit-2342
Clicking on a text field in the sidebar (on mobile) causes the sidebar to close. # Summary When the window is too narrow, clicking on a text input in the sidebar causes the sidebar to disappear, making it impossible to type in text. [[video example](https://drive.google.com/file/d/1KetCBECPsg3UAiESZCRdm6W9M_zIrNkc/v...
[ { "content": "# Copyright 2018-2020 Streamlit Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by a...
[ { "content": "# Copyright 2018-2020 Streamlit Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by a...
diff --git a/e2e/scripts/st_sidebar.py b/e2e/scripts/st_sidebar.py index 42e1dc2ab3c8..9b44c2a1865f 100644 --- a/e2e/scripts/st_sidebar.py +++ b/e2e/scripts/st_sidebar.py @@ -24,3 +24,5 @@ x = st.sidebar.text("overwrite me") x.text("overwritten") + +y = st.sidebar.text_input("type here") diff --git a/e2e/specs/st_s...
pytorch__text-87
Length of iterator fails in Python 2 The division `len(dataset) / batch_size` will be cast to int in python2, so that `math.ceil` doesn't really work when `len(dataset)` is not a multiple of batch size.
[ { "content": "import math\nimport random\nfrom contextlib import contextmanager\nfrom copy import deepcopy\n\nfrom .batch import Batch\nfrom .dataset import Dataset\n\n\nclass RandomShuffler(object):\n \"\"\"Use random functions while keeping track of the random state to make it\n reproducible and determi...
[ { "content": "from __future__ import division\n\nimport math\nimport random\nfrom contextlib import contextmanager\nfrom copy import deepcopy\n\nfrom .batch import Batch\nfrom .dataset import Dataset\n\n\nclass RandomShuffler(object):\n \"\"\"Use random functions while keeping track of the random state to ma...
diff --git a/torchtext/data/iterator.py b/torchtext/data/iterator.py index 0970ac1335..08a99e21a4 100644 --- a/torchtext/data/iterator.py +++ b/torchtext/data/iterator.py @@ -1,3 +1,5 @@ +from __future__ import division + import math import random from contextlib import contextmanager
pandas-dev__pandas-28734
Error while installing dependencies While running: ``` python3 -m venv pandas-venv source pandas-venv/bin/activate cd pandas-MyUserName python -m pip install -r requirements-dev.txt ``` I get an error on line 20: > ERROR: Could not find a version that satisfies the requirement dask-core (from -r requirements-...
[ { "content": "#!/usr/bin/env python\n\"\"\"\nConvert the conda environment.yml to the pip requirements-dev.txt,\nor check that they have the same packages (for the CI)\n\nUsage:\n\n Generate `requirements-dev.txt`\n $ ./conda_to_pip\n\n Compare and fail (exit status != 0) if `requirements-dev.txt` has ...
[ { "content": "#!/usr/bin/env python\n\"\"\"\nConvert the conda environment.yml to the pip requirements-dev.txt,\nor check that they have the same packages (for the CI)\n\nUsage:\n\n Generate `requirements-dev.txt`\n $ ./conda_to_pip\n\n Compare and fail (exit status != 0) if `requirements-dev.txt` has ...
diff --git a/requirements-dev.txt b/requirements-dev.txt index 698e4f3aea094..e677d835b56a5 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -17,7 +17,7 @@ numpydoc>=0.9.0 nbconvert>=5.4.1 nbsphinx pandoc -dask-core +dask toolz>=0.7.3 fsspec>=0.5.1 partd>=0.3.10 diff --git a/scripts/generate_pip_de...
d2l-ai__d2l-en-2256
ModuleNotFoundError when running the official pytorch colab notebook ![image](https://user-images.githubusercontent.com/33608782/184685789-951935c7-1725-4a23-944d-8d48b32bf76c.png) I can replicate the error at multiple official pytorch colab notebooks, e.g. https://colab.research.google.com/github/d2l-ai/d2l-pyt...
[ { "content": "from setuptools import setup, find_packages\nimport d2l\n\nrequirements = [\n 'jupyter',\n 'numpy',\n 'matplotlib',\n 'requests',\n 'pandas',\n 'gym'\n]\n\nsetup(\n name='d2l',\n version=d2l.__version__,\n python_requires='>=3.5',\n author='D2L Developers',\n autho...
[ { "content": "from setuptools import setup, find_packages\nimport d2l\n\nrequirements = [\n 'ipython>=7.23',\n 'jupyter',\n 'numpy',\n 'matplotlib',\n 'requests',\n 'pandas'\n]\n\nsetup(\n name='d2l',\n version=d2l.__version__,\n python_requires='>=3.5',\n author='D2L Developers',\...
diff --git a/setup.py b/setup.py index a5f464a9eb..931a2ce067 100644 --- a/setup.py +++ b/setup.py @@ -2,6 +2,7 @@ import d2l requirements = [ + 'ipython>=7.23', 'jupyter', 'numpy', 'matplotlib',
d2l-ai__d2l-en-2254
ModuleNotFoundError when running the official pytorch colab notebook ![image](https://user-images.githubusercontent.com/33608782/184685789-951935c7-1725-4a23-944d-8d48b32bf76c.png) I can replicate the error at multiple official pytorch colab notebooks, e.g. https://colab.research.google.com/github/d2l-ai/d2l-pyt...
[ { "content": "from setuptools import setup, find_packages\nimport d2l\n\nrequirements = [\n 'jupyter',\n 'numpy',\n 'matplotlib',\n 'requests',\n 'pandas',\n 'gym'\n]\n\nsetup(\n name='d2l',\n version=d2l.__version__,\n python_requires='>=3.5',\n author='D2L Developers',\n autho...
[ { "content": "from setuptools import setup, find_packages\nimport d2l\n\nrequirements = [\n 'ipython>=7.23',\n 'jupyter',\n 'numpy',\n 'matplotlib',\n 'requests',\n 'pandas',\n 'gym'\n]\n\nsetup(\n name='d2l',\n version=d2l.__version__,\n python_requires='>=3.5',\n author='D2L D...
diff --git a/setup.py b/setup.py index 2e3dec1d41..6f14d25677 100644 --- a/setup.py +++ b/setup.py @@ -2,6 +2,7 @@ import d2l requirements = [ + 'ipython>=7.23', 'jupyter', 'numpy', 'matplotlib',
gratipay__gratipay.com-4365
Fix deploy.sh regression [Looks](https://github.com/gratipay/gratipay.com/pull/4345#issuecomment-284062013) like #4345 introduced a regression in `deploy.sh`: ``` [gratipay] $ ./deploy.sh Already up-to-date. Traceback (most recent call last): File "gratipay/wireup.py", line 11, in <module> import aspen ...
[ { "content": "\"\"\"Wireup\n\"\"\"\nfrom __future__ import absolute_import, division, print_function, unicode_literals\n\nimport atexit\nimport fnmatch\nimport os\nimport urlparse\nfrom tempfile import mkstemp\n\nimport aspen\nfrom aspen.testing.client import Client\nfrom babel.core import Locale\nfrom babel.me...
[ { "content": "\"\"\"Wireup\n\"\"\"\nfrom __future__ import absolute_import, division, print_function, unicode_literals\n\nimport atexit\nimport fnmatch\nimport os\nimport urlparse\nfrom tempfile import mkstemp\n\nimport aspen\nfrom aspen.testing.client import Client\nfrom babel.core import Locale\nfrom babel.me...
diff --git a/deploy.sh b/deploy.sh index 45faedbb06..5696579a49 100755 --- a/deploy.sh +++ b/deploy.sh @@ -49,7 +49,7 @@ version="$((prev + 1))" # Check that the environment contains all required variables heroku config -s -a gratipay | ./env/bin/honcho run -e /dev/stdin \ - ./env/bin/python gratipay/wireup.py +...
Kinto__kinto-7
PostgreSQL by default ? - put `cliquet[postgresql]` in requirements - put storage_url in config (default postgres:postgres@localhost/postgres)
[ { "content": "import os\nfrom setuptools import setup, find_packages\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(here, 'README.rst')) as f:\n README = f.read()\n\nREQUIREMENTS = [\n 'colander',\n 'cornice',\n 'six',\n 'waitress',\n 'cliquet'\n]\n\nENTRY_POINT...
[ { "content": "import os\nfrom setuptools import setup, find_packages\n\nhere = os.path.abspath(os.path.dirname(__file__))\n\nwith open(os.path.join(here, 'README.rst')) as f:\n README = f.read()\n\nREQUIREMENTS = [\n 'colander',\n 'cornice',\n 'six',\n 'waitress',\n 'cliquet[postgresql]'\n]\n\...
diff --git a/.travis.yml b/.travis.yml index b185661c1..538bf2ae6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,18 @@ language: python python: 2.7 -sudo: false +sudo: true services: redis-server +addons: + postgresql: "9.3" env: - TOX_ENV=py27 - TOX_ENV=py34 - TOX_ENV=flake8 - TOX_ENV=...
pypa__setuptools-1043
No module named 'six' Flask's Tox/Travis builds all started failing. Looks like a new version of setuptools was just released that has a problem with six. ~~~pytb Obtaining file:///home/david/Projects/flask Installing collected packages: Flask Running setup.py develop for Flask Complete output from command...
[ { "content": "\"\"\"\nCompatibility Support for Python 2.7 and earlier\n\"\"\"\n\nimport platform\n\nimport six\n\n\ndef get_all_headers(message, key):\n \"\"\"\n Given an HTTPMessage, return all headers matching a given key.\n \"\"\"\n return message.get_all(key)\n\n\nif six.PY2:\n def get_all_h...
[ { "content": "\"\"\"\nCompatibility Support for Python 2.7 and earlier\n\"\"\"\n\nimport platform\n\nfrom setuptools.extern import six\n\n\ndef get_all_headers(message, key):\n \"\"\"\n Given an HTTPMessage, return all headers matching a given key.\n \"\"\"\n return message.get_all(key)\n\n\nif six....
diff --git a/setuptools/py27compat.py b/setuptools/py27compat.py index 701283c8c1..2985011b92 100644 --- a/setuptools/py27compat.py +++ b/setuptools/py27compat.py @@ -4,7 +4,7 @@ import platform -import six +from setuptools.extern import six def get_all_headers(message, key):
scalableminds__webknossos-libs-1048
Dataset.from_images should support NIFTI, recognize .nii `.nii` is an alternative file ending for nifti. The wkcuber CLI currrently prints `Converting Nifti dataset`, but then `Could not find any supported image data. The following suffixes are supported …` I think nifti used to be supported by the wkcuber
[ { "content": "import warnings\nfrom contextlib import contextmanager, nullcontext\nfrom itertools import chain\nfrom os import PathLike\nfrom pathlib import Path\nfrom typing import (\n ContextManager,\n Dict,\n Iterable,\n Iterator,\n List,\n Optional,\n Sequence,\n Set,\n Tuple,\n ...
[ { "content": "import warnings\nfrom contextlib import contextmanager, nullcontext\nfrom itertools import chain\nfrom os import PathLike\nfrom pathlib import Path\nfrom typing import (\n ContextManager,\n Dict,\n Iterable,\n Iterator,\n List,\n Optional,\n Sequence,\n Set,\n Tuple,\n ...
diff --git a/webknossos/Changelog.md b/webknossos/Changelog.md index 2088cec64..b97583315 100644 --- a/webknossos/Changelog.md +++ b/webknossos/Changelog.md @@ -18,6 +18,7 @@ For upgrade instructions, please check the respective _Breaking Changes_ section ### Changed - Updated ruff to v0.4.0 [1047](https://github.c...
kedro-org__kedro-2092
Release Kedro `0.18.4` ### Depends on: - Dataset issues - Spaceflights tutorial documentation - Open PRs related to datasets: - [x] https://github.com/kedro-org/kedro/pull/2082 - [x] https://github.com/kedro-org/kedro/pull/1746 - [x] https://github.com/kedro-org/kedro/pull/1992 - [x] https://github.com/kedr...
[ { "content": "\"\"\"Kedro is a framework that makes it easy to build robust and scalable\ndata pipelines by providing uniform project templates, data abstraction,\nconfiguration and pipeline assembly.\n\"\"\"\n\n__version__ = \"0.18.3\"\n\n\nimport logging\n\nlogging.getLogger(__name__).addHandler(logging.NullH...
[ { "content": "\"\"\"Kedro is a framework that makes it easy to build robust and scalable\ndata pipelines by providing uniform project templates, data abstraction,\nconfiguration and pipeline assembly.\n\"\"\"\n\n__version__ = \"0.18.4\"\n\n\nimport logging\n\nlogging.getLogger(__name__).addHandler(logging.NullH...
diff --git a/CITATION.cff b/CITATION.cff index 336c59be9c..a4ba6a6e0f 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -17,8 +17,14 @@ authors: given-names: Tynan - family-names: Hoang given-names: Lim +- family-names: Holzer + given-names: Jannic - family-names: Kanchwala given-names: Rashida +- family-name...
streamlit__streamlit-2570
URL markup does not get generated as a link # Summary URLs used to generate an anchor tag automatically in markup. Now it does not # Steps to reproduce Code snippet: ``` st.write(f""" As always, thank you to [all our contributors](https://github.com/streamlit/streamlit/graphs/contributors) who help ...
[ { "content": "import os\nimport setuptools\nimport sys\n\nfrom setuptools.command.install import install\n\ntry:\n from pipenv.project import Project\n from pipenv.utils import convert_deps_to_pip\nexcept:\n exit_msg = (\n \"pipenv is required to package Streamlit. Please install pipenv and try ...
[ { "content": "import os\nimport setuptools\nimport sys\n\nfrom setuptools.command.install import install\n\ntry:\n from pipenv.project import Project\n from pipenv.utils import convert_deps_to_pip\nexcept:\n exit_msg = (\n \"pipenv is required to package Streamlit. Please install pipenv and try ...
diff --git a/docs/troubleshooting/sanity-checks.md b/docs/troubleshooting/sanity-checks.md index 583f54b1c20c..e51aeebd2de4 100644 --- a/docs/troubleshooting/sanity-checks.md +++ b/docs/troubleshooting/sanity-checks.md @@ -35,7 +35,7 @@ pip install --upgrade streamlit streamlit version ``` -...and then verify that ...
spacetelescope__jwql-1598
Incorrect NIRSpec filter Using the query form of JWQL and clicking on NIRSpec, the list of filters contains the entry P750L. This is a filter for MIRI, not NIRSpec and should be removed from the NIRSpec listing. This filter is present in the MIRI filter list.
[ { "content": "\"\"\"Globally defined and used variables for the ``jwql`` project.\n\nAuthors\n-------\n\n - Johannes Sahlmann\n - Matthew Bourque\n - Bryan Hilbert\n - Ben Sunnquist\n - Teagan King\n - Mike Engesser\n - Maria Pena-Guerrero\n - Rachel Cooper\n - Brad Sappington\n\nUse\...
[ { "content": "\"\"\"Globally defined and used variables for the ``jwql`` project.\n\nAuthors\n-------\n\n - Johannes Sahlmann\n - Matthew Bourque\n - Bryan Hilbert\n - Ben Sunnquist\n - Teagan King\n - Mike Engesser\n - Maria Pena-Guerrero\n - Rachel Cooper\n - Brad Sappington\n\nUse\...
diff --git a/jwql/utils/constants.py b/jwql/utils/constants.py index 3691d0cd8..814eca299 100644 --- a/jwql/utils/constants.py +++ b/jwql/utils/constants.py @@ -470,7 +470,6 @@ "F170LP", "F290LP", "OPAQUE", - "P750L", ], }
scikit-hep__awkward-3025
Custom behaviors plus jax leading to lookup in wrong spot ### Version of Awkward Array ce63bf2 ### Description and code to reproduce This is partner issue to https://github.com/CoffeaTeam/coffea/issues/874 as perhaps this is more on the side of awkward than coffea. I am trying to combine custom behaviors (defined by...
[ { "content": "# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE\n\nfrom __future__ import annotations\n\nimport jax.numpy\n\nfrom awkward._connect.jax.reducers import get_jax_reducer # noqa: F401\nfrom awkward._connect.jax.trees import register_pytree_class # noqa: F401\n\n\n...
[ { "content": "# BSD 3-Clause License; see https://github.com/scikit-hep/awkward/blob/main/LICENSE\n\nfrom __future__ import annotations\n\nimport jax.numpy\n\nfrom awkward._connect.jax.reducers import get_jax_reducer # noqa: F401\nfrom awkward._connect.jax.trees import register_pytree_class # noqa: F401\n\n\n...
diff --git a/src/awkward/_connect/jax/__init__.py b/src/awkward/_connect/jax/__init__.py index d66ea654c4..07a7cfcfba 100644 --- a/src/awkward/_connect/jax/__init__.py +++ b/src/awkward/_connect/jax/__init__.py @@ -9,4 +9,4 @@ def get_jax_ufunc(ufunc): - return getattr(jax.numpy, ufunc.__name__) + return get...
flairNLP__flair-447
__version__ attribute? I'm always frustrated when flair doesn't have a __version__attribute... :-) Please, add a __version__attribute to the module. Thank you! DC
[ { "content": "import torch\n\nfrom . import data\nfrom . import models\nfrom . import visual\nfrom . import trainers\n\nimport logging.config\n\n\nlogging.config.dictConfig({\n 'version': 1,\n 'disable_existing_loggers': False,\n 'formatters': {\n 'standard': {\n 'format': '%(asctime)...
[ { "content": "import torch\n\nfrom . import data\nfrom . import models\nfrom . import visual\nfrom . import trainers\n\nimport logging.config\n\n__version__ = \"0.4.1\"\n\nlogging.config.dictConfig({\n 'version': 1,\n 'disable_existing_loggers': False,\n 'formatters': {\n 'standard': {\n ...
diff --git a/flair/__init__.py b/flair/__init__.py index 22803f63c4..7b592ded00 100644 --- a/flair/__init__.py +++ b/flair/__init__.py @@ -7,6 +7,7 @@ import logging.config +__version__ = "0.4.1" logging.config.dictConfig({ 'version': 1,
scverse__scanpy-1807
Report pynndescent version in sc.logging.print_header Hi, Thank you for the great tool. I think this is not a bug. Recently I upgraded some packages and found my results were different from the previous runs. I figured out that it is caused by different versions of `pynndescent` (0.4.7 vs 0.5.1), which is recomm...
[ { "content": "\"\"\"Logging and Profiling\n\"\"\"\nimport io\nimport logging\nimport sys\nfrom functools import update_wrapper, partial\nfrom logging import CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET\nfrom datetime import datetime, timedelta, timezone\nfrom typing import Optional\n\nimport anndata.logging\nf...
[ { "content": "\"\"\"Logging and Profiling\n\"\"\"\nimport io\nimport logging\nimport sys\nfrom functools import update_wrapper, partial\nfrom logging import CRITICAL, ERROR, WARNING, INFO, DEBUG, NOTSET\nfrom datetime import datetime, timedelta, timezone\nfrom typing import Optional\n\nimport anndata.logging\nf...
diff --git a/scanpy/logging.py b/scanpy/logging.py index c0f810b281..1f44ec0506 100644 --- a/scanpy/logging.py +++ b/scanpy/logging.py @@ -131,6 +131,7 @@ def format(self, record: logging.LogRecord): ('igraph', 'python-igraph'), 'louvain', 'leidenalg', + 'pynndescent', ]
ocadotechnology__aimmo-60
Fix warning about deprecation of TEMPLATE_DEBUG When starting aimmo locally the following message is displayed: > WARNINGS: > ?: (1_8.W001) The standalone TEMPLATE_\* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your defaul...
[ { "content": "# -*- coding: utf-8 -*-\n# Code for Life\n#\n# Copyright (C) 2015, Ocado Innovation Limited\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU Affero General Public License as\n# published by the Free Software Foundation, either version 3 of...
[ { "content": "# -*- coding: utf-8 -*-\n# Code for Life\n#\n# Copyright (C) 2015, Ocado Innovation Limited\n#\n# This program is free software: you can redistribute it and/or modify\n# it under the terms of the GNU Affero General Public License as\n# published by the Free Software Foundation, either version 3 of...
diff --git a/example_project/example_project/settings.py b/example_project/example_project/settings.py index 0a3247898..c09467644 100644 --- a/example_project/example_project/settings.py +++ b/example_project/example_project/settings.py @@ -38,7 +38,6 @@ import os DEBUG = True -TEMPLATE_DEBUG = DEBUG DATABASES =...
django-wiki__django-wiki-750
markdow error <sup id = "fnref: 1"> duplicate (footnotes) now ![1](https://fotos.subefotos.com/c83c25687ddca44c7a2b7b8ab3cf78f4o.png) ![2](https://fotos.subefotos.com/8e46f36b4f13d53f6a6655556f0b7620o.png) Here is an example with wiki == 0.2b2 ![3](https://fotos.subefotos.com/b21939eaa52be55ed81d6171e8fadd4co.p...
[ { "content": "from __future__ import unicode_literals\n\nimport bleach\n\nfrom django.conf import settings as django_settings\nfrom django.contrib.messages import constants as messages\nfrom django.core.files.storage import default_storage\nfrom django.core.urlresolvers import reverse_lazy\nfrom django.utils.tr...
[ { "content": "from __future__ import unicode_literals\n\nimport bleach\n\nfrom django.conf import settings as django_settings\nfrom django.contrib.messages import constants as messages\nfrom django.core.files.storage import default_storage\nfrom django.core.urlresolvers import reverse_lazy\nfrom django.utils.tr...
diff --git a/src/wiki/conf/settings.py b/src/wiki/conf/settings.py index 57064633c..eb447338a 100644 --- a/src/wiki/conf/settings.py +++ b/src/wiki/conf/settings.py @@ -63,6 +63,7 @@ 'img', 'pre', 'span', + 'sup', 'table', 'thead', 'tbody',
fidals__shopelectro-719
Add canonicals to category page For example this two pages contains no canonicals: - https://www.shopelectro.ru/catalog/categories/akkumuliatory-270/tags/li-ro_hbced/?page=2 - ~https://www.shopelectro.ru/catalog/categories/akkumuliatory-270/?page=2~ checked - it contains canonical Add canonicals to category page For ...
[ { "content": "from functools import partial\n\nfrom catalog.newcontext import Context, Tags\n\n\nclass Page(Context):\n\n def __init__(self, page, tags: Tags):\n self._page = page\n self._tags = tags\n\n def context(self):\n def template_context(page, tag_titles, tags):\n r...
[ { "content": "from functools import partial\n\nfrom catalog.newcontext import Context, Tags\n\n\nclass Page(Context):\n\n def __init__(self, page, tags: Tags):\n self._page = page\n self._tags = tags\n\n def context(self):\n def template_context(page, tag_titles, tags):\n r...
diff --git a/shopelectro/context.py b/shopelectro/context.py index 29ebce78..17bbabdf 100644 --- a/shopelectro/context.py +++ b/shopelectro/context.py @@ -24,5 +24,4 @@ def template_context(page, tag_titles, tags): return { 'page': self._page, - 'skip_canonical': tags_qs.exists(), ...
huggingface__optimum-669
A weird input in onnx graph from ORTModel pretrained FlauBERT ### System Info ```shell Python 3.8.10 "optimum[onnxruntime]==1.5.0" "transformers==4.25.1" ``` ### Who can help? Probably export bug so -> @lewtun, @michaelbenayoun ### Information - [ ] The official example scripts - [X] My own modified scripts ##...
[ { "content": "# coding=utf-8\n# Copyright 2022 The HuggingFace Team. All rights reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/license...
[ { "content": "# coding=utf-8\n# Copyright 2022 The HuggingFace Team. All rights reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/license...
diff --git a/optimum/exporters/onnx/model_configs.py b/optimum/exporters/onnx/model_configs.py index 0fef0b46ee..8167a459a0 100644 --- a/optimum/exporters/onnx/model_configs.py +++ b/optimum/exporters/onnx/model_configs.py @@ -119,7 +119,7 @@ class CamembertOnnxConfig(DistilBertOnnxConfig): pass -class Flauber...
mosaicml__composer-874
Fix typehints for python < 3.9 [PEP 585](https://peps.python.org/pep-0585/) introduces typehint generics for python 3.9. To remain backwards-compatible with python < 3.9, `from __future__ import annotations` must be executed, or otherwise typehints must be specified in a backwards-compatible way (e.g. in quotes). I thi...
[ { "content": "import json\nimport logging\nimport math\nimport os\nimport subprocess\nimport textwrap\nfrom random import shuffle\nfrom typing import TYPE_CHECKING, Any, Dict, Iterable, List, Optional, Tuple, Union\n\nfrom tqdm import tqdm\n\nif TYPE_CHECKING:\n from webdataset import WebDataset\n\ntry:\n ...
[ { "content": "# Copyright 2021 MosaicML. All Rights Reserved.\n\nfrom __future__ import annotations\n\nimport json\nimport logging\nimport math\nimport os\nimport subprocess\nimport textwrap\nfrom random import shuffle\nfrom typing import TYPE_CHECKING, Any, Dict, Iterable, List, Optional, Tuple, Union\n\nfrom ...
diff --git a/composer/datasets/webdataset_utils.py b/composer/datasets/webdataset_utils.py index 6cf872440e..db5b08fa1a 100644 --- a/composer/datasets/webdataset_utils.py +++ b/composer/datasets/webdataset_utils.py @@ -1,3 +1,7 @@ +# Copyright 2021 MosaicML. All Rights Reserved. + +from __future__ import annotations + ...
pwndbg__pwndbg-616
bp breaks on pie binaries before run <!-- Before reporting a new issue, make sure that we do not have any duplicates already open. If there is one it might be good to take part in the discussion there. Please make sure you have checked that the issue persists on LATEST pwndbg version. Below is a template for BU...
[ { "content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\"\"\"\nCommon types, and routines for manually loading types from file\nvia GCC.\n\"\"\"\nfrom __future__ import absolute_import\nfrom __future__ import division\nfrom __future__ import print_function\nfrom __future__ import unicode_literals\n\nimpo...
[ { "content": "#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\"\"\"\nCommon types, and routines for manually loading types from file\nvia GCC.\n\"\"\"\nfrom __future__ import absolute_import\nfrom __future__ import division\nfrom __future__ import print_function\nfrom __future__ import unicode_literals\n\nimpo...
diff --git a/pwndbg/typeinfo.py b/pwndbg/typeinfo.py index 17ffd85dd29..57ec3d5f231 100644 --- a/pwndbg/typeinfo.py +++ b/pwndbg/typeinfo.py @@ -43,6 +43,7 @@ def lookup_types(*types): raise exc +@pwndbg.events.new_objfile @pwndbg.events.start @pwndbg.events.stop def update():
mitmproxy__mitmproxy-2754
Transitive import of mitmproxy.version causes warning Since #1837, we import `.script`, will imports `.flow`, which imports `.version`. This causes the following warning in pytest: ``` test/mitmproxy/test_version.py::test_version /Users/kriechi/.pyenv/versions/3.5.3/lib/python3.5/runpy.py:125: RuntimeWarning:...
[ { "content": "import os\nimport subprocess\n\n# The actual version string. For precompiled binaries, this will be changed to include the build\n# tag, e.g. \"3.0.0.dev0042-0xcafeabc\"\nVERSION = \"3.0.0\"\nPATHOD = \"pathod \" + VERSION\nMITMPROXY = \"mitmproxy \" + VERSION\n\n# Serialization format version. Th...
[ { "content": "import os\nimport subprocess\n\n# The actual version string. For precompiled binaries, this will be changed to include the build\n# tag, e.g. \"3.0.0.dev0042-0xcafeabc\"\nVERSION = \"3.0.0\"\nPATHOD = \"pathod \" + VERSION\nMITMPROXY = \"mitmproxy \" + VERSION\n\n# Serialization format version. Th...
diff --git a/mitmproxy/version.py b/mitmproxy/version.py index 44ec32d4cb..20a303e84a 100644 --- a/mitmproxy/version.py +++ b/mitmproxy/version.py @@ -60,5 +60,5 @@ def get_version(dev: bool = False, build: bool = False, refresh: bool = False) - return mitmproxy_version -if __name__ == "__main__": +if __name__...