Skip to content

feat: markdown attachment type#900

Open
kieran-ryan wants to merge 2 commits intoallure-framework:masterfrom
kieran-ryan:feat/markdown-attachment-type
Open

feat: markdown attachment type#900
kieran-ryan wants to merge 2 commits intoallure-framework:masterfrom
kieran-ryan:feat/markdown-attachment-type

Conversation

@kieran-ryan
Copy link
Copy Markdown
Contributor

@kieran-ryan kieran-ryan commented Mar 28, 2026

Context

Provides an attachment type for markdown files.

import allure

def test_function():
    allure.attach.file(
        source="file.md",
        attachment_type=allure.attachment_type.MARKDOWN,
    )

Fixes pytest plugin build by migrating to standard libraries following the release of setuptools v82.0.0 which drops the pkg_resources third-party library referenced in setup.py.

pkg_resources has been removed from Setuptools. Most common uses of pkg_resources have been superseded by the importlib.resources and importlib.metadata projects. Projects and environments relying on pkg_resources for namespace packages or other behavior should depend on older versions of setuptools. (#3085) - setuptools v82.0.0 release notes

Checklist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant