Skip to content

Commit

Permalink
fixed issue when installing in readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
SanPen committed Oct 31, 2024
1 parent c49b41b commit 40e735d
Show file tree
Hide file tree
Showing 7 changed files with 381 additions and 374 deletions.
65 changes: 30 additions & 35 deletions .idea/workspace.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/GridCal/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
_current_year_ = datetime.datetime.now().year

# do not forget to keep a three-number version!!!
__GridCal_VERSION__ = "5.1.60"
__GridCal_VERSION__ = "5.1.62"

url = 'https://github.com/SanPen/GridCal'

Expand Down
2 changes: 1 addition & 1 deletion src/GridCal/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

dependencies = ['setuptools>=41.0.1',
'wheel>=0.37.2',
"PySide6<=6.6.3.1", # 5.14 breaks the UI generation for development, 6.7.0 breaks all
"PySide6>=6.8.0", # 5.14 breaks the UI generation for development, 6.7.0 breaks all
"qtconsole>=4.5.4",
"pytest>=7.2",
"darkdetect",
Expand Down
6 changes: 3 additions & 3 deletions src/GridCal/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
# SPDX-License-Identifier: MPL-2.0

from typing import Tuple
import subprocess
import sys
# import pkg_resources
import packaging.version as pkg
from GridCal.__version__ import __GridCal_VERSION__


def find_latest_version(name='GridCal'):
def find_latest_version(name: str = 'GridCal') -> str:
"""
Find the latest version of a package
:param name: name of the Package
Expand All @@ -24,7 +24,7 @@ def find_latest_version(name='GridCal'):
return latest_version


def check_version(name='GridCal'):
def check_version(name: str = 'GridCal') -> Tuple[int, str]:
"""
Check package version
:param name: package name, GridCal by default
Expand Down
Loading

0 comments on commit 40e735d

Please sign in to comment.