Skip to content

Commit 61a66d6

Browse files
committed
Update black version
1 parent 6a15c3e commit 61a66d6

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
repos:
33
- repo: https://github.com/psf/black-pre-commit-mirror
4-
rev: 24.10.0
4+
rev: 25.1.0
55
hooks:
66
- id: black

robotpy_build/relink_libs.py

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
"""
2-
On OSX, the loader does not look at the current process to load
3-
dylibs -- it insists on finding them itself, so we have to fixup
4-
our binaries such that they resolve correctly.
5-
6-
Two cases we need to deal with
7-
- Local development/installation
8-
- Building a wheel for pypi
9-
10-
In development, we assume things are installed exactly where they will be
11-
at runtime.
12-
-> @loader_path/{relpath(final_location, dep_path)}
13-
14-
For pypi wheels, we assume that installation is in site-packages, and
15-
so are the libraries that this lib depends on.
16-
-> @loader_path/{relpath(final_siterel, dep_siterel)}
17-
18-
Notice these are the same IF you only build wheels in a virtualenv
19-
that only has its dependencies installed in site-packages
20-
21-
22-
.. warning:: This will only work for the environment it's compiled in!
23-
This basically means don't compile wheels in your development
24-
environment, use a clean environment instead
2+
On OSX, the loader does not look at the current process to load
3+
dylibs -- it insists on finding them itself, so we have to fixup
4+
our binaries such that they resolve correctly.
5+
6+
Two cases we need to deal with
7+
- Local development/installation
8+
- Building a wheel for pypi
9+
10+
In development, we assume things are installed exactly where they will be
11+
at runtime.
12+
-> @loader_path/{relpath(final_location, dep_path)}
13+
14+
For pypi wheels, we assume that installation is in site-packages, and
15+
so are the libraries that this lib depends on.
16+
-> @loader_path/{relpath(final_siterel, dep_siterel)}
17+
18+
Notice these are the same IF you only build wheels in a virtualenv
19+
that only has its dependencies installed in site-packages
20+
21+
22+
.. warning:: This will only work for the environment it's compiled in!
23+
This basically means don't compile wheels in your development
24+
environment, use a clean environment instead
2525
2626
"""
2727

0 commit comments

Comments
 (0)