Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2024-38335 recommends ~> 70.0.0... #64

Merged
merged 2 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mathics_scanner/tokeniser.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ class Tokeniser:
def __init__(self, feeder):
"""
feeder: An instance of ``LineFeeder`` from which we receive
input srings that are to be split up and put into tokens.
input strings that are to be split up and put into tokens.
"""
self.pos: int = 0
self.feeder = feeder
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"setuptools>=61.2",
"setuptools>=70.0.0", # CVE-2024-38335 recommends this
# needed for building tables for the sdist:
"PyYAML",
"click",
Expand Down
7 changes: 0 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"""

import os.path as osp
import platform
import re
import subprocess
import sys
Expand All @@ -35,12 +34,6 @@
from setuptools.command.egg_info import egg_info


# Ensure user has the correct Python version
if sys.version_info < (3, 7):
print("mathics-scanner does not support Python %d.%d" % sys.version_info[:2])
sys.exit(-1)


def get_srcdir():
filename = osp.normcase(osp.dirname(osp.abspath(__file__)))
return osp.realpath(filename)
Expand Down
Loading