We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96c13d1 commit d480dc7Copy full SHA for d480dc7
2 files changed
.github/workflows/deploy.yml
@@ -51,7 +51,7 @@ jobs:
51
- name: Upload
52
run: python -m twine upload dist/*
53
env:
54
- TWINE_USERNAME: ${{ secrets.PYPI_USERANAME }}
+ TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
55
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
56
57
- name: Get Version
tuprolog/solve/_ktadapt.py
@@ -1,4 +1,8 @@
1
-from collections import Mapping
+import sys
2
+if sys.version_info < (3, 10):
3
+ from collections import Mapping # for Python 3.9 and earlier
4
+else:
5
+ from collections.abc import Mapping # for Python 3.10 and later
6
from itertools import chain
7
8
from tuprolog import logger
0 commit comments