This repository was archived by the owner on Jan 21, 2025. It is now read-only.
Actions: facebook/errpy
Actions
Showing runs from all workflows
32 workflow runs
32 workflow runs
rustc_hash
Summary:
To 2.1
Unfortunately, I can't remove the old version of the crate. The problem is that it appears in the [public API](https://docs.rs/tiktoken-rs/latest/tiktoken_rs/struct.CoreBPE.html#method.new) of tiktoken_rs
, which we also import. That crate has a PR to upgrade its dependency [here](https://github.com/zurawiki/tiktoken-rs/pull/95) but that has not been merged. Alternatives here are:
1. Fork tiktoken_rs
. This seems worse.
2. It...
cargo vendor and commit
#119:
Commit fa190b4
pushed
by
facebook-github-bot
Error::from_boxed
](https://docs.rs/anyhow/1.0.95/anyhow/struct.Error.html#method.from_boxed) and stop using less ergonomic alternatives. Thankfully, this API comes in the latest [1.0.95](https://github.com/dtolnay/anyhow/releases/tag/1.0.95)
Reviewed By: dtolnay
Differential Revision: D67775008
fbshipit-source-id: b9c0d3ff169dbb69d4c8b96e378334b37d200fd2
cargo vendor and commit
#118:
Commit 8a323db
pushed
by
facebook-github-bot
-Wunused-variable
in python/PACKAGE
Summary:
This diff enables compilation warning flags for the directory in question. Further details are in [this workplace post](https://fb.workplace.com/permalink.php?story_fbid=pfbid02XaWNiCVk69r1ghfvDVpujB8Hr9Y61uDvNakxiZFa2jwiPHscVdEQwCBHrmWZSyMRl&id=100051201402394).
This is a low-risk diff. There are **no run-time effects** and the diff has already been observed to compile locally. **If the code compiles, it work; test errors are...
cargo vendor and commit
#116:
Commit 90575bd
pushed
by
facebook-github-bot
group_by
weird](https://github.com/rust-itertools/itertools/issues/374) and possible for users to, quote:
> I spent several hours debugging my code written using the group_by function.
Luckily for internal users, the build tooling responds accordingly and fails build for all usages of deprecated API. Thus, there is a need to adjust all of them m...
cargo vendor and commit
#114:
Commit c0e2741
pushed
by
facebook-github-bot
take_while_inclusive
consume iterator by value ([#709](https://github.com/rust-itertools/itertools/pull/709)) --- there are [2 usages](https://www.internalfb.com/code/search?q=repo%3Afbcode%20take_while_inclusive&la...
cargo vendor and commit
#113:
Commit 7080a2f
pushed
by
facebook-github-bot
hg status -n -0 --change . -I '**/*.{py,pyi}' | xargs -0 arc pyfmt
on your diff, and amend any changes before rebasing onto latest.
That should help reduce or eliminate any merge conflicts.
allow-large-files
Reviewed By: zertosh...
cargo vendor and commit
#107:
Commit 6f9814b
pushed
by
facebook-github-bot
fbcode/python/errpy/vendor/tree-sitter-python/src/parser.c:8930:3: error: variable 'eof' set but not used [-Werror,-Wunused-but-set-variable]
START_LEXER();
^
fbcode/python/errpy/vendor/tree-sitter-python/src/tree_sitter/parser.h:136:8: note: expanded from macro 'START_LEXER'
bool eof = false; \
^
1 error generated.
Reviewed By: stroxler
Differential Revision: D58826878
fbshipit-source-id: 6adb9d...
cargo vendor and commit
#103:
Commit a4e3cf5
pushed
by
facebook-github-bot
except*
is unparseable for previous versions of the cpython parser.
there were some minor changes to the AST:
- additional fields for type params on function and class defs
- AST printing changes for parentheses around tuples, whitespace for lambdas, single vs double quotes for f-strings
the biggest change is that https://peps.python.org/pep-0617/ and (maybe) https...
cargo vendor and commit
#99:
Commit 1494402
pushed
by
facebook-github-bot
hg bisect
brings you here & the error you are seeing looks like expected Result<&PyAny, PyErr>, found Result<Bound<'_, PyAny>, PyErr>
then see these [migration notes](https://pyo3.rs/v0.21.0/migration.html#from-020-to-021) for the fix or click on fbcode/security/ace/pyo3/authz.rs
or similar files from bellow to see what the fix is!
In order to upgrade pyo3
to [0.21.1
](https://github.com/PyO3/pyo3/releases/tag/v0.21.1), the foll...
cargo vendor and commit
#98:
Commit e616789
pushed
by
facebook-github-bot