Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
98ce6c6
Add current python versions to testing
photodude Oct 4, 2023
6ea7117
update to image: Visual Studio 2022
photodude Oct 4, 2023
082e04f
force update PIP to attempt pillow fix for py3.8+
photodude Oct 4, 2023
50f2b71
fix small syntax error
photodude Oct 4, 2023
8929ae6
zlib is required for pillow
photodude Oct 4, 2023
82bcbd0
remove py3.4 and 3.5
photodude Oct 4, 2023
676916b
Try installing Pillow separately
photodude Oct 4, 2023
8adc381
try Pillow --disable-zlib
photodude Oct 4, 2023
1274c30
remove --disable-zlib
photodude Oct 4, 2023
f082880
attempt to print the babel version for diagnosis
photodude Oct 4, 2023
9e1fba8
install zlib for pillow using chocolatey
photodude Oct 5, 2023
989b8ac
try without - "%PYTHON%\\python.exe -c "print(babel.__version__)""
photodude Oct 5, 2023
29bc03c
remove choco import of zlib
photodude Oct 5, 2023
8e0890d
try single quote for inner quote
photodude Oct 5, 2023
04b78db
try escaping single quotes
photodude Oct 5, 2023
b3b25a0
printing babel version is not needed
photodude Oct 5, 2023
ad39283
try different syntax to disable zlib in pillow
photodude Oct 5, 2023
c26a893
no such option: -C
photodude Oct 5, 2023
97b84ad
attempt force update of babel
photodude Oct 5, 2023
42f0a48
upgrade of pip libraries did not solve errors
photodude Oct 5, 2023
fa8807d
diagnose babel error with print statement
photodude Oct 5, 2023
0244c36
try sys.stdout.write()
photodude Oct 5, 2023
2dd0622
Ignore external libraries
photodude Oct 5, 2023
8a13324
remove sys.stdout.write(self._textvariable.get())
photodude Oct 5, 2023
1ae761d
adjust ignore levels with wildcards
photodude Oct 5, 2023
b6614f7
ignore is not the ignore we are looking for
photodude Oct 5, 2023
96de81e
use 64bit python
photodude Oct 8, 2023
f61fd72
make some of the lines single
photodude Oct 29, 2023
7a5c50b
implement nose-exclude to correct coverage report
photodude Oct 29, 2023
099696d
try fixing the exclude directories
photodude Oct 29, 2023
6f613c6
adjust exclude directories again
photodude Oct 29, 2023
44cfec8
adjust escape character
photodude Oct 29, 2023
769b166
change slash from / to \
photodude Oct 29, 2023
f47cb53
more exclude directories adjustment
photodude Oct 29, 2023
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
18 changes: 11 additions & 7 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
image:
- Visual Studio 2022
environment:
matrix:
- PYTHON: "C:\\PYTHON34"
- PYTHON: "C:\\PYTHON35"
- PYTHON: "C:\\PYTHON36"
- PYTHON: "C:\\PYTHON37"
- PYTHON: "C:\\PYTHON38"
- PYTHON: "C:\\PYTHON36-x64"
- PYTHON: "C:\\PYTHON37-x64"
- PYTHON: "C:\\PYTHON38-x64"
- PYTHON: "C:\\PYTHON39-x64"
- PYTHON: "C:\\PYTHON310-x64"
- PYTHON: "C:\\PYTHON311-x64"
install:
- "%PYTHON%\\python.exe -m pip install codecov coverage nose pillow pynput babel"
- "%PYTHON%\\python.exe -m pip install --upgrade pip setuptools wheel"
- "%PYTHON%\\python.exe -m pip install codecov coverage nose nose-exclude pillow pynput babel"
build: off
test_script:
- "%PYTHON%\\python.exe -m pip install ."
- "%PYTHON%\\python.exe -m nose --with-coverage"
- "%PYTHON%\\python.exe -m nose --with-coverage --exclude-dir=/babel --exclude-dir=/pytz --exclude-dir=/tkinter"
after_test:
- "%PYTHON%\\Scripts\\codecov.exe"
6 changes: 2 additions & 4 deletions tests/test_calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ def test_calendar_buttons_functions(self):

def test_calendar_textvariable(self):
var = tk.StringVar(self.window)
widget = Calendar(self.window, selectmode='day',
year=2015, month=1, day=3, textvariable=var)
widget = Calendar(self.window, selectmode='day', year=2015, month=1, day=3, textvariable=var)
widget.pack()
self.window.update()
self.assertEqual('', var.get())
Expand Down Expand Up @@ -267,8 +266,7 @@ def test_calendar_textvariable(self):
self.assertEqual('', var.get())

widget.destroy()
widget = Calendar(self.window, selectmode='day', locale='en_US',
textvariable=var)
widget = Calendar(self.window, selectmode='day', locale='en_US', textvariable=var)
widget.pack()
self.window.update()
widget.selection_set(date(2018, 1, 2))
Expand Down
1 change: 0 additions & 1 deletion tkcalendar/calendar_.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
Calendar widget
"""


import calendar
try:
from tkinter import ttk
Expand Down