Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tavianator committed Aug 1, 2023
1 parent 38a89eb commit 5c1e65d
Show file tree
Hide file tree
Showing 11 changed files with 2,590 additions and 8,438 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.10", "3.11"]

steps:
- uses: actions/checkout@v2
Expand Down
9 changes: 4 additions & 5 deletions docs/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ verify_ssl = true
[dev-packages]

[packages]
markupsafe = "==2.0.1"
regex = "*"
sphinx = ">=4.4.0"
sphinx = "*"
sphinx-autodoc-typehints = "*"
sphinx-rtd-theme = "*"
# Work around various issues
sphinx-js = {git = "https://github.com/tavianator/sphinx-js",ref = "44d94acfa61044963f5f7d9d94c7105400bdcfb3"}
bistring = {editable = true,path = "./../python"}
sphinx-js = {git = "https://github.com/pyodide/sphinx-js", ref = "28105a224ec6c4c3141d10e182b9feaae7f10183"}
pydantic = "<2.0"
bistring = {editable = true, path = "./../python"}
457 changes: 291 additions & 166 deletions docs/Pipfile.lock

Large diffs are not rendered by default.

253 changes: 35 additions & 218 deletions docs/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dependencies": {
"typedoc": "^0.22.13",
"typescript": "^4.6.3"
"typedoc": "^0.22.11",
"typescript": "^4.7.0"
}
}
9,773 changes: 1,974 additions & 7,799 deletions js/package-lock.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@
"test": "jest"
},
"devDependencies": {
"@babel/preset-env": "^7.16.11",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.0.3",
"@rollup/plugin-typescript": "^8.3.1",
"@types/jest": "^27.4.1",
"core-js": "^3.21.1",
"jest": "^27.5.1",
"jest-junit": "^13.0.0",
"rollup": "^2.70.1",
"ts-jest": "^27.1.4",
"tslib": "^2.3.1",
"typescript": "^4.6.3"
"@babel/preset-env": "^7.22.9",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.3",
"@rollup/plugin-typescript": "^11.1.2",
"@types/jest": "^29.5.3",
"core-js": "^3.32.0",
"jest": "^29.6.2",
"jest-junit": "^16.0.0",
"rollup": "^3.27.0",
"ts-jest": "^29.1.1",
"tslib": "^2.6.1",
"typescript": "^5.1.6"
},
"jest": {
"reporters": [
Expand Down
3 changes: 2 additions & 1 deletion js/rollup.config.js → js/rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import babel from "@rollup/plugin-babel";
import commonjs from "@rollup/plugin-commonjs";
import typescript from "@rollup/plugin-typescript";
import fs from "fs";

import pkg from "./package.json";
import pkg from "./package.json" assert { type: "json" };

export default [
{
Expand Down
460 changes: 247 additions & 213 deletions python/Pipfile.lock

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions python/bistring/_bistr.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,12 +516,12 @@ def lower(self, locale: Optional[str] = None) -> bistr:
Converts this string to lowercase. Unless you specify the `locale` parameter, the current system locale will be
used.
>>> bistr('HELLO WORLD').lower()
bistr('HELLO WORLD', 'hello world', Alignment.identity(11))
>>> bistr('I').lower('en_US')
bistr('I', 'i')
>>> bistr('I').lower('tr_TR')
bistr('I', 'ı')
>>> bistr('HELLO WORLD').lower()
bistr('HELLO WORLD', 'hello world', Alignment.identity(11))
>>> bistr('I').lower('en_US')
bistr('I', 'i')
>>> bistr('I').lower('tr_TR')
bistr('I', 'ı')
"""

from ._icu import lower
Expand All @@ -532,12 +532,12 @@ def upper(self, locale: Optional[str] = None) -> bistr:
Converts this string to uppercase. Unless you specify the `locale` parameter, the current system locale will be
used.
>>> bistr('hello world').upper()
bistr('hello world', 'HELLO WORLD', Alignment.identity(11))
>>> bistr('i').upper('en_US')
bistr('i', 'I')
>>> bistr('i').upper('tr_TR')
bistr('i', 'İ')
>>> bistr('hello world').upper()
bistr('hello world', 'HELLO WORLD', Alignment.identity(11))
>>> bistr('i').upper('en_US')
bistr('i', 'I')
>>> bistr('i').upper('tr_TR')
bistr('i', 'İ')
"""

from ._icu import upper
Expand All @@ -548,12 +548,12 @@ def title(self, locale: Optional[str] = None) -> bistr:
Converts this string to title case. Unless you specify the `locale` parameter, the current system locale will
be used.
>>> bistr('hello world').title()
bistr('hello world', 'Hello World', Alignment.identity(11))
>>> bistr('istanbul').title('en_US')
bistr('istanbul', 'Istanbul', Alignment.identity(8))
>>> bistr('istanbul').title('tr_TR')
bistr('istanbul', 'İstanbul', Alignment.identity(8))
>>> bistr('hello world').title()
bistr('hello world', 'Hello World', Alignment.identity(11))
>>> bistr('istanbul').title('en_US')
bistr('istanbul', 'Istanbul', Alignment.identity(8))
>>> bistr('istanbul').title('tr_TR')
bistr('istanbul', 'İstanbul', Alignment.identity(8))
"""

from ._icu import title
Expand Down
7 changes: 4 additions & 3 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ def readme():
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.10',
'Topic :: Text Processing :: General',
'Typing :: Typed',
],
Expand All @@ -41,7 +40,7 @@ def readme():
},
zip_safe=False,
test_suite='tests',
python_requires='>=3.7',
python_requires='>=3.10',
setup_requires=[
'pytest-runner',
],
Expand All @@ -50,10 +49,12 @@ def readme():
],
extras_require={
'dev': [
'exceptiongroup',
'lxml',
'mypy',
'pytest',
'regex',
'tomli',
],
},
tests_require=[
Expand Down

0 comments on commit 5c1e65d

Please sign in to comment.