mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
Compare commits
13 Commits
feature/py
...
0.1.4
Author | SHA1 | Date | |
---|---|---|---|
aed575edc6 | |||
4cdcb65f3a | |||
0a66fcca20 | |||
37f0673e95 | |||
b81df96990 | |||
38beffef05 | |||
0dccd1cd07 | |||
7ea104f712 | |||
9cb60f0ce2 | |||
15e0c68df6 | |||
9f54349556 | |||
71c069d30c | |||
661536e6f6 |
8
.github/dependabot.yml
vendored
8
.github/dependabot.yml
vendored
@ -7,4 +7,10 @@ updates:
|
||||
target-branch: "dev"
|
||||
schedule:
|
||||
# Check for updates to GitHub Actions every weekday
|
||||
interval: "daily"
|
||||
interval: "daily"
|
||||
|
||||
# Maintain dependencies for pip
|
||||
- package-ecosystem: "pip"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
|
10
.github/workflows/python-package.yml
vendored
10
.github/workflows/python-package.yml
vendored
@ -16,7 +16,9 @@ jobs:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v3.1.2
|
||||
uses: actions/setup-python@v4.3.0
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
@ -76,7 +78,7 @@ jobs:
|
||||
platforms: arm64
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@2.5.0
|
||||
uses: pypa/cibuildwheel@v2.11.2
|
||||
env:
|
||||
MACOSX_DEPLOYMENT_TARGET: "10.15"
|
||||
CIBW_ARCHS_LINUX: ${{ matrix.arch[3] }}
|
||||
@ -96,7 +98,9 @@ jobs:
|
||||
- uses: actions/checkout@v3 # just need the changelog
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v3.1.2
|
||||
uses: actions/setup-python@v4.3.0
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
@ -2,6 +2,13 @@
|
||||
|
||||
All notable changes to this project will be documented in this file
|
||||
|
||||
## 0.1.4 - 2022-10-30
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated Pybind11 to version 3.10, adding Python 3.11 support
|
||||
|
||||
|
||||
## 0.1.3 - 2022-04-13
|
||||
|
||||
### Fixed
|
||||
|
@ -4,7 +4,7 @@ requires = [
|
||||
"setuptools_scm>=6.2",
|
||||
"wheel",
|
||||
"cmake>=3.18",
|
||||
"pybind11~=2.6.1",
|
||||
"pybind11~=2.10",
|
||||
"ninja; sys_platform != 'win32'",
|
||||
]
|
||||
build-backend = "setuptools.build_meta"
|
||||
@ -81,5 +81,5 @@ manylinux-aarch64-image = "manylinux2014"
|
||||
|
||||
[tool.black]
|
||||
line-length = 120 # 80-column is stupid
|
||||
target-version = ['py37', 'py38', 'py39', 'py310']
|
||||
target-version = ['py37', 'py38', 'py39', 'py310', 'py310']
|
||||
skip-string-normalization = true
|
@ -58,7 +58,7 @@ template <size_t N> class OrderTable {
|
||||
static bool Generate() {
|
||||
static_assert(N == 4 || N == 3);
|
||||
|
||||
table_mutex.lock();
|
||||
std::scoped_lock{table_mutex};
|
||||
if (!generated) {
|
||||
hashes = new std::array<Hash, HashCount>();
|
||||
factors = new std::array<Vector4, OrderCount>();
|
||||
@ -85,8 +85,6 @@ template <size_t N> class OrderTable {
|
||||
|
||||
generated = true;
|
||||
}
|
||||
table_mutex.unlock();
|
||||
|
||||
assert(generated);
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user