by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 03 06:01
    virtuald commented #1
  • Aug 03 06:00
    virtuald commented #1
  • Aug 03 04:05

    virtuald on master

    Initial commit (compare)

  • Aug 03 03:06

    virtuald on rpybuild-docs

    Add robotpy-build to list of to… (compare)

  • Aug 02 19:13

    virtuald on raise-destructor

    ci: GHA basic format & pre-comm… CMake improvement: support wind… test_builtin_casters.py test_st… and 44 more (compare)

  • Aug 01 07:03
    TheTripleV synchronize #113
  • Jul 27 07:06

    virtuald on master

    Fix RTFD (compare)

  • Jul 27 07:01

    virtuald on master

    Add demo project Add initial sphinx documentation (compare)

  • Jul 27 06:54

    virtuald on docs

    Add demo project Add initial sphinx documentation (compare)

  • Jul 27 06:46

    virtuald on docs

    Add demo project Add initial sphinx documentation (compare)

  • Jul 27 05:35
    virtuald opened #79
  • Jul 25 16:01
    virtuald commented #1
  • Jul 25 15:58
    virtuald commented #1
  • Jul 23 06:39
    auscompgeek converted_to_draft #136
  • Jul 23 06:39
    auscompgeek synchronize #136
  • Jul 23 06:30
    auscompgeek synchronize #170
  • Jul 23 06:26
    auscompgeek synchronize #170
  • Jul 23 05:21
    auscompgeek commented #112
  • Jul 23 05:11
    auscompgeek commented #112
  • Jul 22 03:40
    TheTripleV synchronize #113
Dustin Spicuzza
@virtuald
wat?
David Vo
@auscompgeek
ikr
Vasista Vovveti
@TheTripleV
I'm more confused now
David Vo
@auscompgeek
hi more confused now I'm Davo
Vasista Vovveti
@TheTripleV
Nice to meet you, Davo!
Dustin Spicuzza
@virtuald
what are you confused about?
Vasista Vovveti
@TheTripleV
his message about the ctre version
Dustin Spicuzza
@virtuald
ah yes, I don't get it either
David Vo
@auscompgeek
nor do I honestly
David Vo
@auscompgeek
huh, RTD have support for building PRs https://blog.readthedocs.com/building-docs-for-pull-requests/
David Vo
@auscompgeek
oh thank god they're rewriting pip's dependency resolver https://pyfound.blogspot.com/2020/03/new-pip-resolver-to-roll-out-this-year.html
Dustin Spicuzza
@virtuald
gtfo
Dustin Spicuzza
@virtuald
you know. what if we just installed everything?
since we're not copying install media to the rio, we don't have to worry quite so much about space
David Vo
@auscompgeek
that won't work well with scipy
Dustin Spicuzza
@virtuald
I meant all robotpy packages
except maybe cscore
a common complaint coming out of this season is all the packages that need to be installed
which, is legit
but if we just installed all of them...
Dustin Spicuzza
@virtuald
@auscompgeek need an opinion for a better error message
TypeError: rpytest.ft._rpytest_ft.PBase.__init__() must be called by inheriting classes that contain an __init__
when a subclass forgets to call __init__
(I have a pybind11 fix that catches it!)
Dustin Spicuzza
@virtuald
Ben Bistline
@benjiboy50fonz

Hello, and a quick question about an installation failure. Downloading robotpy with

robotpy-installer download-robotpy

which produced an error with the following command, which I replicated and produced this error:

/home/coder/code/pybot/.venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-download-9otinufm/pynetworktables/setup.py'"'"'; __file__='"'"'/tmp/pip-download-9otinufm/pynetworktables/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-d26xra_s
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/coder/code/pybot/.venv/lib/python3.8/site-packages/setuptools/__init__.py", line 19, in <module>
    from setuptools.dist import Distribution
  File "/home/coder/code/pybot/.venv/lib/python3.8/site-packages/setuptools/dist.py", line 34, in <module>
    from setuptools import windows_support
  File "/home/coder/code/pybot/.venv/lib/python3.8/site-packages/setuptools/windows_support.py", line 2, in <module>
    import ctypes
  File "/usr/lib64/python3.8/ctypes/__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ImportError: libffi.so.7: cannot open shared object file: No such file or directory

I'm on a linux build, why is it referencing Window-related software? Or am I mistaken?

Ben Bistline
@benjiboy50fonz
I do believe I developed the solution to my above problem.
Ben Bistline
@benjiboy50fonz
Hello again, anyone know where I can find what login my deploy is trying to use when deploying to a robot?
Dustin Spicuzza
@virtuald
sorry, hadn't been checking this
and the error you referenced above is probably something weird about your virtualenv?
maybe you just updated linux but didn't refresh your virtualenv?
Ben Bistline
@benjiboy50fonz
Yeah, I got it working without it. And yes, I refreshed the env and it worked later. Thanks!
Vasista Vovveti
@TheTripleV
I just noticed the repo for the robotpy vscode extension. Is there a plan/interest to further development it?
Dustin Spicuzza
@virtuald
I don't care about it; but it seems like a useful idea
David Vo
@auscompgeek
I managed to get a Good Enough™ experience with a few VSCode config files, but the extension could probably do better
David Vo
@auscompgeek
Dustin Spicuzza
@virtuald
we could switch to that, sure
Dustin Spicuzza
@virtuald
I used pybind11-stubgen for the first time last night
it.. was ok
[work project, not for robotpy-build]
Vasista Vovveti
@TheTripleV
I think we might still need to maintain a fork of it. Last time I used it, it recursed from wpilib to _wpilib generating stubs twice
Dustin Spicuzza
@virtuald
yeah, it got a lot of things... weird
I would want to change the way it generates some of its code I think
from pybind11_stubgen import ModuleStubsGenerator
module = ModuleStubsGenerator(module_name)
module.parse()
module.write_setup_py = False

with open(init_pyi, "w") as fp:
    fp.write("#\n# AUTOMATICALLY GENERATED FILE, DO NOT EDIT!\n#\n\n")
    fp.write("\n".join(module.to_lines()))
but that's the basic outline of how I used it
Dustin Spicuzza
@virtuald
my focus this weekend is to finish my robotpy-build readthedocs site
I started working on it in April, but lost steam; however, I'm giving a talk about robotpy-build at work this week, so I would like to have some documentation to refer people to... haha
Dustin Spicuzza
@virtuald
ugh, sphinx-autodoc-typehints no longer supports the default version of sphinx on rtd
woot, docs site up