instance_id
stringlengths
10
57
file_changes
listlengths
1
15
repo
stringlengths
7
53
base_commit
stringlengths
40
40
problem_statement
stringlengths
11
52.5k
patch
stringlengths
251
7.06M
miurahr__aqtinstall-443
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "aqt/archives.py:ToolArchives.__init__", "aqt/archives.py:ToolArchives._parse_update_xml" ], "edited_modules": [ "aqt/archives.py:ToolArchives" ] }, "file": "aqt...
miurahr/aqtinstall
4235e78327187eba52dbefa5a4952c97b04318b2
Cannot install qtcreator tool (any version) I have been trying for several hours different variations of commands to install the qtcreator ide. These are the results: ### Simple install ```sh $ aqt install-tool linux desktop tools_qtcreator ``` Error: The package 'qt.tools.qtcreator' has the version '5.0.2-0-20...
diff --git a/aqt/archives.py b/aqt/archives.py index 0792044..bfc7bfb 100644 --- a/aqt/archives.py +++ b/aqt/archives.py @@ -373,11 +373,11 @@ class ToolArchives(QtArchives): self.tool_name = tool_name self.os_name = os_name self.logger = getLogger("aqt.archives") - self.is_require_ver...
miurahr__aqtinstall-455
[ { "changes": { "added_entities": [ "aqt/archives.py:SrcDocExamplesArchives.help_msg" ], "added_modules": null, "edited_entities": null, "edited_modules": [ "aqt/archives.py:SrcDocExamplesArchives" ] }, "file": "aqt/archives.py" }, { "changes": ...
miurahr/aqtinstall
b514f79bc85c026ac52bae0ddc251e6a55bd38f7
Bug in install-src I am trying to install the source files for QtWebEngine, linux desktop 5.9.9 gcc_64. However, this is what I get: ``` cradcore@localhost: ~ $ aqt install-src -m qtwebengine -O /dev-tools linux desktop 5.9.9 aqtinstall(aqt) v2.0.2 on Python 3.8.10 [CPython GCC 9.3.0] The packages ['qtwebengine']...
diff --git a/aqt/archives.py b/aqt/archives.py index bfc7bfb..c5c9286 100644 --- a/aqt/archives.py +++ b/aqt/archives.py @@ -351,6 +351,16 @@ class SrcDocExamplesArchives(QtArchives): """ return TargetConfig("src_doc_examples", self.target, self.arch, self.os_name) + def help_msg(self, missing_mo...
miurahr__aqtinstall-458
[ { "changes": { "added_entities": [ "aqt/helper.py:SettingsClass.archive_download_location", "aqt/helper.py:SettingsClass.always_keep_archives" ], "added_modules": null, "edited_entities": [ "aqt/helper.py:downloadBinaryFile" ], "edited_modules": [ ...
miurahr/aqtinstall
d63bbd146c6852b81caca72ab6abe9aa8c2962f2
Feature: specify the download location of 7z archives I am a little unclear on why we are downloading to the working directory in the first place. If the user happens to have files in the working directory with the same names as the archives downloaded, these files will be overwritten and then deleted. Additionally, if...
diff --git a/aqt/helper.py b/aqt/helper.py index 2e3b74f..ecb98eb 100644 --- a/aqt/helper.py +++ b/aqt/helper.py @@ -79,7 +79,7 @@ def getUrl(url: str, timeout) -> str: return result -def downloadBinaryFile(url: str, out: str, hash_algo: str, exp: bytes, timeout): +def downloadBinaryFile(url: str, out: Path, h...
miurahr__aqtinstall-459
[ { "changes": { "added_entities": [ "aqt/archives.py:QtArchives.should_filter_archives", "aqt/archives.py:QtArchives._base_module_name", "aqt/archives.py:QtArchives._base_package_names", "aqt/archives.py:SrcDocExamplesArchives._base_module_name" ], "added_modules...
miurahr/aqtinstall
2f328bde8abe9da9521f616bc597671e7903f8fd
Change behavior of `--archives` so that it only affects the base module Several modules for Qt, Docs, and Examples include archives that do not have the same name as the module. For example: * Qt 6.2.1 for linux desktop includes the module `qtwaylandcompositor`, which consists of the archive `qtwayland`. * Documentat...
diff --git a/aqt/archives.py b/aqt/archives.py index c5c9286..d7bdff9 100644 --- a/aqt/archives.py +++ b/aqt/archives.py @@ -143,6 +143,7 @@ class QtArchives: self.base: str = posixpath.join(base, "online/qtsdkrepository") self.logger = getLogger("aqt.archives") self.archives: List[QtPackage]...
miurahr__aqtinstall-510
[ { "changes": { "added_entities": [ "aqt/updater.py:default_desktop_arch_dir", "aqt/updater.py:dir_for_version", "aqt/updater.py:unpatched_path" ], "added_modules": [ "aqt/updater.py:default_desktop_arch_dir", "aqt/updater.py:dir_for_version", "aq...
miurahr/aqtinstall
a27fa31566272f39947a000484dafadc207443bc
ios: qmake script contains non-resolvable target path for Qt 6.2.x **Describe the bug** Qt 6.2.x (maybe earlier versions as well) seems to have changed regarding the `ios` architecture compared to 5.15.2: 1, `$OUTPUT_DIR/6.2.3/ios/bin/qmake` is no longer independent, instead, the `macos/desktop` architecture has to b...
diff --git a/aqt/updater.py b/aqt/updater.py index 2392022..86f78b9 100644 --- a/aqt/updater.py +++ b/aqt/updater.py @@ -24,6 +24,7 @@ import pathlib import re import subprocess from logging import getLogger +from typing import Union import patch @@ -33,6 +34,26 @@ from aqt.helper import Settings from aqt.meta...
miurahr__aqtinstall-518
[ { "changes": { "added_entities": [ "aqt/exceptions.py:AqtException.append_suggested_follow_up" ], "added_modules": null, "edited_entities": [ "aqt/exceptions.py:AqtException.__init__" ], "edited_modules": [ "aqt/exceptions.py:AqtException" ] ...
miurahr/aqtinstall
320df539c0cd050686022e004805282bd86e7760
`MetadataFactory` makes inappropriate assumptions about the HTML files it retrieves. **Describe the bug** `MetadataFactory` improperly assumes that HTML pages at download.qt.io will always contain a body that contains a table. Infrequently, the server will return something unexpected, and `aqt` should be able to provi...
diff --git a/aqt/exceptions.py b/aqt/exceptions.py index f02f032..d56fd4f 100644 --- a/aqt/exceptions.py +++ b/aqt/exceptions.py @@ -18,14 +18,14 @@ # COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION ...
miurahr__aqtinstall-540
[ { "changes": { "added_entities": [ "aqt/installer.py:Cli._get_autodesktop_dir_and_arch" ], "added_modules": null, "edited_entities": [ "aqt/installer.py:Cli.run_install_qt", "aqt/installer.py:Cli._set_install_qt_parser" ], "edited_modules": [ "...
miurahr/aqtinstall
4bcb783c7843a07eda9dedb88e2792adcbb75aa8
Android installs missing gcc_64 directory If you install Android Qt6 builds on linux like (this is how the github action works): `python3 -m aqt install 6.3.0 linux android android_armv7 -O /home/runner/work/GPXSee/Qt` the resulting Qt installation is broken as it is missing the gcc_64 directory which contains the ac...
diff --git a/aqt/installer.py b/aqt/installer.py index 0ecc94d..94c115f 100644 --- a/aqt/installer.py +++ b/aqt/installer.py @@ -35,10 +35,10 @@ from logging import getLogger from logging.handlers import QueueHandler from pathlib import Path from tempfile import TemporaryDirectory -from typing import List, Optional ...
miurahr__aqtinstall-550
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "aqt/exceptions.py:AqtException.__init__", "aqt/exceptions.py:ChecksumDownloadFailure.__init__" ], "edited_modules": [ "aqt/exceptions.py:AqtException", "aqt/exception...
miurahr/aqtinstall
2b390e53c50c67e35b78d809db0055078ce21f0b
ERROR : 'NoneType' object has no attribute 'extend' python3 -m aqt list-qt linux desktop --arch 6.4.0 ERROR : 'NoneType' object has no attribute 'extend' Traceback (most recent call last): File "/home/user/.local/lib/python3.10/site-packages/aqt/metadata.py", line 788, in show_list output = meta.getList...
diff --git a/aqt/exceptions.py b/aqt/exceptions.py index d56fd4f..f76a6ad 100644 --- a/aqt/exceptions.py +++ b/aqt/exceptions.py @@ -18,15 +18,15 @@ # COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER # IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN # CONNECTION ...
miurahr__aqtinstall-563
[ { "changes": { "added_entities": [ "aqt/archives.py:PackageUpdate.__post_init__" ], "added_modules": null, "edited_entities": [ "aqt/archives.py:Updates.get_depends", "aqt/archives.py:Updates._get_text", "aqt/archives.py:Updates._get_list", "aqt/ar...
miurahr/aqtinstall
b625d73f503a129d4ad35b1a6febf3c6f62b69b0
Failed to install Qt 6.3.2 for Android **Describe the bug** Failed to install Qt 6.3.2 for Android **To Reproduce** Steps to reproduce the behavior: 1. aqt install-qt linux android 6.3.2 android -m all **`aqt` output** Add program output to help explain your problem. ``` aqt install-qt linux android 6.3.2...
diff --git a/aqt/archives.py b/aqt/archives.py index eb694f8..4aadcbe 100644 --- a/aqt/archives.py +++ b/aqt/archives.py @@ -124,13 +124,21 @@ class PackageUpdate: description: str release_date: str full_version: str - dependencies: List[str] - auto_dependon: Optional[List[str]] - downloadable_a...
miurahr__aqtinstall-567
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "aqt/installer.py:Cli.run_install_qt", "aqt/installer.py:Cli._set_install_qt_parser", "aqt/installer.py:Cli._get_autodesktop_dir_and_arch" ], "edited_modules": [ "aqt/...
miurahr/aqtinstall
7c331f449b17d4459ce664324c65ee5d0b605bf4
Trying to install it on windows I get the error: "No module named 'aqt.version'" Hi, First of all I apologise, I think my problem is simply because I don't know how to use aqtinstall properly. I am trying to install it on windows. I just download aqt.exe and when I try to execute aqt in windows a get a error, any ca...
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 9f50251..1d6eecf 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -31,9 +31,9 @@ jobs: uses: actions/checkout@v2 - name: Initialize CodeQL - uses: github/c...
miurahr__aqtinstall-613
[ { "changes": { "added_entities": [ "aqt/helper.py:SettingsClass.__new__" ], "added_modules": null, "edited_entities": [ "aqt/helper.py:SettingsClass.__init__", "aqt/helper.py:setup_logging" ], "edited_modules": [ "aqt/helper.py:SettingsClass", ...
miurahr/aqtinstall
28e9f00cef12216ab0223ea9d13e57a43c0178ce
Setting class does not always hold the user's settings **Describe the bug** I'm working on some changes in aqt, and it seems to me that the `Settings` object is not really a singleton, but several instances exist of it. Only one of them has the user's settings. **To Reproduce** Add a line `print(f"Trusted mirrors ...
diff --git a/aqt/helper.py b/aqt/helper.py index 6208a89..2e6dee7 100644 --- a/aqt/helper.py +++ b/aqt/helper.py @@ -27,6 +27,7 @@ import os import posixpath import secrets import sys +import threading from logging import Handler, getLogger from logging.handlers import QueueListener from pathlib import Path @@ -3...
miurahr__aqtinstall-627
[ { "changes": { "added_entities": [ "aqt/updater.py:unpatched_paths", "aqt/updater.py:Updater.patch_qdevice_file" ], "added_modules": [ "aqt/updater.py:unpatched_paths" ], "edited_entities": [ "aqt/updater.py:unpatched_path", "aqt/updater.py:U...
miurahr/aqtinstall
2c8b23d649a0c856dd575cf376438b3e9edf4beb
Cannot add Qt 6.4.1 Android Arm64_v8a as a Qt Kit into QtCreator **Description** When trying to add Qt 6.4.1 Android Arm64_v8a as a Qt Version for Kit into QtCreator, I am getting an error: The qmake executable /opt/Qt/6.4.1/android_arm64_v8a/bin/qmake could not be added: "/opt/Qt/6.4.1/android_arm64_v8a/bin/qmake"...
diff --git a/aqt/updater.py b/aqt/updater.py index 60a31c0..4ccf3dc 100644 --- a/aqt/updater.py +++ b/aqt/updater.py @@ -20,10 +20,12 @@ # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. import logging import os +import re +import stat import subprocess from logging import getLogger fro...
miurahr__aqtinstall-633
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "aqt/archives.py:QtArchives.__init__" ], "edited_modules": [ "aqt/archives.py:QtArchives" ] }, "file": "aqt/archives.py" } ]
miurahr/aqtinstall
eae2568e49a340d8de8d2663fc0f5ce6a94dd5e3
ERROR: Detected a package name collision This bug happened to me when I added `qthttpserver` to an installation. Without `qthttpserver` everything installs fine. List cmd: `$ aqt list-qt linux desktop --modules 6.4.2 gcc_64` debug_info qt3d qt5compat qtcharts qtconnectivity qtdatavis3d qthttpserver qtimageformats ...
diff --git a/aqt/archives.py b/aqt/archives.py index 77eb5d7..214ca0e 100644 --- a/aqt/archives.py +++ b/aqt/archives.py @@ -22,7 +22,7 @@ import posixpath from dataclasses import dataclass, field from logging import getLogger -from typing import Dict, Iterable, List, Optional, Tuple +from typing import Dict, Iterab...
miurahr__aqtinstall-654
[ { "changes": { "added_entities": [ "aqt/installer.py:Cli._warning_unknown_qt_version", "aqt/installer.py:Cli._warning_unknown_target_arch_combo", "aqt/installer.py:Cli._warning_unexpected_modules", "aqt/installer.py:Cli._warning_on_bad_combination", "aqt/installer.p...
miurahr/aqtinstall
030b4282c971b41d9619bbc0d767ab3cb5553f60
Feature: make the message about "unknown" Qt versions and modules more friendly and easy to understand **Is your feature request related to a problem? Please describe.** Like jurplel/install-qt-action#172, there are some users who are afraid of installing unknown Qt stuff to the CI environment or their computers. To...
diff --git a/aqt/installer.py b/aqt/installer.py index c6cc0c7..4af89c8 100644 --- a/aqt/installer.py +++ b/aqt/installer.py @@ -213,6 +213,21 @@ class Cli: def _check_qt_arg_version_offline(self, version): return version in Settings.available_offline_installer_version + def _warning_unknown_qt_versi...
miurahr__aqtinstall-657
[ { "changes": { "added_entities": null, "added_modules": [ "aqt/exceptions.py:OutOfDiskSpace", "aqt/exceptions.py:DiskAccessNotPermitted" ], "edited_entities": null, "edited_modules": null }, "file": "aqt/exceptions.py" }, { "changes": { "added_...
miurahr/aqtinstall
702a0246acacb6ab0ba56ef05b8ce4721f632e4e
Installation of 6.4.0 win64_msvc2019_64 fails on azure devops pipeline runner on windows_2019 image **Describe the bug** when I execute ` aqt install-qt --outputdir $(Build.BinariesDirectory)\\Qt windows desktop 6.4.0 win64_msvc2019_64 -m all ` the script aborts with disk full exception But this disk D drive h...
diff --git a/aqt/exceptions.py b/aqt/exceptions.py index 012a8c8..972488c 100644 --- a/aqt/exceptions.py +++ b/aqt/exceptions.py @@ -102,3 +102,11 @@ class UpdaterError(AqtException): class OutOfMemory(AqtException): pass + + +class OutOfDiskSpace(AqtException): + pass + + +class DiskAccessNotPermitted(AqtEx...
miurahr__aqtinstall-711
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "aqt/installer.py:Cli.run_install_qt", "aqt/installer.py:Cli._get_autodesktop_dir_and_arch" ], "edited_modules": [ "aqt/installer.py:Cli" ] }, "file": "aqt/insta...
miurahr/aqtinstall
4f2bdda951910cec08037a58f23c503257b38111
Error when use qmake with Qt 6 **Describe the bug** Hi, Im trying use `qmake` with Qt 6 on Windows, but i always get error: ``` https://github.com/paulocoutinhox/prprojector/actions/runs/6080974346/job/16495785923#step:9:239 ``` Can you help me understand? **To Reproduce** ``` git clone https://githu...
diff --git a/.readthedocs.yml b/.readthedocs.yml index 0b53257..c8eed33 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -13,7 +13,6 @@ python: path: . extra_requirements: - docs - system_packages: false build: os: ubuntu-22.04 diff --git a/aqt/installer.py b/aqt/installer.p...
mixpanel__mixpanel-python-64
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mixpanel/__init__.py:BufferedConsumer.__init__", "mixpanel/__init__.py:BufferedConsumer.send", "mixpanel/__init__.py:BufferedConsumer._flush_endpoint" ], "edited_modules": [ ...
mixpanel/mixpanel-python
40c98e0b285898384cc4aa6cc803d8d0f46f6218
flush function for Buffered Consumer not working Hi, in class BufferedConsumer the flush function in line 338 should change to def flush (self,api_key=None) and then in line 444-445 should change to: for endpoint in self._buffers.keys(): self._flush_endpoint(endpoint,api_key=api_key)
diff --git a/mixpanel/__init__.py b/mixpanel/__init__.py index fc17602..e8ab564 100644 --- a/mixpanel/__init__.py +++ b/mixpanel/__init__.py @@ -345,6 +345,7 @@ class Consumer(object): :param endpoint: the Mixpanel API endpoint appropriate for the message :type endpoint: "events" | "people" | "imports...
miyuchina__mistletoe-57
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mistletoe/block_token.py:ListItem.read" ], "edited_modules": [ "mistletoe/block_token.py:ListItem" ] }, "file": "mistletoe/block_token.py" } ]
miyuchina/mistletoe
8cca7a53626e8c25039423dc9cd8db843447f813
lists should not contain <p> Why do you use &lt;p&gt;&lt;/p&gt; in lists ? This is not the way Commonmark does it. Other strange behavior: in the same document, some lists get the paragraphs, some others don't. Could you explain how it is supposed to work ?
diff --git a/mistletoe/block_token.py b/mistletoe/block_token.py index 0a4c2c0..7eeb3f1 100644 --- a/mistletoe/block_token.py +++ b/mistletoe/block_token.py @@ -574,6 +574,9 @@ class ListItem(BlockToken): if not cls.in_continuation(next_line, prepend): # directly followed by another token ...
mjs__imapclient-244
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "imapclient/response_types.py:Address.__str__" ], "edited_modules": [ "imapclient/response_types.py:Address" ] }, "file": "imapclient/response_types.py" } ]
mjs/imapclient
9e82aa8e7fe0a8cd3b9b6318579a873c9a1bdde6
Avoid TypeError when using `str` on Address tuple Some emails have no mailbox or host (e.g. `undisclosed-recipients` case), so when parsing the ENVELOPE of the message using imapclient, we can get something like this: ``` In [8]: from imapclient.response_types import * In [9]: addr = Address('Anonymous', None, Non...
diff --git a/imapclient/response_types.py b/imapclient/response_types.py index ea5d71d..c35dd00 100644 --- a/imapclient/response_types.py +++ b/imapclient/response_types.py @@ -80,9 +80,12 @@ class Address(namedtuple("Address", "name route mailbox host")): """ def __str__(self): - return formataddr((...
mjs__imapclient-271
[ { "changes": { "added_entities": [ "imapclient/imapclient.py:IMAPClient.enable" ], "added_modules": null, "edited_entities": [ "imapclient/imapclient.py:IMAPClient._raw_command_untagged", "imapclient/imapclient.py:IMAPClient._raw_command" ], "edited_mo...
mjs/imapclient
82d1a275861b00b70bddf1127e1953d4daa93383
Support ENABLE extension Originally reported by: **Menno Smits (Bitbucket: [mjs0](https://bitbucket.org/mjs0))** --- https://tools.ietf.org/html/rfc5161 Use this to turn on CONDSTORE in livetests (better than current hack for Dovecot) --- - Bitbucket: https://bitbucket.org/mjs0/imapclient/issue/139
diff --git a/imapclient/imapclient.py b/imapclient/imapclient.py index 4452d6f..ebc13dd 100644 --- a/imapclient/imapclient.py +++ b/imapclient/imapclient.py @@ -39,11 +39,11 @@ __all__ = ['IMAPClient', 'DELETED', 'SEEN', 'ANSWERED', 'FLAGGED', 'DRAFT', 'REC # We also offer the gmail-specific XLIST command... if 'XL...
mjs__imapclient-277
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "imapclient/config.py:get_config_defaults" ], "edited_modules": [ "imapclient/config.py:get_config_defaults" ] }, "file": "imapclient/config.py" }, { "changes": ...
mjs/imapclient
f849e44f5cbcaf40433612875b5e84730b1fe358
Make SSL connections the default In 2017 there is little reasons to connect to a mailbox over plain text. As this is a breaking change I propose to do it for 2.0.0.
diff --git a/doc/src/releases.rst b/doc/src/releases.rst index 17c0f07..3e6c672 100644 --- a/doc/src/releases.rst +++ b/doc/src/releases.rst @@ -6,6 +6,7 @@ Changed ------- +- Connections to servers use SSL/TLS by default (`ssl=True`) - XXX Use built-in TLS when sensible. - Logs are now handled by the Python logg...
mjs__imapclient-279
[ { "changes": { "added_entities": [ "imapclient/imapclient.py:IMAPClient.__enter__", "imapclient/imapclient.py:IMAPClient.__exit__" ], "added_modules": null, "edited_entities": [ "imapclient/imapclient.py:IMAPClient.__init__" ], "edited_modules": [ ...
mjs/imapclient
11700af6595fc3d92eadb54228fe3ddaa3c4b693
Introduce a context manager for IMAPClient instances A context manager would prevent accidentally leaking sockets when the user forgets to call `logout()`.
diff --git a/doc/src/advanced.rst b/doc/src/advanced.rst index a151e38..7356328 100644 --- a/doc/src/advanced.rst +++ b/doc/src/advanced.rst @@ -3,6 +3,33 @@ Advanced Usage This document covers some more advanced features and tips for handling specific usages. +Cleaning Up Connections +~~~~~~~~~~~~~~~~~~~~~~~ + +To...
mjs__imapclient-291
[ { "changes": { "added_entities": null, "added_modules": [ "imapclient/exceptions.py:ProtocolError" ], "edited_entities": null, "edited_modules": null }, "file": "imapclient/exceptions.py" }, { "changes": { "added_entities": null, "added_modules":...
mjs/imapclient
f02732d6a55f3f3b55ea20a5451693d7869cd419
Avoid using assert when parsing server response Some servers are not totally compliant with the IMAP protocol or sometimes give buggy output like: `"TEXT" "PLAIN" ("charset " " "utf-8"")`. I believe IMAPClient should not `assert` when parsing the response from a server. Assert makes it hard to recover from such erro...
diff --git a/doc/src/releases.rst b/doc/src/releases.rst index e2a07dd..95d087c 100644 --- a/doc/src/releases.rst +++ b/doc/src/releases.rst @@ -21,6 +21,8 @@ Changed are not used anymore. - More precise exceptions available in `imapclient.exceptions` are raised when an error happens +- `imapclient.exceptions.Pr...
mjs__imapclient-300
[ { "changes": { "added_entities": [ "imapclient/imap_utf7.py:base64_utf7_encode", "imapclient/imap_utf7.py:base64_utf7_decode" ], "added_modules": [ "imapclient/imap_utf7.py:base64_utf7_encode", "imapclient/imap_utf7.py:base64_utf7_decode" ], "edited_...
mjs/imapclient
42e118739e0ccca49c372bab35574acc9ec7e502
Investigate claims that UTF-7 encoding/decoding doesn't always work Originally reported by: **Menno Smits (Bitbucket: [mjs0](https://bitbucket.org/mjs0))** --- See: https://github.com/MarechJ/py3_imap_utf7 If/when any problems are fixed, ask the author to update the page. Also add comments to SO where this is menti...
diff --git a/doc/src/api.rst b/doc/src/api.rst index 3bbfebd..50a2a0e 100644 --- a/doc/src/api.rst +++ b/doc/src/api.rst @@ -21,8 +21,8 @@ are encountered during parsing. Exceptions ~~~~~~~~~~ -IMAPClient wraps exceptions raised by imaplib to ease the error handling. -All the exceptions related to IMAP errors are d...
mjs__imapclient-316
[ { "changes": { "added_entities": [ "imapclient/imapclient.py:utf7_decode_sequence" ], "added_modules": [ "imapclient/imapclient.py:utf7_decode_sequence" ], "edited_entities": [ "imapclient/imapclient.py:IMAPClient.get_gmail_labels", "imapclient/imapc...
mjs/imapclient
2abdac690fa653fa2d0d55b7617be24101597698
UTF-7 decoding of Gmail labels Originally reported by: **Menno Smits (Bitbucket: [mjs0](https://bitbucket.org/mjs0))** --- As worked around here in the Nylas sync engine: https://github.com/nylas/sync-engine/commit/fdeee59be8feea1c4fac4d9972b3462d128c25f2 Fixing this might break backwards compatibility (so might req...
diff --git a/doc/src/releases.rst b/doc/src/releases.rst index 7319e53..791ce0c 100644 --- a/doc/src/releases.rst +++ b/doc/src/releases.rst @@ -19,6 +19,11 @@ Changed are not used anymore. - More precise exceptions available in `imapclient.exceptions` are raised when an error happens +- GMail labels are now str...
mkaz__termgraph-40
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "setup.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "termgraph/termgraph.py:stac...
mkaz/termgraph
ca79e57b02f321a2f23c44677014e9e7013c0436
Bad display with --stacked The display in column doesn't work properly with the --stacked option. ``` Example1: ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 22.00 Longertext example : ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 36.00 ``` I have to use `column -t -s ':'` to clean it up.
diff --git a/setup.py b/setup.py index 7b9e577..389e794 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ setup( name='termgraph', packages=['termgraph'], entry_points={'console_scripts': ['termgraph=termgraph.termgraph:main']}, - version='0.1.4', + version='0.1.5', author="mkaz", au...
mkaz__termgraph-87
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "termgraph/termgraph.py:normalize" ], "edited_modules": [ "termgraph/termgraph.py:normalize" ] }, "file": "termgraph/termgraph.py" } ]
mkaz/termgraph
e8c211bcb0c4f403fe86c9290c24262fd5d334e7
ZeroDivisionError on empty data # Background When passing in data containing all 0's termgraph will return a ZeroDivisionError. Ideally termgraph should accept this value and return an empty graph. ## Example Code ``` termgraph.chart( colors=None, data=[0, 0] args={'width': 100, 'format': '{:,...
diff --git a/termgraph/termgraph.py b/termgraph/termgraph.py index bacc4c0..ee2c796 100755 --- a/termgraph/termgraph.py +++ b/termgraph/termgraph.py @@ -165,6 +165,9 @@ def normalize(data: List, width: int) -> List: min_datum = find_min(data_offset) max_datum = find_max(data_offset) + if min_datum == max...
mkdocs__mkdocs-1009
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/__main__.py:serve_command", "mkdocs/__main__.py:build_command", "mkdocs/__main__.py:json_command", "mkdocs/__main__.py:gh_deploy_command" ], "edited_modules": ...
mkdocs/mkdocs
2e4c2afca10cfd697ba5ca820dd5212c4b1e9089
Configuration strict option not checking broken links I was testing mkdocs earlier this year and was using "strict: true" in my mkdocs.yml. If I recall correctly, it was working then and building would break if there was a broken link in the .md. However I am now using v0.14.0 and this config option seems to have no...
diff --git a/docs/about/release-notes.md b/docs/about/release-notes.md index c8e491f8..426ef3c8 100644 --- a/docs/about/release-notes.md +++ b/docs/about/release-notes.md @@ -138,6 +138,8 @@ pages. * Change "Edit on..." links to point directly to the file in the source repository, rather than to the root of the rep...
mkdocs__mkdocs-1018
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/__main__.py:serve_command", "mkdocs/__main__.py:build_command", "mkdocs/__main__.py:json_command", "mkdocs/__main__.py:gh_deploy_command" ], "edited_modules": ...
mkdocs/mkdocs
63558bffe33ccb59d10b939641ed546e48c95144
Improve CLI tests. The CLI tests use Mock objects (as they should), but all they do is confirm that the proper function was called once. There is no testing of the CLI options and what values are passed in (either the default values or custom values defined by the user). For example, when working on #997, both @aeslaug...
diff --git a/mkdocs/__main__.py b/mkdocs/__main__.py index c9d519fc..016564b3 100644 --- a/mkdocs/__main__.py +++ b/mkdocs/__main__.py @@ -67,7 +67,7 @@ def common_options(f): return f -clean_help = "Remove old files from the site_dir before building" +clean_help = "Remove old files from the site_dir before bu...
mkdocs__mkdocs-1020
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/config/base.py:Config._pre_validate", "mkdocs/config/base.py:Config._post_validate", "mkdocs/config/base.py:Config.validate" ], "edited_modules": [ "mkdocs/con...
mkdocs/mkdocs
343b820f9949787943fa1e230635674a2b304cc7
Static resources (especially CSS/JS!) shouldn't be automatically included (Pulling this out from #972.) Currently, MkDocs automatically includes all static resources from the docs dir in a build. This can cause issues if some files aren't meant to be included but are located in the docs dir. For example, this could ...
diff --git a/docs/about/release-notes.md b/docs/about/release-notes.md index b8d9926b..fdb21e46 100644 --- a/docs/about/release-notes.md +++ b/docs/about/release-notes.md @@ -92,6 +92,20 @@ to support such customization. [blocks]: ../user-guide/styling-your-docs/#overriding-template-blocks +#### Auto-Populated `ex...
mkdocs__mkdocs-1023
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/__main__.py:gh_deploy_command" ], "edited_modules": [ "mkdocs/__main__.py:gh_deploy_command" ] }, "file": "mkdocs/__main__.py" }, { "changes": { "a...
mkdocs/mkdocs
582523bcd362cc689d5a229c304055fcb3c65a69
Sometimes deploy to gh-pages fails Encountered while fixing #966. Originally added `--force` in #967, but it makes more sense to do some more research on the root cause. Possibly: - GH token permissions - Same GH token used on multiple machines(?) - Some git call is failing silently Will investigate repro ...
diff --git a/docs/about/release-notes.md b/docs/about/release-notes.md index fdb21e46..e52abf87 100644 --- a/docs/about/release-notes.md +++ b/docs/about/release-notes.md @@ -164,6 +164,8 @@ better conform with the documented [layout]. via the new [`edit_uri`](../user-guide/configuration.md#edit_uri) setting. * Bug...
mkdocs__mkdocs-1105
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/config/config_options.py:ThemeDir.post_validation" ], "edited_modules": [ "mkdocs/config/config_options.py:ThemeDir" ] }, "file": "mkdocs/config/config_options.p...
mkdocs/mkdocs
ecc0550c7110649d94d874ccff7efa69907de35b
Broken installed themes should not break MkDocs As highlighted in [this thread][1], a broken (not importable) installed theme will break MkDocs even if the theme is not being used by the project. In [the CLI][2] we call [`utils.get_theme_names`][0] and assign the result to a global variable to display in the CLI hel...
diff --git a/mkdocs/config/config_options.py b/mkdocs/config/config_options.py index 3e7e2073..7fa3ac6f 100644 --- a/mkdocs/config/config_options.py +++ b/mkdocs/config/config_options.py @@ -285,7 +285,7 @@ class ThemeDir(Dir): package_dir = os.path.abspath( os.path.join(os.path.dirname(__file__...
mkdocs__mkdocs-1162
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/config/config_options.py:SiteDir.post_validation" ], "edited_modules": [ "mkdocs/config/config_options.py:SiteDir" ] }, "file": "mkdocs/config/config_options.py"...
mkdocs/mkdocs
571bbbfb91eba00136f2b4e2131f1f2fc759b015
Advice: Do not set site_dir to / Just a warning to anyone who might want to change their project build directory to the root of the project, with a .yml file like this: ```yaml site_name: My Docs site_dir: / pages: - Home: index.md theme: material ``` It won't do what you think it will. If you run ```mkdo...
diff --git a/docs/about/release-notes.md b/docs/about/release-notes.md index ea3550fc..7a96769c 100644 --- a/docs/about/release-notes.md +++ b/docs/about/release-notes.md @@ -21,6 +21,14 @@ The current and past members of the MkDocs team. * [@d0ugal](https://github.com/d0ugal/) * [@waylan](https://github.com/waylan/)...
mkdocs__mkdocs-1294
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/utils/__init__.py:copy_file" ], "edited_modules": [ "mkdocs/utils/__init__.py:copy_file" ] }, "file": "mkdocs/utils/__init__.py" } ]
mkdocs/mkdocs
b8123ffb86da6c2eef114db0c2eea7c6315a281a
Permission denied when copying a template from a read-only path There are two things uncommon about my setup that cause the error. 1. I have installed mkdocs using [Nix](https://nixos.org/nix/). Long story short, all the mkdocs files (the ones in `lib/python2.7/site-packages/mkdocs`) have mode 0444 (that is, read-on...
diff --git a/mkdocs/utils/__init__.py b/mkdocs/utils/__init__.py index eb9f7a42..2b335111 100644 --- a/mkdocs/utils/__init__.py +++ b/mkdocs/utils/__init__.py @@ -103,12 +103,15 @@ def reduce_list(data_set): def copy_file(source_path, output_path): """ Copy source_path to output_path, making sure any parent ...
mkdocs__mkdocs-1330
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/config/config_options.py:RepoURL.post_validation" ], "edited_modules": [ "mkdocs/config/config_options.py:RepoURL" ] }, "file": "mkdocs/config/config_options.py"...
mkdocs/mkdocs
fd0428543225f6fe5795b294235b12c540092aad
Broken 'Edit on GitHub' link We recently updated to 0.17.0 and it seems to have broken our 'Edit on GitHub' link, you can see this in action [here](https://opensciencegrid.github.io/docs/). The link given is https://github.com/edit/master/docs/index.md when it should be https://github.com/opensciencegrid/docs/edit/mast...
diff --git a/docs/about/release-notes.md b/docs/about/release-notes.md index 22e2d900..64dc8a9b 100644 --- a/docs/about/release-notes.md +++ b/docs/about/release-notes.md @@ -23,6 +23,7 @@ The current and past members of the MkDocs team. ## Development Version +* Bugfix: Support `repo_url` with missing ending slas...
mkdocs__mkdocs-1376
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/config/base.py:Config.__init__", "mkdocs/config/base.py:load_config" ], "edited_modules": [ "mkdocs/config/base.py:Config", "mkdocs/config/base.py:load_config"...
mkdocs/mkdocs
d6449f90808b50979694a3e91b49b532f3bf785d
Paths are relative to you, not the config file You can do `mkdocs build --config-file=path/to/mkdocs.yml` but any configuration values in that file are relative to your current working directory. This seems wrong to me, but it's only something I've ran into when trying to automate MkDocs builds (for integration testin...
diff --git a/docs/about/release-notes.md b/docs/about/release-notes.md index e5a2abaf..9ae74fb1 100644 --- a/docs/about/release-notes.md +++ b/docs/about/release-notes.md @@ -25,6 +25,25 @@ The current and past members of the MkDocs team. ### Major Additions to Development Version +#### Path Based Settings are Rel...
mkdocs__mkdocs-1459
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/config/config_options.py:MarkdownExtensions.run_validation" ], "edited_modules": [ "mkdocs/config/config_options.py:MarkdownExtensions" ] }, "file": "mkdocs/conf...
mkdocs/mkdocs
d4c5832876accc7e59293852d86810585b97674c
Improve error message for missing Markdown extensions I just had to install that manually.
diff --git a/docs/about/release-notes.md b/docs/about/release-notes.md index 9ae74fb1..6f0f3518 100644 --- a/docs/about/release-notes.md +++ b/docs/about/release-notes.md @@ -66,6 +66,7 @@ authors should review how [search and themes] interact. ### Other Changes and Additions to Development Version +* Improve Mark...
mkdocs__mkdocs-1467
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/__main__.py:gh_deploy_command" ], "edited_modules": [ "mkdocs/__main__.py:gh_deploy_command" ] }, "file": "mkdocs/__main__.py" }, { "changes": { "a...
mkdocs/mkdocs
ee37665418a8c1a20eff6041fe17d0d107dde07c
Warn users if they are using an old/different version pip has a nice feature where they warn users if they are using an old version and prompt them to update. I think it would be neat to add something like this. The code they use for it is here: https://github.com/pypa/pip/blob/7.0.3/pip/utils/outdated.py#L95
diff --git a/docs/about/release-notes.md b/docs/about/release-notes.md index 6f0f3518..7afca02a 100644 --- a/docs/about/release-notes.md +++ b/docs/about/release-notes.md @@ -66,6 +66,7 @@ authors should review how [search and themes] interact. ### Other Changes and Additions to Development Version +* Add MkDocs v...
mkdocs__mkdocs-2290
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/config/config_options.py:MarkdownExtensions.__init__", "mkdocs/config/config_options.py:MarkdownExtensions.run_validation" ], "edited_modules": [ "mkdocs/config/config...
mkdocs/mkdocs
d6bfb1bc6f63d122556865aeee4ded17c536cb03
Config.validate keeps 'mdx_configs' values across different instances ```python import mkdocs.config # 1. OK conf = mkdocs.config.Config(mkdocs.config.DEFAULT_SCHEMA) conf.load_dict({'site_name': 'foo'}) conf.validate() assert conf['mdx_configs'].get('toc') == None # 2. OK conf = mkdocs.config.Config(mkdocs...
diff --git a/mkdocs/config/config_options.py b/mkdocs/config/config_options.py index 5e654295..aea40dd0 100644 --- a/mkdocs/config/config_options.py +++ b/mkdocs/config/config_options.py @@ -623,7 +623,6 @@ class MarkdownExtensions(OptionallyRequired): super().__init__(**kwargs) self.builtins = builti...
mkdocs__mkdocs-2507
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/livereload/__init__.py:LiveReloadServer._serve_request" ], "edited_modules": [ "mkdocs/livereload/__init__.py:LiveReloadServer" ] }, "file": "mkdocs/livereload/_...
mkdocs/mkdocs
e0ba6d7bd970123e73f70f06ef76ed48e8e56a27
V.1.2: Markdown links earlier processed as html files, are now processed as directories The new version brings a curious issue. With versions < 1.2, I used internal links in this way, to make a call to page `bar.md`, from page `foo.md`: ```markdown [linking to content in bar](../bar#content) ``` Which was trans...
diff --git a/mkdocs/livereload/__init__.py b/mkdocs/livereload/__init__.py index 83803e0a..c9f7afa8 100644 --- a/mkdocs/livereload/__init__.py +++ b/mkdocs/livereload/__init__.py @@ -183,10 +183,10 @@ class LiveReloadServer(socketserver.ThreadingMixIn, wsgiref.simple_server.WSGISe if path == "/js/livereload.js...
mkdocs__mkdocs-2733
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/config/config_options.py:RepoURL.post_validation" ], "edited_modules": [ "mkdocs/config/config_options.py:RepoURL" ] }, "file": "mkdocs/config/config_options.py"...
mkdocs/mkdocs
91923f507aa54db94ba34559c96532bf274eca0a
Defining `edit_uri` as anything other than an empty string modifies the `repo_url` ### Description Defining `edit_uri` as anything other than an empty string adds a forward slash to the `repo_url` link for the button on the top right ### Expected behavior The `repo_url` link for the button on the top right is ...
diff --git a/mkdocs/config/config_options.py b/mkdocs/config/config_options.py index 9f615ca9..7c0db7c5 100644 --- a/mkdocs/config/config_options.py +++ b/mkdocs/config/config_options.py @@ -354,12 +354,8 @@ class RepoURL(URL): edit_uri = '' # ensure a well-formed edit_uri - if edit_u...
mkdocs__mkdocs-2852
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/structure/files.py:get_files" ], "edited_modules": [ "mkdocs/structure/files.py:get_files" ] }, "file": "mkdocs/structure/files.py" } ]
mkdocs/mkdocs
82bd8ba5ff177347d094b095bd623a85aaa4c80f
What is the expected behavior of `readme.md`? According to the docs, [Writing-your-docs:Index-pages](https://www.mkdocs.org/user-guide/writing-your-docs/#index-pages), `README.md` will render into `index.html`. There is no mention of `readme.md`. The implementation reflects this behavior: https://github.com/mkdocs/mkdo...
diff --git a/mkdocs/structure/files.py b/mkdocs/structure/files.py index 80aa8c3d..ada0c95a 100644 --- a/mkdocs/structure/files.py +++ b/mkdocs/structure/files.py @@ -243,8 +243,8 @@ def get_files(config): if _filter_paths(basename=filename, path=path, is_dir=False, exclude=exclude): conti...
mkdocs__mkdocs-2916
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/config/config_options.py:SubConfig.__init__", "mkdocs/config/config_options.py:SubConfig.validate", "mkdocs/config/config_options.py:SubConfig.run_validation" ], "edit...
mkdocs/mkdocs
98672b85f60c66cb8479860d5e074a612b7764b2
ConfigItems overwrites all data with last entry in the list of config items `ConfigItems` does not work as expected and results in a list of items that contains only the same values. ### Reproduciton `plugin.py` ```python class TestPlugin(BasePlugin): config_scheme = ( ( "items", mkdo...
diff --git a/mkdocs/config/config_options.py b/mkdocs/config/config_options.py index aea40dd0..8bec5b42 100644 --- a/mkdocs/config/config_options.py +++ b/mkdocs/config/config_options.py @@ -49,19 +49,17 @@ class BaseConfigOption: """ -class SubConfig(BaseConfigOption, Config): +class SubConfig(BaseConfigO...
mkdocs__mkdocs-2959
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/plugins.py:get_plugins" ], "edited_modules": [ "mkdocs/plugins.py:get_plugins" ] }, "file": "mkdocs/plugins.py" }, { "changes": { "added_entities":...
mkdocs/mkdocs
3896a82ebf32a23cb63f53b1e84285ff7ddb2333
No python version marker on importlib-metadata ### Discussed in https://github.com/mkdocs/mkdocs/discussions/2956 <div type='discussions-op-text'> <sup>Originally posted by **pawamoy** August 31, 2022</sup> The `importlib-metadata` dependency was bumped to `>=4.3` in https://github.com/mkdocs/mkdocs/commit/ec9b5...
diff --git a/mkdocs/plugins.py b/mkdocs/plugins.py index 65631468..68a24e3b 100644 --- a/mkdocs/plugins.py +++ b/mkdocs/plugins.py @@ -5,10 +5,15 @@ Implements the plugin API for MkDocs. from __future__ import annotations import logging +import sys from collections import OrderedDict from typing import Any, Calla...
mkdocs__mkdocs-2972
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "docs/img/plugin-events.py:ensure_order", "docs/img/plugin-events.py:event" ], "edited_modules": [ "docs/img/plugin-events.py:ensure_order", "docs/img/plugin-events.py...
mkdocs/mkdocs
9ac7322b00838362783cb4681ee542698b424289
Feature Request: `on_cleanup` event type Hello, I'm working on a plugin that creates temporary files that should be cleaned up at the end. i'm having an issue caused by `on_post_build` firing multiple times (as it should) during `mkdocs serve`. I'd like to propose an `on_cleanup` event type that runs once and o...
diff --git a/docs/dev-guide/plugins.md b/docs/dev-guide/plugins.md index 2d692fc6..f71f0dc7 100644 --- a/docs/dev-guide/plugins.md +++ b/docs/dev-guide/plugins.md @@ -157,11 +157,23 @@ There are three kinds of events: [Global Events], [Page Events] and </details> <br> -#### Global Events +#### One-time Events -Gl...
mkdocs__mkdocs-3010
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/structure/files.py:Files.__init__", "mkdocs/structure/files.py:Files.append", "mkdocs/structure/files.py:Files.remove", "mkdocs/structure/files.py:Files.documentation_page...
mkdocs/mkdocs
2a232bf153a5bc22b73f5142030e1101ee96d5b2
relative url start with "../" in nav no longer works When I tried to make a link to an external resource in `nav` section of mkdos.yml, using the following example, the actual output HTML omits "../" in the relative URL and I couldn't point to external resources out of mkdocs with relative URL. https://www.mkdocs.org/...
diff --git a/mkdocs/structure/files.py b/mkdocs/structure/files.py index e3ed45a7..dbef68a5 100644 --- a/mkdocs/structure/files.py +++ b/mkdocs/structure/files.py @@ -38,6 +38,7 @@ class Files: def __init__(self, files: List[File]) -> None: self._files = files self._src_uris: Optional[Dict[str, F...
mkdocs__mkdocs-3016
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/config/base.py:load_config" ], "edited_modules": [ "mkdocs/config/base.py:load_config" ] }, "file": "mkdocs/config/base.py" }, { "changes": { "adde...
mkdocs/mkdocs
0584e51e7d151c51579c94e80ca06aa4ea9bafe5
Unclear issue when trying to build the site Hi, on two different machines (one macOS, the other Ubuntu with a fresh install of mkdocs), when I try to build the site, I get these very unclear error messages. Would anyone have an idea if the issue is with the mkdocs files or python itself? Running python 3.10 on the M...
diff --git a/mkdocs/config/base.py b/mkdocs/config/base.py index 25631c33..9c99018f 100644 --- a/mkdocs/config/base.py +++ b/mkdocs/config/base.py @@ -363,13 +363,13 @@ def load_config(config_file: Optional[Union[str, IO]] = None, **kwargs) -> MkDoc errors, warnings = cfg.validate() for config_name, warning...
mkdocs__mkdocs-3022
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/livereload/__init__.py:LiveReloadServer._serve_request" ], "edited_modules": [ "mkdocs/livereload/__init__.py:LiveReloadServer" ] }, "file": "mkdocs/livereload/_...
mkdocs/mkdocs
1fa2af7926b334a5b02229c3ea1649ff04955b77
Link to paragraph on index.md breaks I try to link from a subpage to a paragraph on my root index.md: `[MyLink](../index.md#contact)` This results when clicking in a 404 trying to open the following URL: `documentation#contact` Correct would be to link to `documentation/#contact` (note the slash) Jus...
diff --git a/mkdocs/livereload/__init__.py b/mkdocs/livereload/__init__.py index c2e52ab8..e136ff05 100644 --- a/mkdocs/livereload/__init__.py +++ b/mkdocs/livereload/__init__.py @@ -246,7 +246,7 @@ class LiveReloadServer(socketserver.ThreadingMixIn, wsgiref.simple_server.WSGISe self._epoch_con...
mkdocs__mkdocs-3191
[ { "changes": { "added_entities": [ "mkdocs/structure/pages.py:Page.title", "mkdocs/structure/pages.py:_ExtractTitleExtension.__init__", "mkdocs/structure/pages.py:_ExtractTitleExtension.extendMarkdown", "mkdocs/structure/pages.py:_ExtractTitleTreeprocessor.__init__", ...
mkdocs/mkdocs
8ecdfb2510a481c89d0659ba103aa9a87eb94d62
Add support to extract underline-ish title (setext-style headings) The util function [`get_markdown_title`](https://github.com/mkdocs/mkdocs/blob/master/mkdocs/utils/__init__.py#L332) supports only ATX-style headers. It should also support: ```markdown A level-one heading =================== A level-two heading ...
diff --git a/docs/user-guide/writing-your-docs.md b/docs/user-guide/writing-your-docs.md index 4697abd5..66a10067 100644 --- a/docs/user-guide/writing-your-docs.md +++ b/docs/user-guide/writing-your-docs.md @@ -380,10 +380,14 @@ specific page. The following keys are supported: MkDocs will attempt to determine the ...
mkdocs__mkdocs-3224
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/__main__.py:_enable_warnings", "mkdocs/__main__.py:serve_command" ], "edited_modules": [ "mkdocs/__main__.py:_enable_warnings", "mkdocs/__main__.py:serve_comma...
mkdocs/mkdocs
f2d14c52a7381cfe8a69f46c1deb552935838e69
Hidden files/directories Revival of #1738. Could you consider adding an option to serve hidden static files and templates? I cannot see any reason why one wouldn't want to serve these hidden files, and in particular the `.well-known` directory is used for a lot of things that one could want in their documentation, i...
diff --git a/.flake8 b/.flake8 index f074e308..8b95ac5a 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,2 @@ [flake8] -max-line-length = 119 -extend-ignore = E203, TC004 +extend-ignore = E501, E203, TC004 diff --git a/docs/user-guide/configuration.md b/docs/user-guide/configuration.md index f4497024..1fb55c94 100644 ---...
mkdocs__mkdocs-3320
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "mkdocs/__main__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/commands/s...
mkdocs/mkdocs
2865b0fcc4dd9b636963a8fd7e306725e1ac8ab2
--no-livereload not usable in 1.5 Hello, the option `--no-livereload` on `mkdocs serve` is no longer usable since version 1.5. The livereload function is still active.
diff --git a/mkdocs/__main__.py b/mkdocs/__main__.py index bf589b75..77618fb2 100644 --- a/mkdocs/__main__.py +++ b/mkdocs/__main__.py @@ -251,8 +251,8 @@ def cli(): @cli.command(name="serve") @click.option('-a', '--dev-addr', help=dev_addr_help, metavar='<IP:PORT>') -@click.option('--livereload', 'livereload', fla...
mkdocs__mkdocs-3367
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/structure/nav.py:_data_to_navigation" ], "edited_modules": [ "mkdocs/structure/nav.py:_data_to_navigation" ] }, "file": "mkdocs/structure/nav.py" } ]
mkdocs/mkdocs
b0915b4697ffb9b0c538ec8d4b0b8976a28b0e2c
Allow plugins to override `Page` when populating navigation Following up on https://github.com/squidfunk/mkdocs-material/issues/5909#issuecomment-1696958973, I'm suggesting to adjust the logic that MkDocs implies to create `Page` objects from/in files, i.e., `File` objects. Currently, [`_data_to_navigation`](https://gi...
diff --git a/mkdocs/structure/nav.py b/mkdocs/structure/nav.py index e6744190..f01d9176 100644 --- a/mkdocs/structure/nav.py +++ b/mkdocs/structure/nav.py @@ -1,6 +1,7 @@ from __future__ import annotations import logging +import warnings from typing import TYPE_CHECKING, Iterator, TypeVar from urllib.parse import...
mkdocs__mkdocs-3463
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/__main__.py:State.__init__", "mkdocs/__main__.py:verbose_option", "mkdocs/__main__.py:quiet_option" ], "edited_modules": [ "mkdocs/__main__.py:State", ...
mkdocs/mkdocs
dc45916aa1cc4b4d4796dd45656bd1ff60d4ce44
Validate links to anchors on Markdown documents We do a reasonable job of checking that links to local markdown files are valid. However, the standard pattern for linking to sections is to use anchors in headers. This doesn't work well if the title is moved or renamed. With the TOC code, we should be able to keep a se...
diff --git a/.markdownlintrc b/.markdownlintrc index aa9fc26c..c0e8a9b3 100644 --- a/.markdownlintrc +++ b/.markdownlintrc @@ -20,5 +20,8 @@ "MD024": { "siblings_only": true }, // Allow inline HTML - "MD033": false + "MD033": false, + + // Disable named references validation + "MD052": false } diff --git a...
mkdocs__mkdocs-3466
[ { "changes": { "added_entities": [ "mkdocs/config/config_options.py:MarkdownExtensions.pre_validation" ], "added_modules": null, "edited_entities": [ "mkdocs/config/config_options.py:MarkdownExtensions.post_validation" ], "edited_modules": [ "mkdocs/co...
mkdocs/mkdocs
dc45916aa1cc4b4d4796dd45656bd1ff60d4ce44
Wrong example for `!relative` option The Configuration page lists an example using `pymdownx.snippets` for the `!relative` YAML tag. The issue with this example is, that the `base_path` option of snippets is expecting a list and not a single String, which breaks the configuration itself. In fact, the relative optio...
diff --git a/mkdocs/config/config_options.py b/mkdocs/config/config_options.py index aacff403..9b16e302 100644 --- a/mkdocs/config/config_options.py +++ b/mkdocs/config/config_options.py @@ -10,6 +10,7 @@ import traceback import types import warnings from collections import Counter, UserString +from types import Sim...
mkdocs__mkdocs-3485
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/config/config_options.py:_LogLevel.run_validation" ], "edited_modules": [ "mkdocs/config/config_options.py:_LogLevel" ] }, "file": "mkdocs/config/config_options....
mkdocs/mkdocs
9e443d212058306984e20ef6daf6939ca402d6bc
Support absolute URLs to internal pages # Background Version 1.0 no longer calculates filepaths back to the root. Where previously a Markdown link `[exec](/ref/exec.md)` might produce HTML with a computed path `<a href="../../../ref/exec/">exec</a>` it now simply replicates the path: `<a href="/ref/exec/">exec</a>`....
diff --git a/docs/user-guide/configuration.md b/docs/user-guide/configuration.md index b6267bee..680987e2 100644 --- a/docs/user-guide/configuration.md +++ b/docs/user-guide/configuration.md @@ -382,7 +382,9 @@ Configure the strictness of MkDocs' diagnostic messages when validating links to This is a tree of configs...
mkdocs__mkdocs-3500
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "mkdocs/__main__.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/commands/b...
mkdocs/mkdocs
646987da4502becf346bfaabb6ba40934307399b
Start the default browser, when starting the `mkdocs serve` command? See discussion in #3494 It would be good to open the page in the default browser, when typing `mkdocs serve` (as happens when running the `jupyter notebook` command. ### Various points 1. This should be done once, not every time a change i...
diff --git a/mkdocs/__main__.py b/mkdocs/__main__.py index 0df2069b..41377cf5 100644 --- a/mkdocs/__main__.py +++ b/mkdocs/__main__.py @@ -110,6 +110,7 @@ config_help = ( "Provide a specific MkDocs config. This can be a file name, or '-' to read from stdin." ) dev_addr_help = "IP address and port to serve docume...
mkdocs__mkdocs-3564
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/structure/pages.py:_ExtractTitleTreeprocessor.run", "mkdocs/structure/pages.py:_ExtractTitleTreeprocessor._register" ], "edited_modules": [ "mkdocs/structure/pages.py:...
mkdocs/mkdocs
d6fcc56a3e2b287a2dc0310a7472ba4cdb177854
Header and navigation sidebars display incorrectly arbitrary markup Hello! ## Since when does the bug occur? I recently upgraded my `mkdocs` package from `1.4.2` to `1.5.2`, and I noticed this bug when... * I don't specify a page title in `mkdocs.yml` file or in the page metadata (in yaml). * I use an emoji (HT...
diff --git a/mkdocs/structure/pages.py b/mkdocs/structure/pages.py index ef13e512..8b0a642d 100644 --- a/mkdocs/structure/pages.py +++ b/mkdocs/structure/pages.py @@ -10,6 +10,7 @@ from urllib.parse import unquote as urlunquote from urllib.parse import urljoin, urlsplit, urlunsplit import markdown +import markdown....
mkdocs__mkdocs-3700
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/theme.py:Theme._load_theme_config" ], "edited_modules": [ "mkdocs/theme.py:Theme" ] }, "file": "mkdocs/theme.py" } ]
mkdocs/mkdocs
30e8142315127bcc2b05ee14ff99f300a7126a87
Empty mkdocs_theme.yml breaks build Hello! In the docs its [stated](https://www.mkdocs.org/dev-guide/themes/#theme-configuration) that a theme **can** have an empty `mkdocs_theme.yml` file: > However, if the theme offers no configuration options, the file is still required and can be left blank. Unfortunately thi...
diff --git a/mkdocs/theme.py b/mkdocs/theme.py index bf587201..b45f1079 100644 --- a/mkdocs/theme.py +++ b/mkdocs/theme.py @@ -138,6 +138,9 @@ class Theme(MutableMapping[str, Any]): f"Please upgrade to a current version of the theme." ) + if theme_config is None: + them...
mkdocs__mkdocs-390
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/config.py:validate_config" ], "edited_modules": [ "mkdocs/config.py:validate_config" ] }, "file": "mkdocs/config.py" } ]
mkdocs/mkdocs
9b0aa1f87266f35c366ee2383987c6ba2f7b31d4
Don't allow the `site_dir` to be within the `docs_dir` This leads to the output being copied into the output during a build.
diff --git a/.travis.sh b/.travis.sh index ab95ebbc..de43ce8e 100755 --- a/.travis.sh +++ b/.travis.sh @@ -3,7 +3,7 @@ set -xe if [ $TOX_ENV == "coverage" ] then pip install coveralls - tox -e py27 + tox -e py27-unittests coveralls else tox -e $TOX_ENV diff --git a/mkdocs/config.py b/mkdocs/config.py inde...
mkdocs__mkdocs-395
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/nav.py:_generate_site_navigation" ], "edited_modules": [ "mkdocs/nav.py:_generate_site_navigation" ] }, "file": "mkdocs/nav.py" } ]
mkdocs/mkdocs
88bb485ee4bd863f1cbfed6a786ef995cc844929
Title is used as a section if file is in subdirectory Assuming I have a file at `research/stats.md` and a config line: ``` pages: - ["research/stats.md", "Stats about Our Collection"] ``` I would assume that it would generate a top-level nav item titled "Stats about Our Collection". In reality, it generate...
diff --git a/mkdocs/nav.py b/mkdocs/nav.py index c8257e12..932399b4 100644 --- a/mkdocs/nav.py +++ b/mkdocs/nav.py @@ -209,14 +209,17 @@ def _generate_site_navigation(pages_config, url_context, use_directory_urls=True ) raise exceptions.ConfigurationError(msg) + # If both the title an...
mkdocs__mkdocs-402
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "mkdocs/compat.py" }, { "changes": { "added_entities": [ "mkdocs/toc.py:TOCParser.__init__", "mkdocs/toc.py:TOCParser.handle_star...
mkdocs/mkdocs
74e60382b84b3af9969b30cc2cd9a98894d113f5
Not all headers are automatically linked I have an API reference site for a project that's hosted on ReadTheDocs using mkdocs as the documentation engine. Headers that contain things like `<code>` blocks aren't linked, while all others seem to be. I can reproduce this locally with a plain mkdocs install using the RT...
diff --git a/mkdocs/compat.py b/mkdocs/compat.py index 49bd396a..518a4937 100644 --- a/mkdocs/compat.py +++ b/mkdocs/compat.py @@ -13,6 +13,7 @@ if PY2: httpserver = httpserver import SocketServer socketserver = SocketServer + from HTMLParser import HTMLParser import itertools zip = iterto...
mkdocs__mkdocs-435
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/build.py:convert_markdown" ], "edited_modules": [ "mkdocs/build.py:convert_markdown" ] }, "file": "mkdocs/build.py" } ]
mkdocs/mkdocs
a633d92852794d8d86c289bcafa9121d680b1ae9
Support Markdown Extension Configs Mkdocs uses Python-Markdown and offers support for users to specify extensions supported by Python-Markdown. However, currently mkdocs provides no way (sort-of; see below) to pass config settings into the extensions specified. For example, I would often like to use the [TOC][1] Extens...
diff --git a/docs/user-guide/configuration.md b/docs/user-guide/configuration.md index fbd5a287..bb0ba228 100644 --- a/docs/user-guide/configuration.md +++ b/docs/user-guide/configuration.md @@ -200,6 +200,22 @@ For example, to enable the [SmartyPants typography extension][smarty], use: markdown_extensions: [sma...
mkdocs__mkdocs-443
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/main.py:main" ], "edited_modules": [ "mkdocs/main.py:main" ] }, "file": "mkdocs/main.py" }, { "changes": { "added_entities": null, "added_mod...
mkdocs/mkdocs
74d3191e419b7cb79fe66f700119ead3365f70d0
`mkdocs new` broken under python2 current master, python 2.7.9 virtualenv only top directory and mkdocs.yml created, no docs dir or index.md ``` (karasu)[lashni@orphan src]$ mkdocs new karasu Creating project directory: karasu Writing config file: karasu/mkdocs.yml Traceback (most recent call last): File "/h...
diff --git a/mkdocs/main.py b/mkdocs/main.py index d73f9091..8b9a9412 100755 --- a/mkdocs/main.py +++ b/mkdocs/main.py @@ -55,7 +55,7 @@ def main(cmd, args, options=None): build(config, clean_site_dir=clean_site_dir) gh_deploy(config) elif cmd == 'new': - new(args, options) + new(ar...
mkdocs__mkdocs-464
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/nav.py:_generate_site_navigation" ], "edited_modules": [ "mkdocs/nav.py:_generate_site_navigation" ] }, "file": "mkdocs/nav.py" } ]
mkdocs/mkdocs
852996e7e1e17e83ac650a5c5be6834323cca94e
Regression when building docs I got this when building the Django REST Framework docs with 0.12.1 $ mkdocs build Building documentation to directory: site Directory site contains stale files. Use --clean to remove them. Traceback (most recent call last): File "/home/dougalmatthews/.virtual...
diff --git a/mkdocs/nav.py b/mkdocs/nav.py index 5a215b28..ee7d6b34 100644 --- a/mkdocs/nav.py +++ b/mkdocs/nav.py @@ -224,6 +224,13 @@ def _generate_site_navigation(pages_config, url_context, use_directory_urls=True filename = path.split(os.path.sep)[0] title = filename_to_title(filename) +...
mkdocs__mkdocs-497
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/build.py:convert_markdown" ], "edited_modules": [ "mkdocs/build.py:convert_markdown" ] }, "file": "mkdocs/build.py" }, { "changes": { "added_entiti...
mkdocs/mkdocs
aa7dd95813f49ad187111af387fa3f427720184b
If no title is provided in the mkdocs.yml use the title in the markdown file As per the title, this came up in #308 but it's something I've wanted for a while.
diff --git a/mkdocs/build.py b/mkdocs/build.py index 86617977..1bc2c318 100644 --- a/mkdocs/build.py +++ b/mkdocs/build.py @@ -10,9 +10,8 @@ from jinja2.exceptions import TemplateNotFound from six.moves.urllib.parse import urljoin import jinja2 import json -import markdown -from mkdocs import nav, search, toc, uti...
mkdocs__mkdocs-501
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/config.py:validate_config" ], "edited_modules": [ "mkdocs/config.py:validate_config" ] }, "file": "mkdocs/config.py" }, { "changes": { "added_entit...
mkdocs/mkdocs
7cc47645d357fa96bf7197e30b519f331e77a3d5
Regression with automatic pages config Caused by: 7849e71b8401608f86e81b48e7b29d18e8408663
diff --git a/mkdocs.yml b/mkdocs.yml index ad7ce968..930ccd95 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,19 +4,6 @@ site_description: Project documentation with Markdown. repo_url: https://github.com/mkdocs/mkdocs/ -pages: -- Home: index.md -- User Guide: - - Writing Your Docs: user-guide/writing-your-docs....
mkdocs__mkdocs-510
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/build.py:get_global_context", "mkdocs/build.py:build_template", "mkdocs/build.py:build" ], "edited_modules": [ "mkdocs/build.py:get_global_context", "m...
mkdocs/mkdocs
5b8bae094b2cfbc3cb9ef2f77cee4c1271abd3e2
Global template variables? This is more of a question (and potentially a feature request if this isn't supported) than an issue – is there some way to declare global variables? For example, in my config.yml, I'd like to define some global variable, `version-num` that, of course, represents the current version of the...
diff --git a/docs/user-guide/configuration.md b/docs/user-guide/configuration.md index a619e5ea..97824ff0 100644 --- a/docs/user-guide/configuration.md +++ b/docs/user-guide/configuration.md @@ -163,6 +163,13 @@ Set a list of JavaScript files to be included by the theme. **default**: By default `extra_javascript` wi...
mkdocs__mkdocs-528
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/build.py:convert_markdown", "mkdocs/build.py:_build_page" ], "edited_modules": [ "mkdocs/build.py:convert_markdown", "mkdocs/build.py:_build_page" ] ...
mkdocs/mkdocs
93a181a208af0440f44e7f51081b9df9d9f30568
smartypants extension error I'm new to mkdocs and have recently installed it. I'm running on Windows and am using Python 3.4. I was walking though some of the mkdocs documentation and wanted to try to use smartypants. Initially I found out I had to install the extension itself which wasn't mentioned in the mkdocs ...
diff --git a/docs/user-guide/configuration.md b/docs/user-guide/configuration.md index 924e6207..4b9c5b8d 100644 --- a/docs/user-guide/configuration.md +++ b/docs/user-guide/configuration.md @@ -8,7 +8,7 @@ Guide to all available configuration settings. Project settings are always configured by using a YAML configur...
mkdocs__mkdocs-668
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/config/config_options.py:Extras.walk_docs_dir" ], "edited_modules": [ "mkdocs/config/config_options.py:Extras" ] }, "file": "mkdocs/config/config_options.py" }...
mkdocs/mkdocs
98814de505c9d8f1849292372eff1c5ae492261c
Ignore broken symlinks in mkdocs serve. What I am experiencing: * When I am editing `index.md` in Emacs, Emacs creates files like: ``` ➜ docs git:(master) ✗ ls -al .#* lrwxrwxrwx 1 paulproteus paulproteus 36 Jun 17 17:24 .#index.md -> paulproteus@charkha.27783:1434311808 ``` * These files are Emacs' way ...
diff --git a/mkdocs/config/config_options.py b/mkdocs/config/config_options.py index 38a61442..28ee62c8 100644 --- a/mkdocs/config/config_options.py +++ b/mkdocs/config/config_options.py @@ -332,6 +332,13 @@ class Extras(OptionallyRequired): dirs.sort() for filename in sorted(filenames): ...
mkdocs__mkdocs-975
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mkdocs/commands/build.py:get_page_context" ], "edited_modules": [ "mkdocs/commands/build.py:get_page_context" ] }, "file": "mkdocs/commands/build.py" }, { "chan...
mkdocs/mkdocs
bff2ede1229dd2a5e48d4c03bbd05e977813cfa0
'Edit on Github' should link to the page, not the project IMO, the Github link should be smartened so that its text is 'Edit on Github' and the hyperlink points to the current page. For example, see the link in upper right of http://read-the-docs.readthedocs.org/en/latest/builds.html PIP docs [do this well](http://p...
diff --git a/docs/user-guide/configuration.md b/docs/user-guide/configuration.md index 422e7c90..6fbebe23 100644 --- a/docs/user-guide/configuration.md +++ b/docs/user-guide/configuration.md @@ -50,6 +50,37 @@ When set, provides a link to your GitHub or Bitbucket repository on each page. **default**: `'GitHub'` or `'B...
mkdocs__mkdocs-996
[ { "changes": { "added_entities": [ "mkdocs/config/config_options.py:Dir.post_validation" ], "added_modules": null, "edited_entities": [ "mkdocs/config/config_options.py:SiteDir.post_validation" ], "edited_modules": [ "mkdocs/config/config_options.py:Si...
mkdocs/mkdocs
c0c4e44cafcc3537b3cb46f5541297b47f707825
Ignore the site_dir contents if it is in the docs_dir We have been telling people to not do this, but it comes up again and again. So I wonder if it is a usecase we should support? I don't really like it. Perhaps we just need to error more strongly and tell users rather than causing obscure problems.
diff --git a/docs/about/release-notes.md b/docs/about/release-notes.md index 426ef3c8..b8d9926b 100644 --- a/docs/about/release-notes.md +++ b/docs/about/release-notes.md @@ -64,9 +64,9 @@ created and third-party templates: #### Increased Template Customization. (#607) The built-in themes have been updated by havin...
mkorpela__overrides-42
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "overrides/enforce.py:EnforceOverridesMeta.handle_special_value" ], "edited_modules": [ "overrides/enforce.py:EnforceOverridesMeta" ] }, "file": "overrides/enforce.py" ...
mkorpela/overrides
8cfef0064f9a09c5b7c8d6d7a152455f1de26209
@staticmethod doesn't work with @overrides ``` @staticmethod @overrides def get_all_statements(player_index: int) -> List[Statement]: ``` AssertionError: Method get_all_statements overrides but does not have @overrides decorator ``` @overrides @staticmethod def get_all_statements(player_index: int) -> Li...
diff --git a/overrides/enforce.py b/overrides/enforce.py index 29c97ff..95e8607 100644 --- a/overrides/enforce.py +++ b/overrides/enforce.py @@ -27,7 +27,7 @@ class EnforceOverridesMeta(ABCMeta): @staticmethod def handle_special_value(value): - if isinstance(value, classmethod): + if isinstanc...
mkorpela__overrides-43
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "overrides/overrides.py:_get_base_class" ], "edited_modules": [ "overrides/overrides.py:_get_base_class" ] }, "file": "overrides/overrides.py" } ]
mkorpela/overrides
8bef1e2b44ef7c9d7a04c9e8465e3c09c5b7549b
Strange error if using a class decorator with a dynamic parameter in a function I encountered a strange error that I managed to reproduce with the following example: ``` from typing import Callable, Type from overrides import overrides class SuperClass(object): def method(self) -> int: """This i...
diff --git a/README.rst b/README.rst index 58fde28..25cc75e 100644 --- a/README.rst +++ b/README.rst @@ -1,4 +1,4 @@ -overrides +overrides ========= .. image:: https://api.travis-ci.org/mkorpela/overrides.svg @@ -46,7 +46,7 @@ Usage from overrides import overrides - class SuperClass(object): + class...
mkorpela__overrides-52
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "overrides/enforce.py:EnforceOverridesMeta.__new__" ], "edited_modules": [ "overrides/enforce.py:EnforceOverridesMeta" ] }, "file": "overrides/enforce.py" } ]
mkorpela/overrides
f8179a87450d34f3490bdaaf6df19ee8b771ebd3
Creating a method with the same name as a method in `EnforceOverridesMeta` raises Because `register` is defined in `abc.ABCMeta` and `handle_special_value` is defined in `EnforceOverridesMeta`, the code incorrectly determines that classes that redefine these methods are missing an `@overrides` decorator. Instead, `Enfo...
diff --git a/overrides/enforce.py b/overrides/enforce.py index 83b82df..42c35c6 100644 --- a/overrides/enforce.py +++ b/overrides/enforce.py @@ -123,6 +123,11 @@ def ensure_return_type_compatibility(super_sig, sub_sig): class EnforceOverridesMeta(ABCMeta): def __new__(mcls, name, bases, namespace, **kwargs): + ...
mkorpela__overrides-59
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "overrides/enforce.py:ensure_signature_is_compatible", "overrides/enforce.py:ensure_all_args_defined_in_sub", "overrides/enforce.py:ensure_return_type_compatibility" ], "edite...
mkorpela/overrides
74516d8042a95591508199d6ab15b7490bca52fb
Signature validation fails when __future__.annotations is imported When `from __future__ import annotations` is imported, all annotations are converted into strings. Currently, the code incorrectly assumes that type annotations are objects. A simple fix to this problem is to use the `typing.get_type_hints` function in ...
diff --git a/overrides/enforce.py b/overrides/enforce.py index 85a45ca..40a5535 100644 --- a/overrides/enforce.py +++ b/overrides/enforce.py @@ -2,7 +2,7 @@ import inspect from abc import ABCMeta from inspect import Parameter, Signature from types import FunctionType -from typing import Callable, TypeVar, Union +fro...
mkorpela__pabot-534
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/pabot/pabot.py:_options_for_rebot" ], "edited_modules": [ "src/pabot/pabot.py:_options_for_rebot" ] }, "file": "src/pabot/pabot.py" }, { "changes": { ...
mkorpela/pabot
fadb9c4406044a626d669acf5cb10526b704f8d9
pabot fails during merge restult with robot 6.1b1 A simple pabot execution fails with Robot 6.1b1 which was released yesterday. Robot 6.1a1 as well as 6.0.x works fine: ``` (v) $ cat /tmp/test.robot *** Test Cases *** simple test Should be True 1==1 (v)$ pabot /tmp/test.robot 2023-05-06 12:53:05.5052...
diff --git a/src/pabot/pabot.py b/src/pabot/pabot.py index c174b35..8738db2 100644 --- a/src/pabot/pabot.py +++ b/src/pabot/pabot.py @@ -1258,6 +1258,7 @@ def _options_for_rebot(options, start_time_string, end_time_string): "maxassignlength", "maxerrorlines", "monitorcolors", + "parser...
mkorpela__pabot-618
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "src/pabot/arguments.py:_parse_pabot_args" ], "edited_modules": [ "src/pabot/arguments.py:_parse_pabot_args" ] }, "file": "src/pabot/arguments.py" }, { "changes"...
mkorpela/pabot
6164b0e6e961042b93d53e7af99ed05ddfc488b0
Missing README.md in 4.1.0 Congrats on 4.1.0! It looks like `pabot --help` is broken, as it tries to read the `README.md` (without any kind of path prefix). ``` pabot --help [ERROR] EXCEPTION RAISED DURING PABOT EXECUTION [ERROR] PLEASE CONSIDER REPORTING THIS ISSUE TO https://github.com/mkorpela/pabot/issues Pabot: ...
diff --git a/README.md b/README.md index f691769..34b8e5c 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,10 @@ OR clone this repository and run: setup.py install +OR clone this repository and run: + + pip install --editable . + ## Basic use Split execution to suite files. @@ -61,7 +65,8 @@ pabot...
ml31415__numpy-groupies-48
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "numpy_groupies/aggregate_numba.py:AggregateOp.__call__", "numpy_groupies/aggregate_numba.py:AggregateGeneric.__call__" ], "edited_modules": [ "numpy_groupies/aggregate_numba....
ml31415/numpy-groupies
fe49287542ef3a8c23a008bc8d351812c3265462
bug with argmax and nd array ``` python from numpy_groupies.aggregate_numpy import aggregate import numpy as np labels = np.array([0, 0, 2, 2, 2, 1, 1, 2, 2, 1, 1, 0], dtype=int) array = np.array([[1] * 12, [1] * 12]) aggregate(labels, array, axis=-1, func="argmax") ``` gives ``` array([[ 0, 5, 2], ...
diff --git a/numpy_groupies/aggregate_numba.py b/numpy_groupies/aggregate_numba.py index 7cbc441..3113fa0 100644 --- a/numpy_groupies/aggregate_numba.py +++ b/numpy_groupies/aggregate_numba.py @@ -38,8 +38,8 @@ class AggregateOp(object): def __call__(self, group_idx, a, size=None, fill_value=0, order='C', ...
ml31415__numpy-groupies-61
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "numpy_groupies/utils_numpy.py:input_validation" ], "edited_modules": [ "numpy_groupies/utils_numpy.py:input_validation" ] }, "file": "numpy_groupies/utils_numpy.py" }...
ml31415/numpy-groupies
c11987005cccea1b3e990aba02ece482f3a00b1d
Different results in V0.9.14 than in V0.9.16 Hi, I was using this repo for a personal project and I decide to update the version and then I notice that the results of groupby aggregate function are totally different (I think that they are incorrect in the new version), here is an example: ```py import numpy_groupies ...
diff --git a/numpy_groupies/utils_numpy.py b/numpy_groupies/utils_numpy.py index 02616c2..5c9fe70 100644 --- a/numpy_groupies/utils_numpy.py +++ b/numpy_groupies/utils_numpy.py @@ -240,7 +240,7 @@ def offset_labels(group_idx, inshape, axis, order, size): def input_validation(group_idx, a, size=None, order='C', axi...
mlenzen__collections-extended-108
[ { "changes": { "added_entities": [ "collections_extended/_util.py:deprecation_warning" ], "added_modules": [ "collections_extended/_util.py:deprecation_warning" ], "edited_entities": [ "collections_extended/_util.py:deprecated" ], "edited_modules...
mlenzen/collections-extended
490b8457266f40a0268aab3e038733ebe2a2020f
Rename `d` arguments to `default` in indexed_dict
diff --git a/collections_extended/_util.py b/collections_extended/_util.py index f5a81f8..84050a5 100644 --- a/collections_extended/_util.py +++ b/collections_extended/_util.py @@ -67,6 +67,11 @@ class Sentinel(object): NOT_SET = Sentinel('not_set') +def deprecation_warning(msg): + """Raise a deprecation warning."...
mlenzen__collections-extended-152
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "collections_extended/bijection.py:bijection.__init__" ], "edited_modules": [ "collections_extended/bijection.py:bijection" ] }, "file": "collections_extended/bijection....
mlenzen/collections-extended
28bffb3c5193544013c5047bca45292a3dfe8223
bijection.__init__ tuples need to be len == 2
diff --git a/HISTORY.rst b/HISTORY.rst index c371394..ac95bf9 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -34,6 +34,8 @@ Added Fixed """"" +* tuples passed to the bijection constructor must have len == 2, not >= 2 + Deprecated """""""""" diff --git a/collections_extended/bijection.py b/collections_extended/bi...
mlenzen__collections-extended-171
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "collections_extended/indexed_dict.py" }, { "changes": { "added_entities": [ "collections_extended/range_map.py:MappedRange.__eq__" ...
mlenzen/collections-extended
494d70470e28105627d927876d0d7661d39623d5
Duplicate history in change log
diff --git a/HISTORY.rst b/HISTORY.rst index 7eeb864..d46eb66 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,64 +3,29 @@ Change Log ========== -2.0.0 - 2021-08-23 +2.0.1 - 2022-??-?? ------------------ -Breaking Changes -"""""""""""""""" +* Added Python 3.10 to tests & classifiers +* Added equality testing sup...
mlflow__mlflow-10636
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mlflow/models/signature.py:_infer_signature_from_type_hints" ], "edited_modules": [ "mlflow/models/signature.py:_infer_signature_from_type_hints" ] }, "file": "mlflow/m...
mlflow/mlflow
9612ef043d7fe88f3ee899657a1d0fc2faf8ae0f
[BUG] input_example not working properly for pyfunc.PythonModel ### Issues Policy acknowledgement - [X] I have read and agree to submit bug reports in accordance with the [issues policy](https://www.github.com/mlflow/mlflow/blob/master/ISSUE_POLICY.md) ### Where did you encounter this bug? Databricks ### Willingnes...
diff --git a/mlflow/models/signature.py b/mlflow/models/signature.py index b7c585cc3..a9ca4712a 100644 --- a/mlflow/models/signature.py +++ b/mlflow/models/signature.py @@ -313,10 +313,17 @@ def _infer_signature_from_type_hints(func, input_arg_index, input_example=None): input_schema = _infer_schema_from_type_hi...
mlflow__mlflow-10638
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mlflow/recipes/cards/__init__.py:CardTab.to_html" ], "edited_modules": [ "mlflow/recipes/cards/__init__.py:CardTab" ] }, "file": "mlflow/recipes/cards/__init__.py" },...
mlflow/mlflow
42f57ff7be3a22e072f48b011ed2c5e15efd71b6
[BUG] Security Vulnerability
diff --git a/mlflow/recipes/cards/__init__.py b/mlflow/recipes/cards/__init__.py index 24361b8ac..dafdaa89f 100644 --- a/mlflow/recipes/cards/__init__.py +++ b/mlflow/recipes/cards/__init__.py @@ -120,9 +120,10 @@ class CardTab: :return: a HTML string """ - import jinja2 + from jinja2 ...
mlflow__mlflow-10776
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mlflow/langchain/__init__.py:save_model", "mlflow/langchain/__init__.py:log_model" ], "edited_modules": [ "mlflow/langchain/__init__.py:save_model", "mlflow/langchain...
mlflow/mlflow
2aa052efbdf99f96bd862a1cfd3fa60929302be7
[DOC-FIX] LLM page at docs site pointing to work link ### Willingness to contribute Yes. I would be willing to contribute a document fix with guidance from the MLflow community. ### URL(s) with the issue In the documentation for LLMs at: https://mlflow.org/docs/latest/llms/index.html The link to the MLflow exampl...
diff --git a/docs/source/llms/index.rst b/docs/source/llms/index.rst index 6edbd8f18..1987e8211 100644 --- a/docs/source/llms/index.rst +++ b/docs/source/llms/index.rst @@ -127,12 +127,12 @@ with your favorite provider! * `MosaicML quickstart <https://github.com/mlflow/mlflow/blob/master/examples/deployments/deploymen...
mlflow__mlflow-10923
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "docs/source/conf.py" }, { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mlflow/store/art...
mlflow/mlflow
4179ca2fffbaab94f6f1f8d2fc55acd2534b557d
[BUG] Security Vulnerability Please check it here https://huntr.com/bounties/e3d7a994-bfd6-4772-ac9b-9aee1aa16a5f/
diff --git a/docs/source/conf.py b/docs/source/conf.py index d48256ab2..af66894ff 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -376,6 +376,7 @@ nitpick_ignore = [ ("py:class", "pydantic.main.BaseModel"), ("py:class", "ConfigDict"), ("py:class", "FieldInfo"), + ("py:class", "ComputedFi...
mlflow__mlflow-11285
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mlflow/data/digest_utils.py:compute_tensorflow_dataset_digest", "mlflow/data/digest_utils.py:compute_tensor_digest", "mlflow/data/digest_utils.py:compute_spark_df_digest" ], ...
mlflow/mlflow
909408f564656f73ebc8540793e41e4dd09b06a3
[DOC-FIX] Figure Closed Before Saving in MLflow with Optuna Tutorial ### Willingness to contribute No. I cannot contribute a documentation fix at this time. ### URL(s) with the issue https://mlflow.org/docs/latest/traditional-ml/hyperparameter-tuning-with-child-runs/notebooks/hyperparameter-tuning-with-child-runs.ht...
diff --git a/docs/source/traditional-ml/hyperparameter-tuning-with-child-runs/notebooks/hyperparameter-tuning-with-child-runs.ipynb b/docs/source/traditional-ml/hyperparameter-tuning-with-child-runs/notebooks/hyperparameter-tuning-with-child-runs.ipynb index 314e98ad1..0959b4042 100644 --- a/docs/source/traditional-ml/...
mlflow__mlflow-12447
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mlflow/metrics/metric_definitions.py:_expand_duplicate_retrieved_docs" ], "edited_modules": [ "mlflow/metrics/metric_definitions.py:_expand_duplicate_retrieved_docs" ] }, ...
mlflow/mlflow
d065304098ef770ade992637bc29f87f05ef7b3f
[BUG] _expand_duplicate_retrieved_docs adds predictions' id to targets. ### Issues Policy acknowledgement - [X] I have read and agree to submit bug reports in accordance with the [issues policy](https://www.github.com/mlflow/mlflow/blob/master/ISSUE_POLICY.md) ### Where did you encounter this bug? Local machine ###...
diff --git a/mlflow/metrics/metric_definitions.py b/mlflow/metrics/metric_definitions.py index 65fa71365..6e6f00fc4 100644 --- a/mlflow/metrics/metric_definitions.py +++ b/mlflow/metrics/metric_definitions.py @@ -395,7 +395,8 @@ def _expand_duplicate_retrieved_docs(predictions, targets): f"{doc_id}_bc5...
mlflow__mlflow-13055
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mlflow/tracking/fluent.py:start_run" ], "edited_modules": [ "mlflow/tracking/fluent.py:start_run" ] }, "file": "mlflow/tracking/fluent.py" } ]
mlflow/mlflow
b2e8ce3f0e5bcf64a3a26f908d679b601def2d81
[BUG] Incorrectly nested runs in python package cannot raise Exception ### Issues Policy acknowledgement - [X] I have read and agree to submit bug reports in accordance with the [issues policy](https://www.github.com/mlflow/mlflow/blob/master/ISSUE_POLICY.md) ### Where did you encounter this bug? Local machine...
diff --git a/mlflow/ml-package-versions.yml b/mlflow/ml-package-versions.yml index ea07c50b6..7edbf41f5 100644 --- a/mlflow/ml-package-versions.yml +++ b/mlflow/ml-package-versions.yml @@ -518,7 +518,7 @@ shap: minimum: "0.41.0" maximum: "0.46.0" requirements: - "<= 0.41.0": ["numpy<1.24.0"] + ...
mlflow__mlflow-13156
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "dev/update_mlflow_versions.py:replace_pyproject_toml" ], "edited_modules": [ "dev/update_mlflow_versions.py:replace_pyproject_toml" ] }, "file": "dev/update_mlflow_vers...
mlflow/mlflow
1219e3ef1aac7d337a618a352cd859b336cf5c81
[BUG] Codespaces has out of date node version (16.x, required: 18.x) ### Issues Policy acknowledgement - [X] I have read and agree to submit bug reports in accordance with the [issues policy](https://www.github.com/mlflow/mlflow/blob/master/ISSUE_POLICY.md) ### Where did you encounter this bug? Other ### Willingnes...
diff --git a/.devcontainer/Dockerfile.devcontainer b/.devcontainer/Dockerfile.devcontainer index 02383c756..f9e0761c1 100644 --- a/.devcontainer/Dockerfile.devcontainer +++ b/.devcontainer/Dockerfile.devcontainer @@ -38,7 +38,7 @@ RUN case ${TARGETPLATFORM#*/} in \ ENV PATH="/root/protoc/bin:$PATH" # Install node a...
mlflow__mlflow-13186
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mlflow/utils/databricks_utils.py:is_dbfs_fuse_available" ], "edited_modules": [ "mlflow/utils/databricks_utils.py:is_dbfs_fuse_available" ] }, "file": "mlflow/utils/dat...
mlflow/mlflow
32acbff28df1af9ea60f090219755417edd2e856
Refactor `is_dbfs_fuse_available` ### Summary Refactor `is_dbfs_fuse_available` using `subprocess.DEVNULL`: ```diff diff --git a/mlflow/utils/databricks_utils.py b/mlflow/utils/databricks_utils.py index fd5f0263a..9332a71d3 100644 --- a/mlflow/utils/databricks_utils.py +++ b/mlflow/utils/databricks_utils.py ...
diff --git a/mlflow/utils/databricks_utils.py b/mlflow/utils/databricks_utils.py index e13bd67c1..e02507669 100644 --- a/mlflow/utils/databricks_utils.py +++ b/mlflow/utils/databricks_utils.py @@ -254,16 +254,17 @@ def is_dbfs_fuse_available(): if not is_in_databricks_runtime(): return False - with o...
mlflow__mlflow-6486
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": null, "edited_modules": null }, "file": "mlflow/models/__init__.py" }, { "changes": { "added_entities": [ "mlflow/models/model.py:ModelInfo.__init__", "mlflow/models/mod...
mlflow/mlflow
8098785831a3414bed62ec3239b60a6a500f4dbd
[FR] Currently unable to specify variant names when deploying models to Sagemaker ### Willingness to contribute Yes. I would be willing to contribute this feature with guidance from the MLflow community. ### Proposal Summary I would like to add the ability to pass in a specific name for the model variant when ...
diff --git a/docs/source/models.rst b/docs/source/models.rst index 1ee817b3f..20b1d9d9a 100644 --- a/docs/source/models.rst +++ b/docs/source/models.rst @@ -30,7 +30,8 @@ function" flavor that describes how to run the model as a Python function. Howev also define and use other flavors. For example, MLflow's :py:mod:`m...
mlflow__mlflow-6974
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mlflow/utils/environment.py:_is_mlflow_requirement" ], "edited_modules": [ "mlflow/utils/environment.py:_is_mlflow_requirement" ] }, "file": "mlflow/utils/environment.p...
mlflow/mlflow
d0a563b2026f2bf028feec4472bc3db0696c33d9
[BUG] mlflow-skinny not recognized as mlflow requirement when saving model ### Issues Policy acknowledgement - [X] I have read and agree to submit bug reports in accordance with the [issues policy](https://www.github.com/mlflow/mlflow/blob/master/ISSUE_POLICY.md) ### Willingness to contribute No. I cannot contribute...
diff --git a/mlflow/utils/environment.py b/mlflow/utils/environment.py index 4d6b455ed..fe70d0b5b 100644 --- a/mlflow/utils/environment.py +++ b/mlflow/utils/environment.py @@ -418,7 +418,7 @@ def _is_mlflow_requirement(requirement_string): try: # `Requirement` throws an `InvalidRequirement` exception if ...
mlflow__mlflow-6977
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mlflow/cli.py:gc" ], "edited_modules": [ "mlflow/cli.py:gc" ] }, "file": "mlflow/cli.py" }, { "changes": { "added_entities": [ "mlflow/store/track...
mlflow/mlflow
b98bda05aa0257c327dd157bcc42251a406bbfef
[FR] Extend `mlflow gc` to support removing deleted experiments ### Willingness to contribute No. I cannot contribute this feature at this time. ### Proposal Summary Add an `--experiment-ids` flag to the `mlflow gc` CLI (https://mlflow.org/docs/latest/cli.html#mlflow-gc). For each experiment ID that is specifi...
diff --git a/mlflow/cli.py b/mlflow/cli.py index 5c6e5e3e2..845069f01 100644 --- a/mlflow/cli.py +++ b/mlflow/cli.py @@ -9,6 +9,7 @@ from click import UsageError from datetime import timedelta import mlflow.db +from mlflow.entities import ViewType import mlflow.experiments import mlflow.deployments.cli from mlfl...
mlflow__mlflow-7027
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mlflow/pipelines/cards/__init__.py:BaseCard.render_table" ], "edited_modules": [ "mlflow/pipelines/cards/__init__.py:BaseCard" ] }, "file": "mlflow/pipelines/cards/__in...
mlflow/mlflow
0262fb1dfc7d5417ef5c38f3990489951ebd9adc
[BUG] Tags not properly updated when updating run name in `SqlAlchemyStore` ### Issues Policy acknowledgement - [X] I have read and agree to submit bug reports in accordance with the [issues policy](https://www.github.com/mlflow/mlflow/blob/master/ISSUE_POLICY.md) ### Willingness to contribute Yes. I would be willin...
diff --git a/mlflow/pipelines/cards/__init__.py b/mlflow/pipelines/cards/__init__.py index 990845ea0..5b64f7c60 100644 --- a/mlflow/pipelines/cards/__init__.py +++ b/mlflow/pipelines/cards/__init__.py @@ -252,17 +252,22 @@ class BaseCard: ("text-align", "left"), ("paddi...
mlflow__mlflow-7623
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mlflow/server/handlers.py:_search_model_versions" ], "edited_modules": [ "mlflow/server/handlers.py:_search_model_versions" ] }, "file": "mlflow/server/handlers.py" }...
mlflow/mlflow
a9a7f6d04058c41c4de7f20335eba7bd1447489f
[FR] Introduce page_token argument to MlflowClient.search_model_versions ### Willingness to contribute No. I cannot contribute this feature at this time. ### Proposal Summary Introduce a `page_token` argument to https://mlflow.org/docs/latest/python_api/mlflow.client.html#mlflow.client.MlflowClient.search_model_vers...
diff --git a/mlflow/java/client/src/main/java/org/mlflow/api/proto/ModelRegistry.java b/mlflow/java/client/src/main/java/org/mlflow/api/proto/ModelRegistry.java index d7d4f392b..2762ffdf0 100644 --- a/mlflow/java/client/src/main/java/org/mlflow/api/proto/ModelRegistry.java +++ b/mlflow/java/client/src/main/java/org/mlf...
mlflow__mlflow-7659
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mlflow/store/tracking/file_store.py:FileStore.get_metric_history" ], "edited_modules": [ "mlflow/store/tracking/file_store.py:FileStore" ] }, "file": "mlflow/store/trac...
mlflow/mlflow
e40c83e79195d0b5e7c4668e9c98940282a42a06
get_metric_history does not work This calling code https://github.com/mlflow/mlflow/blob/aef0936a4bbc3e56519e3c64bb60701f0114095c/mlflow/tracking/_tracking_service/client.py#L88 expects a dict of the token and the list while the called function just gives the pure list, so line 94 will always fail.
diff --git a/mlflow/store/tracking/file_store.py b/mlflow/store/tracking/file_store.py index a3009b073..b41ba6230 100644 --- a/mlflow/store/tracking/file_store.py +++ b/mlflow/store/tracking/file_store.py @@ -773,7 +773,7 @@ class FileStore(AbstractStore): parent_path, metric_files = self._get_run_files(run_...
mlflow__mlflow-8255
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "mlflow/models/utils.py:_reshape_and_cast_pandas_column_values" ], "edited_modules": [ "mlflow/models/utils.py:_reshape_and_cast_pandas_column_values" ] }, "file": "mlfl...
mlflow/mlflow
36bac793eb667354ab6eb373155fe2f1f1b17dc3
[BUG] Invalid Requirement error with custom wheel on dbfs path ### Issues Policy acknowledgement - [X] I have read and agree to submit bug reports in accordance with the [issues policy](https://www.github.com/mlflow/mlflow/blob/master/ISSUE_POLICY.md) ### Willingness to contribute No. I cannot contribute a bug...
diff --git a/mlflow/models/utils.py b/mlflow/models/utils.py index e83ba9881..3d9847039 100644 --- a/mlflow/models/utils.py +++ b/mlflow/models/utils.py @@ -466,14 +466,17 @@ def _reshape_and_cast_pandas_column_values(name, pd_series, tensor_spec): ) if np.isscalar(pd_series[0]): - if tensor_spec...
mljar__mljar-supervised-769
[ { "changes": { "added_entities": null, "added_modules": null, "edited_entities": [ "supervised/preprocessing/scale.py:Scale.inverse_transform" ], "edited_modules": [ "supervised/preprocessing/scale.py:Scale" ] }, "file": "supervised/preprocessing/scale...
mljar/mljar-supervised
3f65896ce4773c164adb4419397c9fc8692383cb
user warning in test: tests/tests_automl/test_targets.py::AutoMLTargetsTest::test_regression_missing_target ``` ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-8.3.2, pluggy-1.5.0 -- /home/adas/mljar/mljar-supervised/venv/bin/python3 cachedir: ...
diff --git a/supervised/preprocessing/scale.py b/supervised/preprocessing/scale.py index d2b88d4..bde673a 100644 --- a/supervised/preprocessing/scale.py +++ b/supervised/preprocessing/scale.py @@ -45,6 +45,8 @@ class Scale(object): if self.scale_method == self.SCALE_NORMAL: X.loc[:, self.c...
mlrun__mlrun-130
[ { "changes": { "added_entities": [ "mlrun/db/filedb.py:FileRunDB.schedules_dir", "mlrun/db/filedb.py:FileRunDB.store_schedule", "mlrun/db/filedb.py:FileRunDB.list_schedules" ], "added_modules": null, "edited_entities": [ "mlrun/db/filedb.py:FileRunDB.__ini...
mlrun/mlrun
f7ae101674a6d96c147c0515022459f6b4e31b78
Persistancy for cron jobs We'd like to be able to reload schedules after restart
diff --git a/mlrun/db/filedb.py b/mlrun/db/filedb.py index 68df353b9..b5b4d199f 100644 --- a/mlrun/db/filedb.py +++ b/mlrun/db/filedb.py @@ -15,7 +15,7 @@ import json import pathlib from datetime import datetime, timedelta -from os import makedirs, path, remove +from os import makedirs, path, remove, scandir impo...