Skip to content

Commit

Permalink
fix dep warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nabobalis committed Jan 6, 2024
1 parent 39746ee commit 5e9f073
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from pathlib import Path

import docutils
import pytest
import sphinx
from sphinx.testing.path import path

# Load app, status and warning fixtures.
pytest_plugins = ["sphinx.testing.fixtures"]
Expand All @@ -18,7 +19,7 @@ def pytest_report_header(config):

@pytest.fixture(scope="session")
def rootdir():
return path(__file__).parent.abspath() / "roots"
return Path(__file__).parent.absolute() / "roots"


@pytest.fixture(scope="function", autouse=True)
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ include_package_data = True
setup_requires =
setuptools_scm
install_requires =
packaging
docutils>=0.18
feedgen>=0.9.0
invoke>=1.6.0
Expand Down Expand Up @@ -58,6 +59,8 @@ filterwarnings =
always::pytest.PytestConfigWarning
# Sphinx and other packages raise these
ignore:'imghdr' is deprecated and slated for removal in Python 3.13:DeprecationWarning
# python-datetuil
ignore:datetime.datetime.utcfromtimestamp:DeprecationWarning

[pycodestyle]
max_line_length = 120
Expand Down

0 comments on commit 5e9f073

Please sign in to comment.