Comments (4)
When I create a new conda environment (then python -c 'import yalafi'
exists with an error), install YaLafi with python -m pip install .
or pip install .
, change the directory and try python -c 'import yalafi'
again, it works. I will try to see where it fails in your action.
I can now reproduce locally, maybe I tricked myself and was still in the same directory. Will investigate further.
from yalafi.
I just tested again with python 3.9 and pip 22.3 and pip install .
as well as pip install --editable .
work well. Which versions of python and pip are you using? I migrated to a more recent (introduced in PEP 518 in 2016) build configuration. Older versions of pip might be able to install the wheels from PyPI but cannot parse the information to build them. As a side effect, you cannot install with python setup.py install
any more (which wasn’t recommended anyway to my knowledge).
from yalafi.
Maybe my comment about the wheel is wrong. I haven’t yet published to PyPI. You could test with the version on test PyPI which can be installed with pip install -i https://test.pypi.org/simple/ yalafi==1.3.1b6
. Does that work on your end?
from yalafi.
Are you sure it is working with just the pip install .
? Because in the minimal example also with python 3.9 and pip 22.3 (before it was python 3.10 and pip 22.3) it fails to correctly install the package: to be precise, the install step goes through, but afterwards the package cannot be imported.
for the details, see https://github.com/JulianGoeltz/MWE_yalafi_20221101/actions/runs/3397400639/jobs/5649522110#step:4:12
I've added the testpypi install and that is not working either
all that happens in that action is that a new container is set up with a specific python version, pip is updated, and then yalafi is installed in different ways, with a subsequent test whether the package can be imported.
Because python installs sometimes are 'brittle', I thought it best to test it with the github actions, to make sure it's not some residual configuration in my system.
In another project, I have a workflow that checks this automatically, would you like me to create a PR to add such a workflow here as well?
from yalafi.
Related Issues (20)
- Ignore minted environment
- Custom global macro packages HOT 2
- Support `autoref`
- Update glossaries
- Custom LanguageTool Server URL
- YaLafi compatibility with the premium API of LanguageTool HOT 4
- Status of the project HOT 23
- How to avoid own commands. HOT 2
- Add tests for successful installation HOT 1
- YaLafi to handle LaTeX syntax (recognize begin/end of environments) HOT 10
- Remove cyclic imports
- `\newenvironment` is not parsed by YaLafi
- Add `LTadd`, `LTskip` and `LTextract` environments.
- Add support for the `comment` package.
- Problems when including files with the extensions txt, pgf, and latex
- How to make the proofreading tool LanguageTool know new words? HOT 3
- Disable single command, because its arguments (labels) are not meant to be checked HOT 3
- Add LaTeX macro `\providecommand`
- Documentation overhaul
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yalafi.