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

Add Python 3.9 warning message #43

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

This project also inherits changes from [Binilla](https://github.com/Sigmmma/binilla).

## [1.9.8]
### Changed
- Temporarily drop support for Python 3.9
- Replace report bug button with a discord button

## [1.9.7]
### Changed
- Update build config for Python 3.9.
Expand Down
4 changes: 2 additions & 2 deletions mozzarilla/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
# ##############
__author__ = "Sigmmma"
# YYYY.MM.DD
__date__ = "2020.10.30"
__version__ = (1, 9, 7)
__date__ = "2020.12.24"
__version__ = (1, 9, 8)
__website__ = "https://github.com/Sigmmma/mozzarilla"
14 changes: 12 additions & 2 deletions mozzarilla/app_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# See LICENSE for more information.
#

import sys
import re
import tkinter as tk
import subprocess
Expand Down Expand Up @@ -94,7 +95,7 @@ class Mozzarilla(Binilla):
_bitmap_load_dir = Path("")


issue_tracker_url = mozzarilla.__website__ + "/issues"
issue_tracker_url = "https://discord.reclaimers.net"

_mozzarilla_initialized = False
guerilla_workspace_def = None
Expand Down Expand Up @@ -246,7 +247,7 @@ def __init__(self, *args, **kwargs):
self.main_menu.add_cascade(label="Tools", menu=self.tools_menu)
self.main_menu.add_cascade(label="Compile Tag", menu=self.compile_menu)
self.main_menu.add_command(label="About", command=self.show_about_window)
self.main_menu.add_command(label="Report Bug", command=self.open_issue_tracker)
self.main_menu.add_command(label="Discord", command=self.open_issue_tracker)
try:
if e_c.IS_WIN and not is_main_frozen():
import hek_pool
Expand Down Expand Up @@ -345,6 +346,15 @@ def __init__(self, *args, **kwargs):
except AttributeError:
pass

if (sys.version_info.minor > 8):
messagebox.showinfo(
"Unsupported Python version",
"Your Python version is newer than 3.8.\n"
"Right now Python 3.9 and up are not supported yet\n"
"because of a language change that breaks some of our code\n\n"
"Until this issue has been resolved please use Python 3.8",
parent=self)

if self.config_made_anew:
messagebox.showinfo(
"Select your default tags directory",
Expand Down