Skip to content

Commit

Permalink
Merge pull request #64 from Mathics3/addess-CVE-2024-38335
Browse files Browse the repository at this point in the history
CVE-2024-38335 recommends ~> 70.0.0...
  • Loading branch information
rocky authored Jul 29, 2024
2 parents 3244783 + df4e945 commit e170b7b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
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

0 comments on commit e170b7b

Please sign in to comment.