Skip to content

Commit

Permalink
Do not need to patch setup.py or pyproject.toml;
Browse files Browse the repository at this point in the history
see #25198
  • Loading branch information
bradbell committed Mar 24, 2024
1 parent 0adf204 commit db29691
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions recipes/xrst/2024.0.0.patch
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
diff --git a/pyproject.toml b/pyproject.toml
index a5d37a9..81c5145 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -30,7 +30,7 @@ classifiers = [
dependencies = [
'sphinx', 'toml', 'sphinx-copybutton', # required
'pytest', # need for testing xrst
- 'pyenchant', 'pyspellchecker', # need the one you use
+ 'pyspellchecker', # need the one you use
'furo', 'sphinx-rtd-theme', 'sphinx-book-theme', # need the ones you use
]
# END_DEPENDENCIES
diff --git a/pytest/test_rst.py b/pytest/test_rst.py
index b159f9e..39b0647 100644
--- a/pytest/test_rst.py
Expand Down Expand Up @@ -42,25 +29,12 @@ index b159f9e..39b0647 100644
+ end = m_obj.end()
+ text = m_obj.group(0)
+ replace = text.replace( '\\' , '/' )
+ rst_data = check_data[:start] + replace + rst_data[end:]
+ rst_data = check_data[:start] + replace + rst_data[end:]
+ m_obj = pattern_include_backslash.search(rst_data)
+ #
if rst_data == check_data :
print( f'{rst_name}: OK' )
else :
diff --git a/setup.py b/setup.py
index 446c6b0..2a56f82 100644
--- a/setup.py
+++ b/setup.py
@@ -27,7 +27,7 @@ setup(
install_requires = [
'sphinx', 'toml', 'sphinx-copybutton', # required
'pytest', # need for testing xrst
- 'pyenchant', 'pyspellchecker', # need the one you use
+ 'pyspellchecker', # need the one you use
'furo', 'sphinx-rtd-theme', 'sphinx-book-theme', # need the ones you use
],
entry_points = {
diff --git a/tox.ini b/tox.ini
index 8a2e158..4b5ffc8 100644
--- a/tox.ini
Expand Down

0 comments on commit db29691

Please sign in to comment.